Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Examples

Both of them are under construction, will be changed later.

instrument1

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.

instrument_overtone

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.