jstrait / wavefile

A Ruby gem for reading and writing sound files in Wave format (*.wav)
https://wavefilegem.com
MIT License
209 stars 24 forks source link

How i can play file #38

Closed arbims closed 2 years ago

arbims commented 2 years ago

I Want play file

jstrait commented 2 years ago

Hi @arbims, sorry for taking awhile to respond. This gem doesn't have the ability to play .wav files. It will let you read and write the raw data in a .wav file, but to play a file you'll need to use something else. If you are wanting to play files using Ruby, I am not sure of the best way to do that. It seems like the Gosu gem might let you play *.wav files using Ruby, but I haven't used it before. Hope this helps!