Thank you for SMS ver 2.0 with mpeg/mpeg2 support and boosted network speed .
I've Found some code that maybe useful to SMS
1.) FF/RW support to do a MP3 player
2.)A workable ps2 OGG audio player(code) promising superior quality better than mp3(non optimised).Tested some ogg files and mp3 files.....ogg really sound better for depth bass and rich audio.Now you have a player you could test with.
Encoder to convert ogg : http://winlame.sourceforge.net/
Info on ogg Audio:http://www.vorbis.com/
Hope theres a work around for quick port for an ogg in SMS
+ FF/RW support for the mp3 player
Sorry could't be much be a help in sms coding ..Did tried to poke around SMS..
but ...Would want to help also.....I browse thru loads of webpages ,coding on PS2 to find pieces of code useful for SMS.
Hope this Help
Here I attach the file .
[CODE]Hermes audiolib 2.0. It is divided in 3 libs:
- ffmpegavi.a: Reduced version of FFMPEG lib with only support for MP2/MP3. It include some changes from BroadQ
-audiolibmp3.a: This lib is thinking in games. Is one form easy to play MP3, with fast transition from a track MP3 to Other, with ID3 and FF/RW support to do a MP3 player if you want.Really, it is thinking in games or demos
-audiolib.a: This lib is one form easy to work with VAG voices in PS2. It use a advanced system mean interrupts to program one voice and it is ideal for demos or games.
audiolib have support for PCM audio too. It have a system with fast interpolation lineal and it use a intelligent audio stack
The new thing from audiolib 1.0, is CDDA support and asynchronous reading from devices (used from audiolibmp3, for example).
All things is complimented with source code examples. If you want, you can download the binary of one complete CD Audio reproducer (it work from host) here: http://www.ps2reality.net/~hermes/audiolib/cdda.rar
I have one example running Cd Audio tracks and resampling it to MP2 (to host) in real time
This is all the necessary to play one MP3 from my lib:
SoundInit(); // inicializa audiolib
InitMP3(1); // inicializa la lib MP3 con codec de alta calidad
// your code here
OGG VORBIS PLAYER: Beta 01
I've updated my little Ogg Vorbis demo to incorporate a very simple file browser and reading from USB. However, it is far from a complete player.
See the README.txt for instructions/info/changelog.
As always, Comments/Feedback are welcome