Paul Surgeon wrote:
<pitch> <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property> <factor>0.001</factor> <offset>1.0</offset> </pitch> </audiocue>
As you can see I've configured the tone to start playing when the vertical speed drops below -50 fpm. That works perfectly.
However the pitch doesn't change - it loops (with an annoying click) and stays at a constant pitch regardless of what I throw at the pitch config.
The annoying click is because the audio file is not edited correctly.
Also, you are aware that a sound played with a pitch offset of 1.0 is played twice the original speed (pitch always start at 1.0).
Negative values for the properties should be no problem at all.
The only thing I can say is that it might be easier to use the exception in the configuration by removing the <offset/> tag and negating the <factor/> tag like this:
<pitch> <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property> <factor>-0.001</factor> </pitch>
This will trigger some internal code to apply an offset of 1.0 before anything else.
Erik
_______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
