The Haskell School of Music

From Signals to Symphonies

by Paul Hudak, Donya Quick

DescriptionDetailsHashtagsReport an issue

Book Description

This free book explores the fundamentals of computer music and functional programming through the Haskell programming language. Functional programming is typically considered difficult to learn. This introduction in the context of creating music will allow students and professionals with a musical inclination to leverage their experience to help understand concepts that might be intimidating in more traditional computer science settings.

Conversely, the book opens the door for programmers to interact with music by using a medium that is familiar to them. Readers will learn how to use the Euterpea library for Haskell to represent and create their own music with code, without the need for other music software.

The book explores common paradigms used in algorithmic music composition, such as stochastic generation, musical grammars, self-similarity, and real-time interactive systems. Other topics covered include the basics of signal-based systems in Haskell, sound synthesis, and virtual instrument design.

This is a textbook on functional programming in Haskell, with a strong focus on computer music concepts and applications. The book describes Euterpea, a computer music library developed in Haskell, that allows programming computer music applications both at the note level and the signal level.

The book also teaches functional programming in Haskell from scratch. It is suitable for use in the classroom to teach functional programming concepts, Haskell language details, computer music and audio processing concepts and applications - or all of the above.

This open book is licensed under a Creative Commons License (CC BY). You can download The Haskell School of Music ebook for free in PDF format (4.1 MB).

Book Details

Computer Science
Cambridge University Press
ISBN13 Digital
ISBN10 Digital
PDF Size
4.1 MB

Related Books

The Academic Book of the Future
Part of the AHRC/British Library Academic Book of the Future Project, this book interrogates current and emerging contexts of academic books from the perspectives of thirteen expert voices from the connected communities of publishing, academia, libraries, and bookselling....
The Everyday Life of an Algorithm
This book begins with an algorithm - a set of IF...THEN rules used in the development of a new, ethical, video surveillance architecture for transport hubs. Readers are invited to follow the algorithm over three years, charting its everyday life. Questions of ethics, transparency, accountability and market value must be grasped by the algorithm in ...
The Piracy Crusade
In the decade and a half since Napster first emerged, forever changing the face of digital culture, the claim that "internet pirates killed the music industry" has become so ubiquitous that it is treated as common knowledge. Piracy is a scourge on legitimate businesses and hard-working artists, we are told, a "cybercrime" simila...
Building the Foundation: Whole Numbers in the Primary Grades
This twenty-third ICMI Study addresses for the first time mathematics teaching and learning in the primary school (and pre-school) setting, while also taking international perspectives, socio-cultural diversity and institutional constraints into account. One of the main challenges of designing the first ICMI primary school study of this kind is the...
The Condition of Digitality
David Harvey's The Condition of Postmodernity rationalised capitalism's transformation during an extraordinary year: 1989. It gave theoretical expression to a material and cultural reality that was just then getting properly started - globalisation and postmodernity - whilst highlighting the geo-spatial limits to accumulation imposed by our planet....
Connectionist Representations of Tonal Music
Previously, artificial neural networks have been used to capture only the informal properties of music. However, cognitive scientist Michael Dawson found that by training artificial neural networks to make basic judgments concerning tonal music, such as identifying the tonic of a scale or the quality of a musical chord, the networks revealed formal...