|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Updating the position of an aux sendHello,
I am trying to update the position of an aux send, reverbed source, so as the source will start playing to the left of the listener and pass by to the right. This is quite simple to implement in openal for a dry source. However when i try to simulate the same procedure but with a reverbed effect the position does not update and the source is simply played out with a reverb effect but no positional change.I am using microsoft visual 9.0 through windows. My sound device that is being used is SB X-Fi Audio [cceo]. Is this possible to implement. Just to verify my reverbed source works fine for a static position and i update the sources position with alSourcePlay (source); for (float x = -50;x < 50; x++) { float z = -5,y = 0.5; printf("Position - (x,y,z): %f, %f, %f\n",x,y,z); alSource3f(source,AL_POSITION,x,y,z); alSource3f(source,AL_VELOCITY,0,0,-14); alutSleep(0.07); } This is the snippet of code after which the effect has been declared. -- Robert Smyth _______________________________________________ Openal mailing list Openal@... http://opensource.creative.com/mailman/listinfo/openal |
|
|
Re: Updating the position of an aux sendHi Robert, There shouldn't be any reason why you can't position a mono OpenAL Source just because it has an Aux Send to a Reverb effect. The Reverb effect itself will not be positioned (unless you use the Reverb and Reflections Pan vectors) but the Source will be. Could it be that you are only actually hearing the wet (reverb) signal? What value are you setting for AL_REFERENCE_DISTANCE on the Source? Can you set it to 100 and see if that makes a difference? Dan Creative Labs (UK) Ltd. 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. Creative Labs UK Ltd company number 2658256 registered in England and Wales at Belmont Road, Belmont Place, Maidenhead, Berkshire, SL6 6TB Robert Smyth <macgabhr@...> Sent by: To openal-bounces@op openal@... ensource.creative cc .com Subject [Openal] Updating the position of 07/03/2009 04:49 an aux send PM Hello, I am trying to update the position of an aux send, reverbed source, so as the source will start playing to the left of the listener and pass by to the right. This is quite simple to implement in openal for a dry source. However when i try to simulate the same procedure but with a reverbed effect the position does not update and the source is simply played out with a reverb effect but no positional change.I am using microsoft visual 9.0 through windows. My sound device that is being used is SB X-Fi Audio [cceo]. Is this possible to implement. Just to verify my reverbed source works fine for a static position and i update the sources position with alSourcePlay (source); for (float x = -50;x < 50; x++) 0.5; %f\n",x,y,z); alSource3f(source,AL_VELOCITY,0,0,-14); alutSleep(0.07); This is the snippet of code after which the effect has been declared. -- Robert Smyth_______________________________________________ Openal mailing list Openal@... http://opensource.creative.com/mailman/listinfo/openal ForwardSourceID:NT0006DC0E _______________________________________________ Openal mailing list Openal@... http://opensource.creative.com/mailman/listinfo/openal |
|
|
Re: Updating the position of an aux sendHi Daniel,
Thanks for the reply, You are exactly right regarding the wet source. I am playing back only the wet source having filtered the dry signal to zero and have not updated the reverb and reflections pan vectors. I will try to solve this problem by looking at the manual under reverb pan vectors, any advice on implementing an update position for the effects?? Thanks Robert
|
| Free embeddable forum powered by Nabble | Forum Help |