Re: Front and Rear sound is same
Kanishka Weerasekara <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Oh man, that was some mistake. I thought the y axis to be a plain parallel to the ground. Thank you very much. Problem solved. I bit of a problem. There seems to be a blank sport right in front of me. The sounds come correct from rear left rear right front left front right and accurately with the distance. Front center and more distant in front center (1 and 2 points respectively) does not play the sound. You are a life saver. Thanks again. On 16 March 2011 18:47, Chris Robinson <[email protected]> wrote: > On Wednesday, March 16, 2011 6:55:49 PM Kanishka Weerasekara wrote: > > I attached a sample i used to identify this problem. static float[] > > sourcePos = {0.0f, 3.0f, 0.0f}; > > I hope 3.0f as the second array element should give sound from the rear > > speakers. but it does not change if it's 3.0f or -3.0f ro 0.0f. > > The second value is Y, which is vertical movement (+up, -down). The third > value is Z, which should do what you're expecting (+back, -front). > _______________________________________________ > Openal mailing list > [email protected] > http://opensource.creative.com/mailman/listinfo/openal > -- |< /-\ |\| | S |-| |< /-\++ *http://ninetyninefree.blogspot.com/* _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal