A tiny program to generate simple sounds you can add to soundless recordings.
Modify the sample
function in main.rs
and run the program with cargo
.
Make sure to pipe the output to a file or another program or you'll get a bunch of garbage in your terminal.
cargo run > beep.wav
You can also use aplay
to play it directly:
cargo run | aplay
Command-line parameters to configure the duration, sample rate, and perhaps even the function to generate the audio from could be really interesting.