Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Rubygame Music and Audio Formats

Reply
Thread Tools

Rubygame Music and Audio Formats

 
 
thefed
Guest
Posts: n/a
 
      01-05-2008
For some reason, Rubygame is printing to the console "warning:
incorrect audio format" whenever I try to make a
Rubygame::Mixer::Music object. I feed it the absolute path to a
verified mp3 file, yet it puts that out!

What would cause it to print out that warning?

Thanks,
Ari

 
Reply With Quote
 
 
 
 
Shawn Anderson
Guest
Posts: n/a
 
      01-08-2008
[Note: parts of this message were removed to make it a legal post.]

I believe the rubygame sdl werapper only supports wav files at the moment.
Try a wav file and see if it works.

/Shawn

On Jan 5, 2008 1:53 PM, thefed <> wrote:

> For some reason, Rubygame is printing to the console "warning:
> incorrect audio format" whenever I try to make a
> Rubygame::Mixer::Music object. I feed it the absolute path to a
> verified mp3 file, yet it puts that out!
>
> What would cause it to print out that warning?
>
> Thanks,
> Ari
>
>


 
Reply With Quote
 
 
 
 
thefed
Guest
Posts: n/a
 
      01-09-2008

On Jan 8, 2008, at 3:47 PM, Shawn Anderson wrote:

> I believe the rubygame sdl werapper only supports wav files at the
> moment.
> Try a wav file and see if it works.
>


I tried a wav file and it throws a legitimate error:
test.rb:9:in `load_audio': Error loading audio music from file `/
Users/---/Desktop/11k16bitpcm.wav': Unable to load WAV file
(Rubygame::SDLError)
from test.rb:9

 
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
Is MKV formats better than other video formats? helena68 Software 3 11-26-2008 07:57 AM
Installing rubygame and freinds... John Joyce Ruby 2 10-14-2008 06:05 AM
RubyGame Audio on Mac OS 10.4.11 fedzor Ruby 5 01-19-2008 03:36 AM
Detailed Analysis of the file formats for M$ Office 2007 -"Microsoft Office XML Formats? Defective by design" Jonathan Walker NZ Computing 1 08-26-2007 03:43 AM
CyberLink Supports UDF 2.5/2.6 Formats For Blu-ray and HD DVD next generation of disc formats. Allan DVD Video 0 07-15-2005 07:43 PM



Advertisments