icanhasaudio version 0.1.2 has been released!
- http://icanhasaudio.com/
- http://github.com/tenderlove/icanhasaudio/tree/master
- http://seattlerb.rubyforge.org/
Hai! icanhasaudio? is an interface to lame for decoding ur MP3s. I iz
in ur
computer. Decodin ur mp3s. Whatevs! I also decodin ur OGGz! I kin
also
encodin’ ur WAV and AIFF to mp3z!
SYNOPSYS ROFLOL
require ‘icanhasaudio’
reader = Audio::MPEG::Decoder.new
File.open(ARGV[0], ‘rb’) { |input_lol|
File.open(ARGV[1], ‘wb’) { |output_lol|
reader.decode(input_lol, output_lol)
}
}
Changes:
0.1.2
-
Bugfix
- Determining bitrate by filesize if not determined yet.
- Moving lots of C code to Ruby!
Seattle.rb rocks!