synth
synth copied to clipboard
A polyphonic Synth type whose multiple oscillators generate sound via amplitude and frequency envelopes, implemented in Rust. DEPRECATED: This is a very old crate with very old design patterns and is...
``` error[E0282]: type annotations needed --> /home/cody/.cargo/registry/src/github.com-1ecc6299db9ec823/sample-0.6.2/src/window.rs:57:41 | 57 | let v = phase.to_float_sample().to_sample() * PI_2; | ^^^^^^^^^ cannot infer type for type parameter `S` declared on the associated function...
Cannot build the synth test program. OS is Ubuntu-derived 16.04LTS. The libjack-dev package is installed. Steps to build: `$ git clone https://github.com/RustAudio/synth` `$ cargo build --example test` Output from last...
Upgrading envelope version should solve this as https://github.com/RustAudio/envelope/pull/19 was merged and 0.8.1 was released. When compiling with upgraded envelope I receive this error: ``` src/envelope.rs:28:10: 28:26 error: wrong number of...
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...
It should just use a single oscillator and voice, and be as simple as possible
It looks like the [Tonic](https://github.com/TonicAudio/Tonic) library has some great API design ideas for constructing controllers, generators and processors.
## Going Static A lot of Synth`s dynamic-ness could be moved into generic parameters. Here's what a faster, generic Synth might look like. ``` Rust Synth where M: Mode, //...
I just tried the example `test.rs`, but it seems that immediately after printing `note_on` it exits. Some debug logging reveals that `audio_requested` is called exactly two times and after that...
http://en.wikipedia.org/wiki/Synthesizer#ADSR_envelope Might be best to create an adsr_envelope abstraction in a separate crate.