Posted May 22, 2020
I am looking for libraries that would allow me to generate audio from scratch. I have recently discovered that WebAudio can do that, and there's tone.js as a JavaScript library that improves the interface, but the downside is that it requires the web platform, and I might want to do that sort of thing natively. (I could, of course, use electron to avoid the browser sandbox, but there's still the significant use of disk space and RAM, and many say that electron apps aren't friendly in terms of system resources.)
Anyway, here is what I am looking for:
* Preferably in a language that is API-compatible with C; failing that, I would accept Python or Rust (with Rust preferred over Python).
* Needs to allow generation of sounds from scratch. In particular, the ability to playback or manipulate existing audio files isn't what I am looking for. (In particular, the JavaScript library howler.js, while it appears to be a nice library, is not the type of library I am looking for.)
* Creating and playing a 440 Hz sine wave (which would register as an A on a tuner) should be as simple as a hello world program (essentially, it would serve as the hello world program for this library).
So, anyone have any ideas?
Anyway, here is what I am looking for:
* Preferably in a language that is API-compatible with C; failing that, I would accept Python or Rust (with Rust preferred over Python).
* Needs to allow generation of sounds from scratch. In particular, the ability to playback or manipulate existing audio files isn't what I am looking for. (In particular, the JavaScript library howler.js, while it appears to be a nice library, is not the type of library I am looking for.)
* Creating and playing a 440 Hz sine wave (which would register as an A on a tuner) should be as simple as a hello world program (essentially, it would serve as the hello world program for this library).
So, anyone have any ideas?