You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.
@filmor thanks for the suggestion! I originally considered this also, but thought it might be safer/simpler to keep the design simple for now as each of the pitch_calc makes it easy to convert to hz anyway. i.e.
let c_1 = LetterOctave(Letter::C,1);
synth.note_on(c_1.hz(),1.0);
I'm open to the idea of adding a ToHz trait though and implementing it for each of the pitch_calc types, and then having the note_on and note_off methods take T: ToHz instead :)
It looks like the Tonic library has some great API design ideas for constructing controllers, generators and processors.
The text was updated successfully, but these errors were encountered: