update DG-101G: improve animation of tow for winch launch
[fg:toms-fgdata.git] / Aircraft / DG-101G / dg101g_sound.xml
1 <?xml version="1.0"?>
2 <!-- sound files used from various other planes: -->
3 <!-- - from the bocian by AJ MacLeod  --> 
4 <!-- - from the ASK21 by Heiko Schulz --> 
5 <!-- - from the ASK13 by Patrice Poly -->
6
7 <!-- author:  Nikolaus Kerner -->
8 <!-- version: 2012-07-10      -->
9
10 <PropertyList>
11
12   <fx>
13   
14    <!-- ground reactions -->
15     <main-wheel-rumble>
16       <name>main-wheel-rumble</name>
17       <mode>looped</mode>
18       <path>Aircraft/DG-101G/Sounds/ground_roll2.wav</path>
19       <condition>
20         <property>/gear/gear[0]/wow</property>  <!-- main wheel -->
21       </condition>
22       <volume>
23         <property>velocities/groundspeed-kt</property>
24         <factor>0.25</factor>
25       </volume>
26     </main-wheel-rumble>
27     
28     <tail-wheel-rumble>
29       <name>tail-wheel-rumble</name>
30       <mode>looped</mode>
31       <path>Aircraft/DG-101G/Sounds/ground_roll3.wav</path>
32       <condition>
33         <property>/gear/gear[1]/wow</property>  <!-- tail wheel -->
34       </condition>
35       <volume>
36         <property>velocities/groundspeed-kt</property>
37         <factor>0.25</factor>
38       </volume>
39     </tail-wheel-rumble>
40     
41     <left-wing-tip>
42       <name>left-wing-tip</name>
43       <mode>once</mode>
44       <path>Aircraft/DG-101G/Sounds/left-wing-tip.wav</path>
45       <condition>
46         <property>/gear/gear[2]/wow</property>  <!-- skid on left side -->
47       </condition>
48     </left-wing-tip>
49     
50     <right-wing-tip>
51       <name>right-wing-tip</name>
52       <mode>once</mode>
53       <path>Aircraft/DG-101G/Sounds/right-wing-tip.wav</path>
54       <condition>
55         <property>/gear/gear[3]/wow</property>  <!-- skid on right side -->
56       </condition>
57     </right-wing-tip>
58     
59     
60     
61     
62    <!-- handling noises -->
63     <airbrakes_lock>
64       <name>airbrakes_lock</name>
65       <mode>once</mode>
66       <path>Aircraft/DG-101G/Sounds/airbrakes-lock.wav</path>
67       <condition>
68         <equals>
69           <property>controls/engines/engine/throttle</property>
70           <value>1</value>
71         </equals>  
72       </condition>
73     </airbrakes_lock>
74     
75     <cable_release>
76       <name>cable_release</name>
77       <mode>once</mode>
78       <path>Aircraft/DG-101G/Sounds/winch_release.wav</path>
79       <condition>
80         <property>sim/glider/winch/flags/pull</property>
81       </condition>
82     </cable_release>
83     
84     
85     
86     
87    <!-- wind noises --> 
88     <wind>
89       <name>wind</name>
90       <mode>looped</mode>
91       <path>Aircraft/DG-101G/Sounds/wind-dg101g.wav</path>
92       <property>velocities/airspeed-kt</property>
93       <volume>
94         <property>position/altitude-ft</property>
95         <factor>-0.000015</factor>
96         <offset>1.0</offset>
97         <min>0.1</min>
98         <max>1.0</max>
99       </volume>
100       <volume>
101         <property>velocities/airspeed-kt</property>
102         <factor>0.015</factor>
103         <min>0.03</min>
104         <max>5</max>
105       </volume>
106       <pitch>
107         <property>velocities/airspeed-kt</property>
108         <factor>0.002</factor>
109         <offset>1</offset>
110       </pitch> 
111     </wind>
112     
113     <airbrakes>
114      <name>airbrakes</name>
115      <mode>looped</mode>
116      <path>Aircraft/DG-101G/Sounds/airbrakes2.wav</path>
117      <property>velocities/airspeed-kt</property>
118      <volume>
119        <property>/surface-positions/speedbrake-pos-norm</property>
120        <factor>0.6</factor>
121        <offset>0.0</offset>
122        <min>0.0</min>
123        <max>2</max>
124      </volume>
125      <volume> 
126        <property>velocities/airspeed-kt</property>
127        <factor>0.015</factor>
128        <min>0.00</min>
129        <max>5</max>
130      </volume>
131      <pitch>
132        <property>velocities/airspeed-kt</property>
133        <factor>0.002</factor>
134        <offset>1</offset>
135      </pitch> 
136     </airbrakes>
137     
138     <winch_tow>
139       <name>winch_tow</name>
140       <mode>looped</mode>
141       <path>Aircraft/DG-101G/Sounds/winch_tow.wav</path>
142       <condition>
143         <equals>
144           <property>sim/glider/winch/flags/pull</property>
145           <value>1</value>
146         </equals>
147       </condition>
148       <volume>
149         <property>velocities/airspeed-kt</property>
150         <factor>0.01</factor>
151         <max>1</max>
152       </volume>
153     </winch_tow>
154     
155     
156     
157     
158   </fx>
159  
160 </PropertyList>