twang
twang copied to clipboard
Library for pure Rust advanced audio synthesis.
See https://en.wikipedia.org/wiki/Colors_of_noise for descriptions, some might be easier implemented once a band-pass filter is added.
Currently the audio just repeats quieter a number of samples later. Re-write orginal freeverb C++ library code to work with twang.
I'm hitting this assert here: https://docs.rs/twang/latest/src/twang/synth.rs.html#54 Is this intended? I have a sample rate of 44100 coming from default cpal config, is it a requirement the sample rate is 48000,...
Currently the API requires the user to pass a closure for synthesis. I'd like to re-work this to be data-oriented (savable and loadable as a file), and synthesis constructable with...
https://docs.rs/twang/latest/twang/struct.Synth.html
This should at least be possible with the current fon API, but maybe not optimal.