17. Computer Music Horizons#
Congratulations on making it to the end of your journey with Principles of Computer Music!
In the first half of this book, we went in depth into the core foundations of computer music: how sound is represented on a computer, its fundamental physical and mathematical properties, and how to efficiently synthesize and manipulate it in time and frequency. In the second half, we explored many different topics in less detail, building on this common foundation, from physical modeling to effects, compression, and music AI.
For readers interested in continuing their study of computer music, where should you go from here? There are many possible directions! In this last chapter, we close with pointers to different engineering, creative, and research horizons in computer music.
Application development#
If you’re interested in developing real-time audio applications, such as plugins for DAWs, web apps, game audio, or hardware instruments, here are some places to start. A good first read is Ross Bencina’s classic post Real-time audio programming 101: time waits for nothing, which explains why audio code that runs one block at a time must never stall.
Plugins. Most DAWs host plugins in Steinberg’s VST format or Apple’s Audio Unit (AU) format. The C++ framework JUCE builds plugins in both formats, and standalone apps, from a single codebase.
Web audio. The Web Audio API brings real-time audio to the browser, and its AudioWorklet interface lets you write your own processing, sample by sample. Tone.js is a higher-level library for making music in the browser, and the Web MIDI API connects the browser to MIDI controllers.
Game audio. Games typically use audio middleware such as Wwise and FMOD. Unreal Engine has its own procedural audio system, MetaSounds.
Embedded hardware. Bela, Daisy, and the Teensy Audio Library run audio code on small boards, for building your own instruments and effects pedals.
Python. To keep working in Python, try librosa for audio analysis, pedalboard for audio effects, torchaudio for audio with PyTorch, and pretty_midi and music21 for symbolic music.
Community. The Audio Developer Conference (ADC) is an annual conference for audio software developers.
Creative practice#
If you’re interested in creating computer music, there are many environments to explore beyond Python. Many of them are built on the same ideas that we studied in this book, such as unit generators (Chapter 4) and block-based processing.
Patching. In these visual environments, you connect boxes (unit generators) with patch cords: Max/MSP, its open-source cousin Pure Data (Pd), and VCV Rack, a simulator of modular synthesizers.
Live coding. Live coders perform music by writing code in front of an audience, in languages such as SuperCollider, TidalCycles, Strudel (a JavaScript port of TidalCycles that runs in the browser), Sonic Pi, and ChucK. TOPLAP and Algorave are communities of live coders.
Other languages. Csound, a descendant of Max Mathews’s original MUSIC-N languages, Roger Dannenberg’s Nyquist, which inspired
pyquist, Faust, a functional language for signal processing that compiles to plugins, web apps, and embedded hardware, and p5.sound, for creative coding in the browser.DAWs. Ableton Live, Logic Pro, REAPER, Pro Tools, Bitwig Studio, and the open-source Ardour.
Music notation. MuseScore and LilyPond, which typeset some of the scores in this book.
Research conferences and societies#
If you’re interested in getting involved in computer music research, conferences and journals are where new research appears. A great way to figure out which community you’re drawn to is to scan through the proceedings (or award-winning papers, if applicable) of the latest edition of each conference.
Music AI. The International Society for Music Information Retrieval (ISMIR) conference and its journal TISMIR, the machine learning conferences ICLR, ICML, and NeurIPS, and the AI Music Creativity conference (AIMC). For a reading list of recent research, see the end of Chapter 16.
Signal processing. ICASSP, WASPAA, EUSIPCO, the International Conference on Digital Audio Effects (DAFx), and the journal IEEE Transactions on Audio, Speech, and Language Processing.
Computer music. The International Computer Music Conference (ICMC), the Sound and Music Computing Conference (SMC), and the journals Computer Music Journal (CMJ), and Journal of New Music Research (JNMR).
Interfaces. New Interfaces for Musical Expression (NIME), and the human-computer interaction conferences IUI, UIST, and CHI.
Acoustics and audio engineering. The Acoustical Society of America (ASA) and the Audio Engineering Society (AES), and their journals.
Music perception and cognition. The Society for Music Perception and Cognition (SMPC/ICMPC), and the journal Music Perception.
Academic hubs#
If you’re interested in academic study or research in computer music, here are some universities and institutes with active groups. In the US, several universities have dedicated programs or centers for music technology:
Other US universities have individual faculty members who lead research groups in computer music and music AI:
Northwestern Computer Science (Bryan Pardo)
Cornell Computer Science (John Thickstun)
Michigan Performing Arts Technology (Hao-Wen Dong)
Dartmouth Computer Science (Nikhil Singh)
Rochester Electrical and Computer Engineering (Zhiyao Duan)
University of Washington Information School (Jin Ha Lee) and Computer Science (Noah A. Smith)
NJIT Informatics (Mark Cartwright)
Outside of the US:
JKU Linz, Institute of Computational Perception
McGill, Music Technology Area and CIRMMT
FAU Erlangen, International Audio Laboratories Erlangen
UPF Barcelona, Music Technology Group
IRCAM, Paris
AIST, Japan (Masataka Goto)
Seoul National University, Music and Audio Research Group
Sogang University, MALer Lab
TU Delft, Multimedia Computing Group
SUTD, AMAAI Lab
National Taiwan University, Music and AI Lab
MBZUAI, Music X Lab
Queen Mary University of London, Centre for Digital Music (C4DM)
Aalto University, Aalto Acoustics Lab
Goldsmiths, University of London, Electronic Music Studios
University of Oslo, RITMO
Ghent University, IPEM
This is likely an incomplete list, and will naturally become dated over time. For many more, see ISMIR’s list of research centers.
Textbooks and courses#
If you’re interested in going deeper into the topics of this book, here are some textbooks to read next, several of which are freely available online.
Computer music. Roger Dannenberg’s Introduction to Computer Music [Dan24], Curtis Roads’s The Computer Music Tutorial [Roa23], Miller Puckette’s The Theory and Technique of Electronic Music [Puc07], Charles Dodge and Thomas Jerse’s Computer Music [DJ97], and F. Richard Moore’s Elements of Computer Music [Moo90].
Signal processing. Brian McFee’s Digital Signals Theory [McF23], and Julius O. Smith III’s four books: Mathematics of the Discrete Fourier Transform [Smi07a], Introduction to Digital Filters [Smi07b], Physical Audio Signal Processing [SI10], and Spectral Audio Signal Processing [SI11].
Audio programming and effects. Richard Boulanger and Victor Lazzarini’s The Audio Programming Book [BL10], Will Pirkle’s Designing Audio Effect Plugins in C++ [Pir19], Udo Zölzer’s DAFX: Digital Audio Effects [Zol11], and Andy Farnell’s Designing Sound [Far10], which designs sound effects from scratch in Pure Data.
Algorithmic composition. Mary Simoni and Roger Dannenberg’s Algorithmic Composition: A Guide to Composing Music with Nyquist [SD13].
Music information retrieval. Meinard Müller’s Fundamentals of Music Processing [Mul21] and Alexander Lerch’s An Introduction to Audio Content Analysis [Ler23].
Acoustics and mathematics. Thomas Rossing, F. Richard Moore, and Paul Wheeler’s The Science of Sound [RMW02], Neville Fletcher and Thomas Rossing’s The Physics of Musical Instruments [FR98], and Gareth Loy’s Musimathics [Loy06, Loy07].
Perception and cognition. Albert Bregman’s Auditory Scene Analysis [Bre90].
History. Thom Holmes’s Electronic and Experimental Music [Hol20].
Online courses. Audio Signal Processing for Music Applications by Xavier Serra and Julius O. Smith III on Coursera, and, on Kadenze, Introduction to Real-Time Audio Programming in ChucK and Programming Max: Structuring Interactive Software for Digital Arts.
CMU courses#
For readers who are CMU students, here are some courses that pick up where this book leaves off. The links point to the CMU course catalog or to the course websites.
Electronic music. 57-421 Exploded Ensemble, 57-344 Experimental Sound Synthesis, 57-345 Twisted Signals: Multimedia Processing for the Arts, and 57-347 Electronic and Computer Music.
Recording and production. 57-337 Sound Recording, 57-338 Sound Editing and Mastering, 57-438 Multitrack Recording, and 57-562 Intro to Music Production with DAWs.
Acoustics. 33-114 Physics of Musical Sound.
Signal processing. 18-491/691 Digital Signal Processing and 11-755 Machine Learning for Signal Processing.
Interfaces. 99-355 IDeATe: Introduction to Arduino and 24-104 TechSpark: Modern Making.
Music AI. 15-798 Generative AI for Music and Audio and 11-485/685/785 Introduction to Deep Learning.
Real-time systems. 15-323 Computer Music Systems and Information Processing is no longer offered, but its materials are archived online.