Added sine wave generation. Used an example from alsa sound.