[ANN] ruby-mp3info 0.1

hi folks

i’m proud to announce first release of ruby-mp3info.

ruby-mp3info gives you access to low level informations on mp3 files (bitrate, length, samplerate, etc…). It is written in pure ruby. This library doesn’t fetch ID3 tags. For that, check raa for mp3tag

require "mp3info"

mp3info = Mp3Info.new(“myfile.mp3”)
puts “MPEG #{info.mpeg_version} Layer #{info.layer} #{info.vbr ? “VBR” : “CBR”} #{info.bitrate} Kbps #{info.channel_mode} #{info.samplerate} Hz length #{info.length} sec. error protection #{info.error_protection}”

check it out at http://davedd.free.fr/ruby-mp3info/

bye!

···

NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar…
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)

Cool, what you’ve done will also be useful for what I have in mind, saves
me some work :slight_smile:

Currently, I am writing a id3 parser (rd3 on sourceforge) for a program I
have in mind but have fallen behind at the moment because of work.

Many thanks

Rob

···

On Thu, 20 Mar 2003 21:53:56 +0900, moumar@netcourrier.com wrote:

hi folks

i’m proud to announce first release of ruby-mp3info.

ruby-mp3info gives

puts “MPEG #{info.mpeg_version} Layer #{info.layer} #{info.vbr ? “VBR” :
“CBR”} #{info.bitrate} Kbps #{info.channel_mode} #{info.samplerate} Hz
length #{info.length} sec. error protection #{info.error_protection}”

Great! May I suggest you put your example output code (or something
similar) in a method “to_s”?

Regards

robert