This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun May 11 15:45:15 -0700 2008 | [aaronp] |
| |
History.txt | Sun May 11 15:45:15 -0700 2008 | [aaronp] |
| |
LICENSE.txt | Fri Feb 15 18:10:32 -0800 2008 | [aaronp] |
| |
Manifest.txt | Fri Feb 15 18:12:54 -0800 2008 | [aaronp] |
| |
README.txt | Fri Feb 15 18:12:14 -0800 2008 | [aaronp] |
| |
Rakefile | Fri Feb 15 18:16:19 -0800 2008 | [aaronp] |
| |
examples/ | Sun May 11 15:45:15 -0700 2008 | [aaronp] |
| |
ext/ | Sun May 11 15:45:15 -0700 2008 | [aaronp] |
| |
lib/ | Sun May 11 15:45:15 -0700 2008 | [aaronp] |
| |
test/ | Fri Feb 15 18:12:14 -0800 2008 | [aaronp] |
README.txt
= Audio::MPEG http://seattlerb.rubyforge.org/ == DESCRIPTION. LULZ 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) } } Or even smaller: reader = Audio::OGG::Decoder.new reader.decode(File.open(ARGV[0], 'rb'), File.open(ARGV[1], 'wb')) Encoder!!!!!! LOL writer = Audio::MPEG::Encoder.new File.open(ARGV[0]), 'rb') { |wav_lol| File.open(ARGV[1]), 'wb+') { |mp3_lol| writer.encode(wav_lol, mp3_lol) } } == PROBLEMS Currently only decodes MP3/OGG data. Also encodes WAV/AIFF to mp3. Plus many other problems.... YMMV. LOL. Not laugh plz! == DEPENDENSEEZ Make sure lame is installed on ur 'puter. Also ogg and vorbisfile! # port install libvorbis vorbis-tools lame == CREDITZ Thanx Ryan for mah name! Also, most of this code was taken from the lame front end. So thank you to the lame team! THX VORBIS! == LICENSE GPL. See LICENSE.txt KTHX BAI!




