The Haskell School of Music



Download free course The Haskell School of Music, pdf file on 441 pages by Paul Hudak, Donya Quick.
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.

Table of contents

  • Computer Music, Euterpea, and Haskell
  • Simple Music
  • Polymorphic & Higher-Order Functions
  • A Musical Interlude
  • Syntactic Magic
  • More Music
  • Qualified Types and Type Classes
  • Interpretation and Performance
  • Self-Similar Music
  • Proof by Induction
  • An Algebra of Music
  • L-Systems and Generative Grammars
  • Random Numbers ... and Markov Chains
  • From Performance to Midi
  • Basic Input/Output
  • Higher-Order Types and Monads
  • Musical User Interface
  • Sound and Signals
  • Euterpea's Signal Functions
  • Spectrum Analysis
  • Additive and Subtractive Synthesis
  • Amplitude and Frequency Modulation
  • Physical Modelling
  • Sound Effects
  • The PreludeList Module
  • Haskell's Standard Type Classes
  • Built-in Types Are Not Special
  • Pattern-Matching Details
Pages441
Size4.1 MB
File typePDF
Downloads101
Created2022-02-03
LicenseCC BY
Author(s) Paul Hudak, Donya Quick
Cover of The Haskell School of Music

Download

  • Mobile Developer's Guide To The Galaxy

    This book is a community publication about all things mobile, aims to spread knowledge about mobile technologies and encourage people to enter mobile community or deepen their existing knowledge....

  • The DSC Book

    Download free course The DSC Book, pdf file on 12 pages by Don Jones, Steve Murawski....

  • Introduction to High-Performance Scientific Computing

    The field of parallel scientific computing lies at the crossroads of a number of disciplines and skill sets, and correspondingly, for someone to be successful at using parallel computing in science requires at least elementary knowledge of and skills in all these areas. ...

  • Notes on Diffy Qs: Differential Equations for Engineers

    An introductory course on differential equations aimed at engineers. The book covers first order ODEs, higher order linear ODEs, systems of ODEs, Fourier series and PDEs, eigenvalue problems, the Laplace transform, and power series methods. The book originated as class notes for Math 286 at the Univ...

  • A Field Guide to Genetic Programming

    This book to provides a complete and coherent review of the theory of Genetic Programming (GP)). This unique overview of this exciting technique is written by three of the most active scientists in GP. ...

  • Machine Learning for Cyber Physical Systems

    This Open Access proceedings presents new approaches to Machine Learning for Cyber Physical Systems, experiences and visions. It contains some selected papers from the international Conference ML4CPS – Machine Learning for Cyber Physical Systems, which was held in Karlsruhe, October 23-24, 2018. ...

  • Retro Gaming with Raspberry Pi

    This book shows you how to set up a Raspberry Pi to play classic games, and a whole lot mo..., download free Raspberry Pi tutorial in PDF (164 pages) created by Bob Clagett ....

  • Programming Persistent Memory

    Beginning and experienced programmers will use this comprehensive guide to persistent memo..., download free Memory tutorial in PDF (438 pages) created by Steve Scargall ....

  • Signal Computing: Digital Signals in the Software Domain

    This book teaches students how digital signals are captured, represented, processed, communicated, and stored in computers. building on the exceptionally readable coverage that made it the favorite of DSP professionals worldwide. ...

  • Adobe Photoshop CS6

    This pdf tutorial (Adobe Photoshop CS6 Tutorial) will teach you the basics of the most popular image editing software.Free training courses designated for student....