Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, this is really cool. I wonder how far the author plans to go with this? DSP gets pretty complex pretty quickly . . .


Her, 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 :)


Might 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)


that 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


Thanks, that's a good idea!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: