Re: Units for position?
[email protected] Tue, 1 Jan 2013 17:33:25 -0500
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
> On 12/31/2012 11:01 PM, [email protected] wrote: >> Turns out I have a follow-up distance. >> >> I presume the reference distance is treated as a radius from the >> Listener >> position, yes? so (1, 0, 0) is the same distance as (0,1,0) is the same >> distance as (sqrt(2), sqrt(2), 0)? > > As far as distance attenuation goes, yes. Though that should be > (sqrt(0.5), sqrt(0.5), 0) for the last one. :) Touche' OK, another question on this... now this might be hardware dependent or something. I noticed that with 2 speakers hooked up to the stereo audio output of my MacBook Pro, when I put a sound off to the left (or right) of the centerline, all of the sound comes from the left (or right) speaker, and the opposite speaker goes silent. I verified this by piping the audio output to Audacity. Not saying anything's broken, just trying to understand what's going on... This happens no matter how close to 0 the X value appears to be (well, I didn't try smaller than +/- 0.25). To further puzzle me, these sources are not located on the X axis, they are in front of me by 1 unit. (i.e. [ +/- 0.25, 0, 1]) Is this an artifact of being in Stereo mode as opposed to, say, 2.1 (or higher) Surround mode? Or something else I don't understand. I'm expecting, since it's only a little bit to one side or the other, and mostly out front, for the sound to still come from both speakers, with more of a cross-fade effect happening, rather than shutting off one speaker and only coming out of the other. Thanks, Mark v _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal