Re: Sending an effect to a particular speaker of sb5.1

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Sunday 29 November 2009 4:21:37 am Oleksiy Frolov wrote:
>  Just wondering if one can send an effect to a particular channel of the
> SB5.1 compatible card. So far it seems the effects can only be used to
> work on the mono channels, and to be sent to the speakers using the 3D
> positioning. Is there a way however to route a mono channel (or effect
> output) to a particular speaker (no 3D) ?

One way to do it would be to set the source property AL_SOURCE_RELATIVE to 
AL_TRUE and AL_REFERENCE_DISTANCE to 1. Then you can use the source's 3D 
position to set it where a speaker should be. Such as 0,0,-1, which would 
place the sound where the front-center speaker would be.

Another way would be to make a 5.1, 6.1, or 7.1 buffer and place the mono data 
in one channel, leaving the others silent. This has the same benefit as above 
(input channels that are missing an output are virtualized) and it will work 
with the LFE channel, but those formats aren't always available.
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.