Ruby sound generator (Using PortAudio)