Both of them are under construction, will be changed later.
Build with PortAudio backend:
cargo run --example instrument1 --features "be-portaudio"
Build with SDL2 backend:
cargo run --example instrument1 --features "be-sdl2"
The keys from Q to O changes the frequency to be higher, the keys from A to L changes the frequency to be lower. Other keys play the previous frequency. To quit press Esc.
Build with PortAudio backend:
cargo run --example instrument_overtone --features "be-portaudio"
Build with SDL2 backend:
cargo run --example instrument_overtone --features "be-sdl2"
The keys from Q to P produces half wave resonances, the keys from A to L makes full wave resonances. To quit press Esc.