I learned some sndio and did some FFI in Scheme
This snippet plays a sine wave, and if you structure the code differently it allows you to livecode audio (directly on the audio thread, bytebeat-style). There is a crappy example at the bottom, for use with guile --listen + geiser-connect in another terminal window
I've got some more thoughts in the README, about livecoding audio synthesis approaches
