Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > play audio file

Reply
Thread Tools

play audio file

 
 
Li Chen
Guest
Posts: n/a
 
      09-02-2008
Hi all,

Does anyone have idea which gem/plug in is used to play audio file under
Vista?


Thanks,

Li
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Michael Morin
Guest
Posts: n/a
 
      09-02-2008
Li Chen wrote:
> Hi all,
>
> Does anyone have idea which gem/plug in is used to play audio file under
> Vista?
>
>
> Thanks,
>
> Li


There's a gem called win32-sound that's suitable for playing wav files.
I assume this uses the win32 API function for playing wav files, so it
should work on vista. If you require anything more complex, you could
try the Ruby SDL bindings but win32-sound looks fine for playing simple
wav files.

--
Michael Morin
Guide to Ruby
http://ruby.about.com/
Become an About.com Guide: beaguide.about.com
About.com is part of the New York Times Company

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To play or not to play bhuckle@bigpond.net.au DVD Video 1 08-01-2007 07:18 AM
PLAY MORE VIDEO GAMES WITH GOTTA PLAY abhi Digital Photography 1 05-21-2007 11:40 AM
how mix multi-audio file to a audio file? aeonsun Java 2 03-11-2007 06:07 AM
Click to Play Black Jack Online. Top Search Results For Play splin32red VOIP 0 09-16-2006 07:01 PM
use audio device to play recieved partial audio data sick dick Javascript 0 04-03-2006 04:47 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57