synthrs
synthrs copied to clipboard
Toy audio synthesizer library in Rust with basic MIDI support.
This seems like it will be nice to have.
Right now `make_midi_samples` takes in one instrument, and the next step is for it to take in a HashMap of instruments along with a default. Might be easier if we...
This makes it uglier for the user, but way easier for library development. Right now it's hard to parse closures that return waveform generator closures because `impl Fn(f64) -> f64`...
Right now it's linear, and there is no sustain or release.
Using sine waves especially cause excessive clicking and popping See: https://dsp.stackexchange.com/questions/971/how-to-create-a-sine-wave-generator-that-can-smoothly-transition-between-frequen * Phase accumulator * Postprocess, detect changes above threshold and perform a linear transition Tried: * Scaling down amplitudes...