On Sun, Oct 4, 2009 at 9:05 AM, Erik Hofman wrote:
>
> Allright, the new sound system has been committed. The basics works as
> follow:
>
> There is one SoundMgr that handles multiple SoundGroup classes.
> Each SoundGroup class handles multiple SoundSample classes.
>
> A SoundSample class defines the properties of each individual sound like
> pitch, volume, position, orientation, sound cone paramters, etc. This
> class can be created all over the code but *has* to be assigned to a
> SampelGroup before you can hear it. Current sample groups are "atc",
> "avionics" and "fx" for the master airplane effects. The position of a
> SoundSample is relative to (0,0,0) of the model and hence relative to
> the base position of the SampleGroup.
>
> A SampleGroup class has to be assigned to the SoundManager to be heard
> and holds data of a group of samples (maybe 'sample cloud' might be a
> good description). This class has to be created for each individual
> model that can produce one or more sounds. The SampleGroup class can be
> altered by modifying it's volume, position and orientation.
> Repositioning this class also means repositioning all it's associated
> samples. Altering it's orientation also means repositioning the absolute
> (real world) position (and orientation) of the associated sound samples.
>
> The SoundMagaer can be repositioned which basically means moving the
> listener around. It's also possible to alter the listener orientation en
> velocity with this class, together with the master volume.
>
Hi Erik,
One quick question: will the sound configuration xml files need to change to
match the new system or will there be backwards compatibility?
Thanks,
Curt.
--
Curtis Olson: http://baron.flightgear.org/~curt/
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel