synth icon indicating copy to clipboard operation
synth copied to clipboard

Add a simple A440 synth example

Open ulfmagnetics opened this issue 8 years ago • 2 comments

Just taking a crack at solving https://github.com/RustAudio/synth/issues/18. I'm a Rust newbie, but this was pretty straightforward.

I couldn't figure out a way to specify an oscillator frequency without using the synth::dynamic module... if there's a simpler way I'd love to know about it!

ulfmagnetics avatar Apr 23 '16 05:04 ulfmagnetics

Thanks! 😸

I left a comment inline re- avoiding the synth::dynamic module, hopefully it makes sense and is useful!

BTW, I'll have a PR within the next few days that removes the dynamic module all together in favour of Synth::dynamic and Oscillator::dynamic methods and making better use of rust's impl blocks in general, along with some other slight improvements. I'm happy to merge this though (with those alterations I mentioned in the comment) and then make any necessary adjustments in my PR :+1:

mitchmindtree avatar Apr 23 '16 06:04 mitchmindtree

Thanks for the very clear explanation! Hopefully this'll get the job done now..

ulfmagnetics avatar Apr 23 '16 21:04 ulfmagnetics