Discussion:
EAX effects - reverb, echo etc
Fabian Mathews
2007-07-09 08:57:46 UTC
Permalink
ive currently got openal working, but all i can do is pretty much play
sounds in 3D.
im wondering how to tell a sound to use some EAX effects like reverb, echos
etc...
or how i can set these parameters on a sound so i can modify them manually

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Daniel PEACOCK
2007-07-09 16:22:27 UTC
Permalink
Hi,

To add EAX effects to OpenAL you need to use one of Creative's OpenAL
Extensions. Creative have extensions available for using EAX 2,3,4 and 5,
or alternatively, you can use the EFX extension. The EFX extension is
probably the way to go because it is designed to be more AL like (e.g. you
can create Reverb Effects and attach them to Effect Slots, you can create
Filter objects and attach them to Sources, etc ...). It is also easier to
determine the capabilities of the rendering platform (e.g how many Effect
Slots are available, how many sends per Source, etc ...). The EFX
extension is available on PC and Xbox360 AL implementations.

Complete documentation and sample code for the EFX Extension is included in
the Creative OpenAL SDK available from
http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=45

Thanks,

Dan
Creative Labs

Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.





"Fabian Mathews"
<***@hotmail.c
om> To
Sent by: ***@opensource.creative.com
openal-***@op cc
ensource.creative
.com Subject
[Openal] EAX effects - reverb, echo
etc
07/09/2007 01:57
AM








ive currently got openal working, but all i can do is pretty much play
sounds in 3D.
im wondering how to tell a sound to use some EAX effects like reverb, echos

etc...
or how i can set these parameters on a sound so i can modify them manually

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Openal mailing list
***@opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT00043C4A
Fabian Mathews
2007-07-10 10:55:46 UTC
Permalink
Subject: Re: [Openal] EAX effects - reverb, echo etc
Date: Mon, 09 Jul 2007 14:32:22 +0200
Hi Fabian,
you need to find out if these effects are supported
by your soundcard. at least you should do that.
...
the effects extension introduces some new stuff like
filters, effect slots, auxiliary sends and some new
properties to already existing objects.
it's all not that hard, but you should do some reading.
for example read "Effects Extension Guide.pdf" which
should be with the openal sdk. it explains all the stuff
you need to know.
hope that helped a little.
hf.
matze
Post by Fabian Mathews
ive currently got openal working, but all i can do is pretty much play
sounds in 3D.
im wondering how to tell a sound to use some EAX effects like reverb,
echos etc...
or how i can set these parameters on a sound so i can modify them manually
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Openal mailing list
http://opensource.creative.com/mailman/listinfo/openal
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Fabian Mathews
2007-07-19 08:54:13 UTC
Permalink
can multiple effects be attached to an auxillery effect slot? if so, how
if not, why is there a seperation between an effect slot an an effect?

im using the line:

alAuxiliaryEffectSloti(uiEffectSlot[0],
AL_EFFECTSLOT_EFFECT, uiEffect[0]);

must we attach an array and use alAuxiliaryEffectSlotiv?

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
Daniel PEACOCK
2007-07-19 17:37:18 UTC
Permalink
Hi,
Post by Fabian Mathews
can multiple effects be attached to an auxillery effect slot?
Not simultaneously - but you can attach different effects at different
times. An Effect object is just set of parameters for a particular
effect, e.g it could be a Bathroom Reverb preset, or it could be a Donald
Duck Pitch Shifter preset. Either of the Effects can be attached to the
Effect Slot at different times.

Dan
Creative Labs, Inc.

Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.





"Fabian Mathews"
<***@hotmail.c
om> To
Sent by: ***@opensource.creative.com
openal-***@op cc
ensource.creative
.com Subject
[Openal] multiple effects attached
to a effect slot?
07/19/2007 01:54
AM









can multiple effects be attached to an auxillery effect slot? if so, how
if not, why is there a seperation between an effect slot an an effect?

