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.

  • Mobile. AudioKit for iOS and macOS, and Oboe for Android.

  • 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.

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:

Outside of the US:

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.

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.