Audio Files length

I’m modifying a Radio Automation program that I built with tkSnack for
Ruby (which does not work on my computer), to work with Rubygame…

One main problem is that I can not find a method to determine how long
an audio file is in Rubygame… a necessary component in my program.

Is there a method in Rubygame, or is there a gem that can do this?
(working with multiple audio file types specifically wav and mp3)

Hi,

To get the frame length of the MP3 file Please use the below ruby gem

Ruby-MP3info --> http://ruby-mp3info.rubyforge.org/

NOTE:

Class --> Mp3Info
Method Name --> frame_length

Let me update the status

Thanks
Raveendran
http://raveendran.wordpress.ocm

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs