Skip to content

Lonami/makewav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makewav

A tiny program to generate simple sounds you can add to soundless recordings.

Usage

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

Future directions

Command-line parameters to configure the duration, sample rate, and perhaps even the function to generate the audio from could be really interesting.

Releases

No releases published

Packages

No packages published

Languages