t***@pegnsean.net
2012-12-30 00:12:37 UTC
Hey all!
I hope you are in the midst of having a great holiday season!
I've been working on a demo, and it occurs to me that I have no idea what
units are used in the position coordinates, nor how to set or change them
if I need to use something different.
Is there an explanation of that available somewhere?
I've been using relatively small numbers -- object A at (1, 0, 0), object
B at (0, 2, 0), etc... and sounds move where I expect them to... but I
tried using for example actual real-room dimensions in inches, and things
didn't work...
For example, with the listener at (0, 0, 0), I placed the front center of
my test layout at (0, 0, 10), the back center at (0, 0, 36), left center
at (-21, 0, 23) and right center at (+21, 0, 23)... based on the distances
in inches if the listener was 10 inches in front of the front/center of
the layout.
(Matt: I've rotated these values to account for your rotation of the
coordinate system within JMRI. The numbers in this email assume X=side to
side, Y = up/down, Z=ahead/behind).
So what surprised me is that these distances seem to be "too far away" -
the volume attenuation basically shuts the sounds off. If I use arbitrary
but small numbers FC=(0, 0, 1) BC=(0,0,3), LT=(-1,0,2), RT=(1,0,2) it
seems to work OK.
I know there's some parameters that can be set to adjust this sort of
thing, but I don't really understand well what they mean or what they do.
Any explanatory help would be much appreciated!
Thanks,
Mark
I hope you are in the midst of having a great holiday season!
I've been working on a demo, and it occurs to me that I have no idea what
units are used in the position coordinates, nor how to set or change them
if I need to use something different.
Is there an explanation of that available somewhere?
I've been using relatively small numbers -- object A at (1, 0, 0), object
B at (0, 2, 0), etc... and sounds move where I expect them to... but I
tried using for example actual real-room dimensions in inches, and things
didn't work...
For example, with the listener at (0, 0, 0), I placed the front center of
my test layout at (0, 0, 10), the back center at (0, 0, 36), left center
at (-21, 0, 23) and right center at (+21, 0, 23)... based on the distances
in inches if the listener was 10 inches in front of the front/center of
the layout.
(Matt: I've rotated these values to account for your rotation of the
coordinate system within JMRI. The numbers in this email assume X=side to
side, Y = up/down, Z=ahead/behind).
So what surprised me is that these distances seem to be "too far away" -
the volume attenuation basically shuts the sounds off. If I use arbitrary
but small numbers FC=(0, 0, 1) BC=(0,0,3), LT=(-1,0,2), RT=(1,0,2) it
seems to work OK.
I know there's some parameters that can be set to adjust this sort of
thing, but I don't really understand well what they mean or what they do.
Any explanatory help would be much appreciated!
Thanks,
Mark