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
* Chris Pine (Mar 13, 2005 22:10):
So ogg_play would just play the song, and return when the song is
done.
Search for “ruby-vorbisfile” and “ruby-audiofile” on RAA [1],
nikolai
[1] http://raa.ruby-lang.org/
···
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
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.'
You could probably try ruby-xmms: http://pablotron.org/software/xmms-ruby/
···
On Mon, 14 Mar 2005 06:05:51 +0900, Chris Pine <cpine@hellotree.com> wrote:
So ogg_play would just play the song, and return when the song is done.
Anyone done anything like this?
Chris
--
Premshree Pillai
Nikolai Weibull wrote:
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
Premshree Pillai wrote:
You could probably try ruby-xmms: http://pablotron.org/software/xmms-ruby/
Yeah, but again, I'm looking for something on Windows.

Chris