They did not teach me about computer audio at school, and now I have computer audio problems. On Linux, world started easy PCM data, and CPU fast enuogh to generate them. But now I'm playing with Python on Android and looking at Tic-80 and history, and having performance problems. I probably could fix them by doing everything in Kotlin, but I'd really prefer to keep doing Python.
There seems to be big and complex world of Procedural Sound Generators, MIDI, FM sythesis, Tracker modules and well, PCM audio. Maybe I don't need 44.1kHz, 16-bit PCM for doing beeps, but should I rather go 16kHz, 16-bit or 44kHz, 8-bit for simple beeps / basic melodies? Noone told me.
So... who has good introduction to computer audio? Series of lectures on youtube would be best, but book / pages should do. Is there good way to store music/sound inline in code? So far I'm looking at abc music notation.