Closed borodadada closed 10 years ago
It's been awhile since you opened this issue, so maybe you already found a solution. The WaveFile gem doesn't allow playing back audio, it only allows writing audio data to a Wave file. To play back the wave file, use a separate media player such as Audacity or iTunes.
I haven't used it before, but PortAudio might provide a way to play back audio through Ruby. Search Google for ruby-portaudio
or ffi-portaudio
.
How play buffer in real-time, without writing it to a file? Ruby 2.0.0 Windows 7 x64