Audio Effects

Blitz3D Forums/Blitz3D Programming/Audio Effects

ClayPigeon(Posted 2011) [#1]
Is there any way to active the EAX audio effects in Blitz? Or is EAX a really old technology and I don't have a clue what I'm talking about? :D I just need to be able to apply some simple audio effects such as reverb and/or echo in realtime. Is this possible? If not, I'll have to make separate audio files with and without the effect applied and switch between them, which I'm perfectly OK with doing, I just want to see if there's a more practical solution. Thanks!


Kryzon(Posted 2011) [#2]
I'm not particularly sure about EAX, but many audio libraries come with integrated DSP effects, such as your echo and reverb (some I think even use EAX in the background to achieve this).
You have Bass, FMod, irrKlang etc.

All you need is the userlib wrapper for these libraries. I only know of the Bass one: http://blitzbasic.com/toolbox/toolbox.php?tool=207


ClayPigeon(Posted 2011) [#3]
Oh, sorry. I forgot to mention that I cannot use the Blitz Bass Studio because it uses an engine that you must pay to use in commercial products. :/


Kryzon(Posted 2011) [#4]
Well, if you know a bit of C++ you can try to wrap the cAudio engine (licensed under ZLib\libPNG) and create a DLL for it. It uses OpenAL and has the EAX effects you want.

http://sourceforge.net/projects/caudio/

EDIT: This is like saying 'build your own', so not very useful... I don't know of any other wrappers than that bass one at the Toolbox.

Last edited 2011


ClayPigeon(Posted 2011) [#5]
Well, I do understand the syntax of C++ almost fully, although I've never created a wrapper... I could give it a try, but is this 'CAudio' free? Does it require a license?


_PJ_(Posted 2011) [#6]
Have a look at Creative MEdia's website, you should be able to download the EAX dlls...

However, getting Blitz-useable decls is another matter entirely ;)