Sam Varner wrote:
> How do I get sound for my FDM? I have an engine model and I can get the
> rotational speed. How do I use this to get the pitch of the engine
> sample?
You can take a look at FlightGear/Aircraft/c172/c172-sound.xml
for engine you would see:
<pitch>
<property>/engines/engine/rpm</property>
This means you would have to assign the right (engine) rpm to that property:
fgSetFloat("/engines/engine/rpm", my_rpm);
Erik
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel