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)