Erik Hofman wrote:
> Alright, but I had the impression James was talking about the 
> implementation and not the reality.
>   

I was :-)

Erik I think you wrote the xmlsound.README file.  Do you know if there 
is some other documentation I could look at, that might make it a bit 
clearer as I think maybe your documentation is not quite up to date.

For example, I don't think that max-dist works any more (if it ever 
did), a search of the current FG source doesn't turn it up in anything 
(except mk_viii.cxx but that does not seem related, and of course your 
xmlsound.README).

I also have not been able to find what the valid "range of values" for 
<pitch> is, (<volume> I believe is 0 to 1 (silent to full)).  I'm also 
having trouble understanding the interaction of offset, factor and 
multiple volume/pitch sections for a single event.

To give a specific example I am trying to accomplish, I want a given 
sound to start to "fade in" when accelerating past say 300kts airspeed, 
reach full volume at, say, 350kts, maintain full volume at or above 
this, and then when decelerating start fading out from 350 and be 
silenced by 300. 

In a functional description, I want:
 volume = max(min(350,airspeed)-300,0)/50
(where 0 <= volume <= 1) but I can't see how such a thing could be done 
in a sound.xml



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to