Page 1 of 2
New version of the 'Audiere For Purebasic' pack
Posted: Tue Oct 28, 2003 10:07 pm
by WolfgangS
Hi !
Finally I finished the new version of the 'Audiere For Purbasic' pack.
It helps to play MP3, OGG, WAV and a few mod flavors for free and on the fly even in commercial projects.
MFG
WolfgangS
http://www.schliess.com/audiere
Posted: Tue Oct 28, 2003 11:14 pm
by dmoc
Hello WolfgangS. I don't have any need for audio (yet) but this looks a great addition to PB. Thanks!
Posted: Wed Oct 29, 2003 3:41 pm
by WolfgangS
dmoc wrote:Hello WolfgangS. I don't have any need for audio (yet) but this looks a great addition to PB. Thanks!
LOL
A new bugfixed version is available. It removes the #AUDIERE_FF_AUTODETECT not found bug.
MFG
WolfgangS
Re: New version of the 'Audiere For Purebasic' pack
Posted: Thu Oct 30, 2003 4:15 pm
by chris_b
Thanks WolfgangS - this is a good alternative to Fmod or Bass, and easy to understand and use thanks to your many example code. Exellent!
Posted: Wed Nov 05, 2003 4:40 am
by bcgreen
Hmmm....I get lots of crackling in the audio that I don't get using any other mp3 player....
Posted: Wed Nov 05, 2003 5:29 am
by WolfgangS
bcgreen wrote:Hmmm....I get lots of crackling in the audio that I don't get using any other mp3 player....
Which Device had you used ? Direct Sound or Windows Multimedia ?
I also get Crackling during Direct Sound in chosen

I always thought it's an interrupt problem on my local computer here ...
MFG
WolfgangS
Posted: Wed Nov 05, 2003 5:32 pm
by WolfgangS
bcgreen wrote:Hmmm....I get lots of crackling in the audio that I don't get using any other mp3 player....
The author of the library 'Chad Austin' confirmd a light crackling during DirectSound play, he is investigating this effect.
In the meantime you can use the winmm device
MFG
WolfgangS
Posted: Wed Nov 05, 2003 8:00 pm
by coma
your library is good, wolfgang, thanks.
but ogg player is really "on the fly" ?
When I play a 3mo ogg with it, the program take more than 40 mo in ram (the size of the equivalent uncompressed wav).
Posted: Wed Nov 05, 2003 8:03 pm
by Shannara
Hmm, on the fly would imply, "streaming" no? I wouldnt want to use 400 MB of ram, if ogg is not on-the-fly.
Posted: Wed Nov 05, 2003 8:10 pm
by coma
I have the same music in 3 formats : ogg, mp3, and wav.
when I play ogg or wav, it take more than 40 mo in memory.
when I play the mp3 file, it only take program size+mp3 size (~8mo).
Posted: Wed Nov 05, 2003 8:39 pm
by Shannara
Then none of them are on-the-fly. OTF means steaming, reading bits at a time from the hard drive in real time. So this library does not do on-the-fly playing.
Also, remember to pay the $,$$$ license fee if you going to use mp3s, hehe.. which is one of the reasons Im using OGG.
Posted: Wed Nov 05, 2003 9:09 pm
by WolfgangS
Shannara wrote:Hmm, on the fly would imply, "streaming" no? I wouldnt want to use 400 MB of ram, if ogg is not on-the-fly.
In my opinion *on the fly* means it play's instantly - and of course it takes quite a lot of memory. But such a library isn't the catalysator for a bad programming style. If you're need 400 MB of RAM only for sound, i'm very sure you are doing something wrong ..
MFG
WolfgangS
Posted: Wed Nov 05, 2003 9:19 pm
by coma
Also, remember to pay the $,$$$ license fee if you going to use mp3s, hehe.. which is one of the reasons Im using OGG.
it's the reason why I want to use ogg files. The only problem is the memory taken in ram (not 400 MB, only 40, but it's a lot for a 3:30 music)
Posted: Wed Nov 05, 2003 9:22 pm
by Shannara
Nope, not really. I would only need 400 mb of RAM if the library did not support streaming. It would be no more then 1 MB if the library supported streaming.
This includes all sorts of different ambient and random background sound fx clips, and other effects on different channels, done in real time. Not to mention the regular background music on two different channels.
So no, nothing wrong, just was wondering if this library provided such a basic function

But thanks for answering, I'll have to continue my search. I dont wanna touch FMOd unless I can help it. The author has some really messed up theories concerning his license.
Posted: Wed Nov 05, 2003 9:27 pm
by WolfgangS
coma wrote:I have the same music in 3 formats : ogg, mp3, and wav.
when I play ogg or wav, it take more than 40 mo in memory.
when I play the mp3 file, it only take program size+mp3 size (~8mo).
I made a few tests with mp3 and OGG files which sizes about 5 MB and i saw no significant difference before or after ...
Can somebody out there check this behavior as well ?
MFG
WolfgangS
ps. I wrote only the include file for Purebasic. That's all.