AlsaGenTone is a simple sine wave sound generator from Alsa Audio Api. Simple code example to show how using the alsa audio api.
Inspired by AlsaTone project. AlsaTone
Just write in a console :
sudo apt-get install libasound2-dev
git clone https://github.com/sourcegod/alsagentone.git
make
Examples
./alsagentone [frequency, default 440Hz] [duration, default 1 seconds]