towing: replace 3 JSBSim-forces with one direction with 1 force and 3 directions
[fg:fgdata.git] / Aircraft / sgs233 / glider-sound.xml
1 <?xml version="1.0"?>
2  
3 <PropertyList>
4
5  <fx>
6
7 <!--
8   <engine>
9    <name>engine</name>
10    <mode>looped</mode>
11    <path>Aircraft/T38/Sounds/T38-engines.wav</path>
12    <condition>
13     <property>/engines/engine/run[0]</property>
14    </condition>
15    <volume>
16     <property>/controls/throttle[0]</property>
17     <factor>1</factor>
18     <min>0.5</min>
19     <max>1.0</max>
20    </volume>
21   </engine>
22 -->
23
24   <tire-rumble>
25    <name>tire-rumble</name>
26    <mode>looped</mode>
27    <path>Sounds/rumble.wav</path>
28    <condition>
29     <or>
30      <property>/gear/gear[0]/wow</property>
31      <property>/gear/gear[1]/wow</property>
32      <property>/gear/gear[2]/wow</property>
33     </or>
34    </condition>
35    <volume>
36     <property>/velocities/airspeed-kt</property>
37     <factor>0.004</factor>
38     <max>0.3</max>
39    </volume>
40   </tire-rumble>
41
42   <wind>
43    <name>wind</name>
44    <mode>looped</mode>
45    <path>Sounds/wind.wav</path>
46    <property>/velocities/airspeed-kt</property>
47    <volume>
48     <property>/position/altitude-ft</property>
49     <factor>-0.000015</factor>
50     <offset>1.0</offset>
51     <min>0.1</min>
52     <max>1.0</max>
53    </volume>
54    <volume>
55      <property>/velocities/airspeed-kt</property>
56      <factor>0.0015</factor>
57      <min>0.03</min>
58      <max>0.25</max>
59    </volume>
60    <pitch>
61     <property>/velocities/airspeed-kt</property>
62     <factor>0.01</factor>
63     <offset>1.25</offset>
64    </pitch>
65   </wind>
66
67   <buffet>
68    <name>alpha-buffet</name>
69    <mode>looped</mode>
70    <condition>
71     <greater-than>
72      <property>/fdm/jsbsim/aero/alpha-rad[0]</property>
73      <value>0.09</value>
74     </greater-than>
75    </condition>
76    <path>Sounds/rumble.wav</path>
77    <volume>
78     <property>/fdm/jsbsim/aero/alpha-rad[0]</property>
79     <factor>15.0</factor>
80     <max>1.0</max>
81    </volume>
82    <pitch>
83     <property>/fdm/jsbsim/aero/alpha-rad[0]</property>
84     <factor>0.1</factor>
85    </pitch>
86   </buffet>
87
88   <speedbrake>
89    <name>Speedbrake</name>
90    <mode>looped</mode>
91    <path>Sounds/rumble.wav</path>
92    <condition>
93     <greater-than>
94      <property>/velocities/airspeed-kt</property>
95      <value>50.0</value>
96     </greater-than>
97    </condition>
98    <volume>
99     <property>/surface-positions/speedbrake-pos-norm</property>
100     <factor>1.0</factor>
101    </volume>
102   </speedbrake>
103
104  <hitch_release>
105    <name>hitch_release</name>
106    <mode>once</mode>
107    <path>Sounds/click.wav</path>
108    <condition>
109      <and>
110        <property>/sim/hitches/winch/open</property>
111        <property>/sim/hitches/aerotow/open</property>
112      </and>
113    </condition>
114  </hitch_release>
115
116 </fx>
117  
118 </PropertyList>