In this book you’ll learn some elements of music from a programmer’s perspective. You’ll see:

  • primitives of music such as notes and duration
  • means of combining primitives into motives and chords
  • music operations such as transposition, retrograde, and inversion
  • means of abstraction phrases and form

Are you interested in learning more about music but have found most material condescending or to present things magically instead of logically? The good news is that much of music can be understood with programming and math, two things you’re already good at!

Get It For Free!

I used to sell the book, but I’ve decided to make it available for free. Check also the resources page.

Download book for free

  • EXAMPLES IN PYTHON Every concept is explained in English with a corresponding implementation in Python, using the Pyknon music library.

  • MADE FOR SMART PEOPLE Don’t you hate those books that go on and on just to fill up space? This book is short and to the point; you get the information you want with no frills.

  • FULLY ILLUSTRATED 100 code samples, 40 images, 18 exercises because showing is better than telling.

  • NO MUSIC KNOWLEDGE NECESSARY You don’t need to have a musical background to learn from this book.