[Openal] Howto use sound obstruction
Daniel PEACOCK
dpeacock at creativelabs.com
Mon Jul 2 09:21:27 PDT 2007
Hi Stefan,
Obstruction involves applying a low-pass filter to the direct path of the
3D Sound (while leaving its feed to an environmental reverb unaffected).
To do this using the EFX extension you need to create a Filter object, set
it's type to LOWPASS and set the two parameters according to how much
filtering you would like. To apply the filter to an AL Source simply
attach it using alSourcei AL_DIRECT_FILTER.
The Creative OpenAL SDK (
http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=45
) includes an example project called "EFXFilter" that shows how this is
done.
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.
Stefan Burghardt
<burghardt at uni-ko
blenz.de> To
Sent by: openal at opensource.creative.com
openal-bounces at op cc
ensource.creative
.com Subject
[Openal] Howto use sound
obstruction
07/02/2007 05:14
AM
Please respond to
burghardt at uni-kob
lenz.de
Hello members of the mailing list,
what do I need to add an obstacle (like a wall) between the listener and
a sound source into a scene. As far as i see efx should provide
everything or do I even need creativs EFX? Does somebody have sample
code for that (I wasn't able to find any tutorial for that)?
I want to implement a simple scene like on page 136 of the OpenAL
Extension Guide.
Thx in advance,
Stefan
_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT000438F6
More information about the Openal
mailing list