EAX sound effects

Issue #173 resolved
Anonymous created an issue

The ability to use EAX effects on audio, like flange, echo, reverb, distortion, high pass and low pass filters on sources.

Comments (12)

  1. Danny Fritz

    I really like this idea.

    However, echo/reverb are the same thing and "distortion" doesn't really mean much, so in my eyes, that leaves:

    flanger, reverb, high-pass, and low-pass filters

    I suppose distortion might make sense in a mapSample (mapPixel) way.

  2. Christian Howe

    Quote from the OpenAL website: http://connect.creativelabs.com/developer/Wiki/Introduction%20to%20EFX.aspx

    "The EAX API was designed around the DirectSound3D property set mechanism, and thus the EAX interface does not take full advantage of OpenAL's extension system, and EAX extensions all exist solely on PC."

    "The Effects Extension (EFX) on the other hand, was designed specifically to provide a generic, cross-platform framework for adding advanced DSP effects to OpenAL. This framework offers the OpenAL programmer two new ways to process audio. Firstly, Sources can be processed through filters. Secondly, Auxiliary Effect Sends are introduced, so that effects processing can be applied to groups of Sources. The output of the Auxiliary Effects is fed into the final mix. It is also possible to filter Sources as they are fed into each Auxiliary Effect."

  3. Christian Howe

    Wow, that's pretty contradictory, but it looks like OpenAL Soft supports it. Maybe software DSP (with possibly custom effects, like the XAPO stuff on Windows) would be possible. It seems software DSP is almost as fast as hardware DSP (and doesn't require hardware and drivers). FMOD (and by extension, Unity) use software DSP for their game audio engines.

  4. Bill Meltsner

    I'm marking this 'wontfix', for the simple fact that there is absolutely no EAX/EFX on Mac OS X. OpenAL Soft does have EFX support, but we don't use OpenAL Soft on the Mac - we use Apple's native implementation instead.

    The Mac version of OpenAL does have its own extension architecture, ASA, but it's not really comparable to EFX - it has much more limited functionality, and the API for creating things like reverb is different enough to likely render futile any attempt to create a Lua API that can handle both.

  5. Raidho

    I'm thinking of implementing EFX effects, however iOS poses a problem still, since it wouldn't be really possible to expose meaningful functionality to it. Because of the way AL works, it will only be possible to statically process samples, but not dynamically, defeating the purpose.

  6. Log in to comment