Free eBook “The Haskell School of Music: From Signals to Symphonies”, written by Paul Hudak, is a textbook on functional programming in Haskell, with a strong focus on computer music concepts and applications.
Book Description
This 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.
Table of Contents
- An Overview of Computer Music, Euterpea, and Haskell
- Simple Music
- Polymorphic and Higher-Order Functions
- A Musical Interlude
- Syntactic Magic
- More Music
- Qualified Types
- Interpretation and Performance
- Self-Similar Music
- Proof by Induction
- An Algebra of Music
- Musical L-Systems
- Qualified Types
- Random Numbers, Probability Distributions, and Markov Chains
- From Performance to MIDI
- Basic Input/Output
- Musical User Interface
- Sound and Signals
- Euterpea’s Signal Functions
- Spectrum Analysis
- Additive Synthesis