O HAI! Monorail cat says:
icanhasaudio version 0.0.2 has been released!
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!
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)
}
}
reader = Audio::OGG::Decoder.new
reader.decode(File.open(ARGV[0], ‘rb’), File.open(ARGV[1], ‘wb’))
Changes:
0.0.2
- 1 major enhancement
- I can has ogg decoder!
KTHX BAI!!!