klangsynthese
klangsynthese copied to clipboard
Waveform and Audio Synthesis library in Go
I think the memory usage is stable and it's taking a long time to play, about 15 seconds. WAV plays instantly. I'm using Windows 10, mp3 file size 3,4MB (Sorry...
In writing filters, a lot of the work involves low level audio manipulation on the byte level, and it'd be nice if that went to a sub-package.
We need to be able to recognize when a field in a RIFF structure is supposed to be the length for a different field in the same RIFF structure.
I don't have a way to test on Darwin in the first place right now, so this will be on hold until that changes or someone who can test it...
Come up with expected table outputs for waves and manipulations on waves. Make sure to explore peak and minimum values for options.
We'll need to reverse the decoding process to encode arbitrary PCM data as MP3 or WAV. This isn't a feature I am personally concerned about but it should be on...
There should be either `klangsynthese.Load/SaveFile` or `audio.Load/SaveFile` that take in file names and switch to the appropriate sub-package depending on the extension of the file name.
`dls` files and `sf2` files are probably the first targets for loading in instruments, to then determine how we can fit those instruments into our wave function syntax.