libmp3 now in cvs
libmp3 now in cvs
lib version of ps2mp3.
now in cvs.
top of readme:
What is it
~~~~
A wrapper around the libmad library that manages mp3 operations
What does it do
~~~~
You execute the PlayMP3 function with a filename and a callback.
The callback will be executed during the decoding of the mp3. Be sure
to return from this function quickly else the audio may stutter or freeze.
now in cvs.
top of readme:
What is it
~~~~
A wrapper around the libmad library that manages mp3 operations
What does it do
~~~~
You execute the PlayMP3 function with a filename and a callback.
The callback will be executed during the decoding of the mp3. Be sure
to return from this function quickly else the audio may stutter or freeze.
madplayer with id3v2
i'll clean it up some and put in cvs tomorrow... here is some teaser output:
loadelf: fname host:bin/madplay.elf secname all
Input ELF format filename = host:bin/madplay.elf
0 00100000 0004c194 .....
Loaded, host:bin/madplay.elf
start address 0x1000e0
gp address 00000000
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
loadmodule: fname rom0:LIBSD args 0 arg
loadmodule: id 33, ret 0
loadmodule: fname host:irx/sjpcm.irx args 0 arg
loadmodule: id 34, ret 0
open name host:contrib/4.mp3 flag 1 data 41378
output: sample frequency 44100 Hz not available; using 48000 Hz
output: resampling 44100 Hz to 48000 Hz
Title: Numb/Encore(Live)
Artist: Jay-Z And Linkin Park
Album: Collision Course(DVDA)
8018 frames decoded (5124095576013384:31:33.9), +1.1 dB peak amplitude, 6762 clipped samples
loadelf: fname host:bin/madplay.elf secname all
Input ELF format filename = host:bin/madplay.elf
0 00100000 0004c194 .....
Loaded, host:bin/madplay.elf
start address 0x1000e0
gp address 00000000
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
loadmodule: fname rom0:LIBSD args 0 arg
loadmodule: id 33, ret 0
loadmodule: fname host:irx/sjpcm.irx args 0 arg
loadmodule: id 34, ret 0
open name host:contrib/4.mp3 flag 1 data 41378
output: sample frequency 44100 Hz not available; using 48000 Hz
output: resampling 44100 Hz to 48000 Hz
Title: Numb/Encore(Live)
Artist: Jay-Z And Linkin Park
Album: Collision Course(DVDA)
8018 frames decoded (5124095576013384:31:33.9), +1.1 dB peak amplitude, 6762 clipped samples
I have checked into CVS the files I added/changed to compile the latest
versions of libid3tag, libmad and madplay. The original sources can be
obtained from the libmad website.
If you look at the changes to libmad and libid3tag you will see there is
barely anything to it! For the madplay application I created an sjpcm
audio output module, which I hope to get added to the core of madplay.
I also hacked in my first attempt at a timer using a vsync interrupt
handler (thanks gslib!).
I should probably state that the libmp3 library does not currently bind
against this new and improved player.
Requires zlib (from ps2-packer) and isjcmp. No more libsample nonsense.
And my mp3 of choice for testing stereo?...
versions of libid3tag, libmad and madplay. The original sources can be
obtained from the libmad website.
If you look at the changes to libmad and libid3tag you will see there is
barely anything to it! For the madplay application I created an sjpcm
audio output module, which I hope to get added to the core of madplay.
I also hacked in my first attempt at a timer using a vsync interrupt
handler (thanks gslib!).
I should probably state that the libmp3 library does not currently bind
against this new and improved player.
Requires zlib (from ps2-packer) and isjcmp. No more libsample nonsense.
And my mp3 of choice for testing stereo?...
Title: 360 Degrees (Oh Yeah?)
Composer: Alex Gifford
Artist: Propellerheads
Album: Decksandrumsandrockandroll [UK]
Track: 5/13
Year: 1998
Genre: Electronica/Dance
Encoder: iTunes v4.7.1