play ogg file from Ruby (on windows)

C

Chris Pine

Hello,

Just wondering if anyone has managed to play ogg files from Ruby? I'm
not looking for much, just the ability to do something like this:

puts 'Playing a song...'
ogg_play 'song.ogg'
puts 'Done playing that song.'

So ogg_play would just play the song, and return when the song is done.

Anyone done anything like this?

Chris
 
C

Chris Pine

Nikolai said:
Search for “ruby-vorbisfile†and “ruby-audiofile†on RAA [1],

Sorry, but I meant to say "on Windows". (Well, I did say that in the
subject, but forgot to say it in the message. :)

Frow what I can tell, those will only work on machines with /dev/dsp, right?

Thanks, though,

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top