HACKER Q&A
📣 Flex247A

How to get started with audio programming?


I have played with OpenAL-soft [0] and libsndfile [1] to make a simple music player. It works fine but I want to learn the deeper concepts behind how computer audio works. I am a CS student and I know C/C++, Python, and high school mathematics. I came across 'The Audio Programming Book' [2] which seems suited for my level. Can you recommend me some more related resources?

[0] https://openal-soft.org/

[1] http://www.mega-nerd.com/libsndfile/

[2] https://mitpress.mit.edu/books/audio-programming-book


  👤 joemidgett Accepted Answer ✓

👤 Flex247A
There was a related thread on HN related to audio programming: https://news.ycombinator.com/item?id=26916254 but it was centered around DSP and audio plugins, which is a bit too high level for me. I want to learn more about things like how audio libraries like OpenAL and ALSA work.

👤 mxmilkiib
Come hang, chat and idle in #lad on libera.chat

👤 mu55
pure data is great for learning the very basics of audio programming. https://puredata.info/

👤 mikewarot
If you want hands on play with signal processing, GNU Radio works just fine at audio rates, and can use the mic/speakers on your PC.

👤 zgniatacz
vcv rack