Introduction to Digital Music with Python Programming : Learning Music with Code book cover
1st Edition

Introduction to Digital Music with Python Programming
Learning Music with Code

  • Available for pre-order. Item will ship after February 7, 2022
ISBN 9780367470821
February 7, 2022 Forthcoming by Focal Press
336 Pages 136 B/W Illustrations

SAVE ~ $8.59
was $42.95
USD $34.36

Prices & shipping based on shipping country


Book Description

Introduction to Digital Music with Python provides a foundation in music and code for the beginner and shows how coding empowers new forms of creative expression while simplifying and automating many of the tedious aspects of production and composition.

With the help of online, interactive examples on Digital Audio Workstation (DAW) platforms called TunePad and EarSketch, this book covers the fundamentals of rhythm, chord structure and melodic composition alongside the basics of digital production. Each new concept is anchored in a real-world musical example that will have you making beats in a matter of minutes.

Including core programming concepts such as loops, variables, lists and functions, Introduction to Digital Music with Python is designed for beginners of all backgrounds, requiring no previous experience with music or code, including undergraduates and aspiring professionals.

Table of Contents

List of Figures



Chapter 1: Why Music and Coding?

Interlude 1: Basic Pop Beat

Chapter 2: Rhythm and Tempo

Interlude 2: Custom Trap Beat

Chapter 3: Pitch, Harmony, and Dissonance

Interlude 3: Melodies and Lists

Chapter 4: Chords

Interlude 4: Playing Chords

Chapter 5: Scales, Keys, and Melody

Interlude 5: Lean on Me

Chapter 6: Diatonic Chords and Progressions

Interlude 6: Random Chord progressions

Chapter 7: Frequency, Fourier, and Filters

Interlude 7: Creative Effects

Chapter 8: Note-Based Production Effects

Interlude 8: Drum Fills

Chapter 9: Song Composition and EarSketch

Interlude 9: Snare Drum Riser

Chapter 10: Modular Synthesis

Interlude 10: Drum Machine

Chapter 11: History of Music and Computing

Appendix A: Python Reference

Appendix B: TunePad Reference

Appendix C: Music Reference



View More



Michael Horn is an Associate Professor of Computer Science and Learning Sciences at Northwestern University in Evanston, Illinois where he directs the Tangible Interaction Design and Learning (TIDAL) Lab. Michael is the lead creator of TunePad and the co-Founder of the Joint PhD Program in Computer Science and Learning Sciences. Michael's research explores the use of interactive technology in the design of innovative learning experiences. His work has been exhibited at museums around the world including the California Academy of Sciences (San Francisco), the Museum of Science (Boston), the Field Museum (Chicago), and the Computer History Museum (Silicon Valley). Michael's research on tangible programming has contributed to the commercial products Osmo Coding and Kibo Robotics. Michael earned his Ph.D. in Computer Science at Tufts University and an undergraduate degree in Computer Science from Brown University. He has worked as a software engineer for several companies including Classroom Connect and iRobot Corporation. In addition to over 90 scholarly publications that have been cited over 5,000 times, Horn is co-author of Practical Evaluation Guide: Tools for museums and other informal educational settings (Roman & Littlefield, 2016).

Melanie West is PhD student in Learning Sciences at Northwestern University and co-founder of Tiz Media Foundation, a nonprofit dedicated to empowering underrepresented youth through STEM programs. Melanie has many years of professional experience in STEM. As a recording engineer in New York City, she worked with recording artists like Nona Hendrix, Sade, Madonna and many others. She received a Platinum album for her engineering work with the Talking Heads. Melanie was the chief engineer of an experimental multimedia studio at Bell Laboratories. During that time Melanie took a leading role on many critical projects including the design of a production studio & signal-testing laboratory. She holds a bachelor’s degree in Music, Electrical Engineering and Communications from Rutgers University and a master’s degree in Interactive Telecommunications from Tisch School of the Arts at New York University.

Cameron Roberts is a software developer and musician living in Chicago. He holds degrees from Northwestern University in Music Performance and Computer Science. An avid proponent of contemporary and experimental music, Cameron is passionate about integrating improvisation and technology into pedagogy and performance. His research interests include increasing accessibility to arts education through technology, promoting musical and technical literacies, and creating novel interfaces for artistic expression.