Process .wav file?

You can play it with the snack toolkit - which now has Ruby bindings

Snack can do a lot more, so it might be overkill for you,
but take a look.

Jesper

···

I would like to play a very short sound effect( .wav
file )
repeatedly.
############################################
aFile = File.new(“foo.wav”, “r”)

… process the file

aFile.close
###########################################
the above code is found in pickaxe pg 108
I can r/w regex loop, count words, or characters in a
txt file. Where would you suggest I look to play the
.wav (process) the file using Ruby?
Thanks
re-v