Audio files: ogg, mp3, wav ...

Blitz3D Forums/Blitz3D Programming/Audio files: ogg, mp3, wav ...

Yue(Posted 2012) [#1]
I have a concern, I am trying to change the volume of certain sound files through the wrapper BlitzAL, but for some reason I can not change the volume of files. Ogg or wav, the command does not work

alSourceSetVolume (AudioSource, volume)

But if I work with a lead. Ogg is a musical background and is length duration, but for the sound of a button is very small and the sound of wind effect does not work, any suggestions.

Last edited 2012


Yue(Posted 2012) [#2]
I'm really glad I have solved the problem with the audio does not work where the volume of the channels, now I mention what has happened.

Audio files in my case, going to 16 bits, so I put in 24-bit with my music editor and now it works.

Cheers and thanks again.


Yue(Posted 2012) [#3]
This is very rare, if placed in Mono audio, not the volume traaja, if I put the left channel and right channel volume if it works, I do it with the audio editor ... not passing. working i audocity


Addi(Posted 2012) [#4]
Why don't you use the BlitzBass Dll?


Yue(Posted 2012) [#5]
ok, thanks, where download Blitzbass.dll

Last edited 2012


Addi(Posted 2012) [#6]
You can download an archiv with an older version of the lib, the decls and examples at the German BlitzBasic side:
http://www.blitzforum.de/forum/viewtopic.php?t=24527

For a newer version:
I read about the Blitz Bass Studio located at:
http://www.blitzbasic.com/toolbox/toolbox.php?tool=207

There are some other libs included for example for reading from CD etc.. Just look at the examples ;) .

Last edited 2012


Yue(Posted 2012) [#7]
Thanks Addi.