im using the line:

alAuxiliaryEffectSloti(uiEffectSlot[0],
AL_EFFECTSLOT_EFFECT, uiEffect[0]);

must we attach an array and use alAuxiliaryEffectSlotiv?

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

_______________________________________________
Openal mailing list
***@opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT0004428E
Fabian Mathews
2007-07-21 00:27:15 UTC
Permalink
let me get this strait:
- i can have multiple sound sources attached to a single effect slot (ie
effect)
- a sound source can have multiple filters
- a sound source can only belong to a single effect
Subject: Re: [Openal] multiple effects attached to a effect slot?
Date: Thu, 19 Jul 2007 10:37:18 -0700
Hi,
Post by Fabian Mathews
can multiple effects be attached to an auxillery effect slot?
Not simultaneously - but you can attach different effects at different
times. An Effect object is
just set of parameters for a particular effect, e.g it could be a Bathroom
Reverb preset, or it
could be a Donald Duck Pitch Shifter preset. Either of the Effects can be
attached to the Effect
Slot at different times.
Dan
Creative Labs, Inc.
Notice
The information in this message is confidential and may be legally
privileged. It is intended
solely for the addressee. Access to this message by anyone else is
unauthorized. If you are not
the intended recipient, any disclosure, copying or distribution of the
message, or any action
taken by you in reliance on it, is prohibited and may be unlawful. If you
have received this
message in error, please delete it and contact the sender immediately.
Thank you.
"Fabian Mathews"
To
reative.com
cc
Subject
07/19/2007 01:54 AM [Openal] multiple effects
attached to a effect
slot?
can multiple effects be attached to an auxillery effect slot? if so, how
if not, why is there a seperation between an effect slot an an effect?
alAuxiliaryEffectSloti(uiEffectSlot[0],
AL_EFFECTSLOT_EFFECT, uiEffect[0]);
must we attach an array and use alAuxiliaryEffectSlotiv?
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
_______________________________________________
Openal mailing list
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT0004428E
<< graycol.gif >>
<< pic06559.gif >>
<< ecblank.gif >>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Daniel PEACOCK
2007-07-21 00:55:27 UTC
Permalink
Hi,
Post by Fabian Mathews
- i can have multiple sound sources attached to a single effect slot (ie
effect)
Multiple sound sources can feed (send to) a single Auxiliary Effect Slot.
The Auxiliary Effect Slot needs to have an Effect object attached (loaded)
in order for this to do anything.
Post by Fabian Mathews
- a sound source can have multiple filters
Yes. Each Source has one Direct Filter (affects the "dry" path) and a
variable number of Send Filters (which affect the sends to the Auxiliary
Effect Slots). The number of Effect Send Filters per Source is soundcard
dependant. You can request this number using a Context Creation hint
(ALC_MAX_AUXILIARY_SENDS), and check to see what the AL device is capable
of by querying for the property using alcGetIntergerv.
Post by Fabian Mathews
- a sound source can only belong to a single effect
No that's not right. Sound Sources are not related to Effects at all.
Effects are more like Buffers in that they simply contain data and don't do
anything until they are attached to an object. An Effect needs to be
attached to an Auxiliary Effect Slot, in the same way that a Buffer needs
to be attached to a Source.

If you have the Creative OpenAL SDK ( available from
http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=45

) then I would highly recommend checking out the EFX examples (with source
code) and running the EFX10Show application (in the \Samples\bin folder).
The EFX10Show application has a graphical interface that allows you to
experiment with generating Auxiliary Effect Slots, loading Effects into
those Slots, and configuring Sources to feed them. The application does
hide some implementation details (e.g when you are adjusting an Effect
parameter, EFX10Show is actually changing the parameter of an Effect object
and the immediately re-attaching that Effect to the Auxiliary Effect Slot)
but I think it is still useful to see how the objects are related.

Dan

Loading...