New version of the 'Audiere For Purebasic' pack
New version of the 'Audiere For Purebasic' pack
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
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
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
LOLdmoc wrote:Hello WolfgangS. I don't have any need for audio (yet) but this looks a great addition to PB. Thanks!

A new bugfixed version is available. It removes the #AUDIERE_FF_AUTODETECT not found bug.
MFG
WolfgangS
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
Re: New version of the 'Audiere For Purebasic' pack
Thanks WolfgangS - this is a good alternative to Fmod or Bass, and easy to understand and use thanks to your many example code. Exellent!
Which Device had you used ? Direct Sound or Windows Multimedia ?bcgreen wrote:Hmmm....I get lots of crackling in the audio that I don't get using any other mp3 player....
I also get Crackling during Direct Sound in chosen

MFG
WolfgangS
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
The author of the library 'Chad Austin' confirmd a light crackling during DirectSound play, he is investigating this effect.bcgreen wrote:Hmmm....I get lots of crackling in the audio that I don't get using any other mp3 player....
In the meantime you can use the winmm device

MFG
WolfgangS
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
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 ..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.

MFG
WolfgangS
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
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.
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

I made a few tests with mp3 and OGG files which sizes about 5 MB and i saw no significant difference before or after ...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).
Can somebody out there check this behavior as well ?
MFG
WolfgangS
ps. I wrote only the include file for Purebasic. That's all.
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel