« Return to Thread: Updating the position of an aux send

Updating the position of an aux send

by Robert Smyth :: Rate this Message:

Reply to Author | View in Thread

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++)
        {
            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

 « Return to Thread: Updating the position of an aux send