[Flightgear-devel] XMLSound Wish List
Looking at the xmlsound structure... Wondering if it would be useful to extend the structure and methods to add a second property and then define a set of additonal macro operators to combine the two properties with an arithmetic/logical operation to produce a result. One example; interior jet engine noise is a function of thrust and airspeed. It's at a max at takeoff and decreases during climbout as TAS increases; it's probably the loudest on landing when reverse thrust is applied. So one could take the rumble.wav sound file, increase volume/pitch for higher power settings and subtract some amount as a function of airspeed to arrive at a final value. Or is there a set of xml constructs to do the same? Just a thought John W. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] XMLSound Wish List
John Wojnaroski wrote: Looking at the xmlsound structure... Wondering if it would be useful to extend the structure and methods to add a second property and then define a set of additonal macro operators to combine the two properties with an arithmetic/logical operation to produce a result. One example; interior jet engine noise is a function of thrust and airspeed. It's at a max at takeoff and decreases during climbout as TAS increases; it's probably the loudest on landing when reverse thrust is applied. So one could take the rumble.wav sound file, increase volume/pitch for higher power settings and subtract some amount as a function of airspeed to arrive at a final value. Or is there a set of xml constructs to do the same? All volume related subsections have one thing in common, the actual volume. So it already is possible to to that. For example, the wind noise decreases as the aircraft gets higher, but also increases when the aircraft gains speed: wind namewind/name modelooped/mode pathSounds/wind.wav/path property/velocities/airspeed-kt/property !-- starts here -- volume property/position/altitude-ft/property factor-0.15/factor offset1.0/offset min0.1/min max1.0/max /volume volume property/velocities/airspeed-kt/property factor0.0015/factor min0.03/min max0.25/max /volume !-- ends here -- pitch property/velocities/airspeed-kt/property factor0.0035/factor offset1.25/offset /pitch /wind Erik ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] XMLSound Wish List
All volume related subsections have one thing in common, the actual volume. So it already is possible to to that. For example, the wind noise decreases as the aircraft gets higher, but also increases when the aircraft gains speed: wind namewind/name modelooped/mode pathSounds/wind.wav/path property/velocities/airspeed-kt/property !-- starts here -- volume property/position/altitude-ft/property factor-0.15/factor offset1.0/offset min0.1/min max1.0/max /volume volume property/velocities/airspeed-kt/property factor0.0015/factor min0.03/min max0.25/max /volume !-- ends here -- pitch property/velocities/airspeed-kt/property factor0.0035/factor offset1.25/offset /pitch /wind Okay, got it! I'll build an xml file and give it a try Thanks John W ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d