Implement nicer waveform for alsa sound synthesis