3 ms·
Wow, this is really cool. I wonder how far the author plans to go with this? DSP gets pretty complex pretty quickly . . .
by sramsay 6y ago
Wow, this is really cool. I wonder how far the author plans to go with this? DSP gets pretty complex pretty quickly . . .
- Insanity 6y agoHer, author here! :) Glad you liked it! I don't have concrete plans actually, just doing this for fun so we'll see how far I get :)
- nkozyra 6y agoMight have been an interesting point to stream this data (basic sine) to an audio output instead of file. That's more immediately hands on. (Sorry, this refers to the first entry in your audio/go series)
- Insanity 6y agoThanks, that's a good idea!
- slx26 6y agothat can easily get pretty tricky if you don't want to depend a lot on libraries, which the last time I checked weren't great for golang in this area. I have worked with ALSA (advanced linux sound architecture) a bit, implementing basic midi input from a keyboard + sound generators + plugins with go interfaces and pkg/plugin + stream to audio output... and it's a mess of devices, buffers and formats. and that's only for one OS. and if you start doing anything non-trivial, making the programs work well in real-time is not for the faint of heart. if there was a single format supported everywhere, minimum buffer sizes and a common API for all OSes, it would be a whole another, much more pleasant story