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)


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

Ruby-MP3info →


Class → Mp3Info
Method Name → frame_length

Let me update the status