Ask HN: How to get started with audio programming?
51–60 of 123 posts
Re: Ask HN: How to get started with audio programming?
#52Re: Ask HN: How to get started with audio programming?
#53https://online.stanford.edu/courses/sohs-ymusic0001-audio-si...
See also this book about computational music synthesis:
Re: Ask HN: How to get started with audio programming?
#54Sound on sound has a series on synthesizer concepts. https://www.soundonsound.com/series/synth-secrets
Dsp guide is a great resource. http://dspguide.com/
Music dsp also has some good information and implementations. https://www.musicdsp.org/en/latest/index.html
Re: Ask HN: How to get started with audio programming?
#55The Computer Music Tutorial by Curtis Roads is a good companion here if you want inner workings. You might be able to snag a PDF copy online to see if it's for you.
Audio Programming Book is entirely in C and can be a bit of a pain to get things working in C if you're new to programming (although highly worth the initial struggle if you're looking at it with a career in mind), although I'd still recommend stepping from Max/MSP into MATLAB/Python, which focuses on functionality rather than programming itself.
Python is also bit more beginner friendly, although C++ will probably end up being your long term bet.
I'd pick up the Pyo library for python, and/or a tutorial like this one, after dabbling with Max/MSP a bit: https://python.plainenglish.io/build-your-own-python-synthes...
Then if you want to get even deeper into the DSP, you could go with pretty much any of the other resources the others have mentioned here. My personal faves are the Steven Smith DSP book, Julius Smith's resources (with its runnable MATLAB scripts), and DAFX book by Udo Zolzer.
Re: Ask HN: How to get started with audio programming?
#56You can try to build an visual audio editor and learn everything else from there, step by step.
Re: Ask HN: How to get started with audio programming?
#57Re: Ask HN: How to get started with audio programming?
#58I'm using the Unity game engine, and am leaning heavily on already-implemented FFT algorithms available on the Unity AudioSource component, but the fun part is taking the spectrum data, dividing it up into bands, and doing visuals with those.
Here is a short video showing a simple audio visualization demo I created: https://www.youtube.com/watch?v=kYt0dcUY3i8
It led me down a bit of a rabbit hole with watching videos about Fast Fourier Transforms, and learning more about audio specific programming.
Re: Ask HN: How to get started with audio programming?
#59Browsers have a very accessible API for audio programming now[0]. Comes with the benefits of being platform independent, using JS(okay, this as a benefit is arguable to some), and easily distributable(perhaps too easy since you can't hide your source code either, unless you do some form of SaaS and introduce latency). [0] - https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...
Re: Ask HN: How to get started with audio programming?
#60Web Audio API and JUCE are the modern building blocks for mostly everything out there; if you're familiar with these, that's a really good place to start.
If you're looking for something accessible, SOUL is an excellent domain-specific scripting language that leverages JUCE underneath; see https://github.com/julianstorer for more context.
I'm not as sold on Max/MSP or Pd, though they're fun to play with for a brief moment.