| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
<system name="c172p sounds"> |
| 20 |
|
| 21 |
<channel name="stallhorn"> |
| 22 |
|
| 23 |
<fcs_function name="sounds/stall-horn-volume"> |
| 24 |
<function> |
| 25 |
<log10> |
| 26 |
<product> |
| 27 |
<sum> |
| 28 |
<property>aero/alpha-deg</property> |
| 29 |
<table> |
| 30 |
<independentVar>fcs/flap-pos-deg</independentVar> |
| 31 |
|
| 32 |
<tableData> |
| 33 |
0.0 -11.6364 |
| 34 |
10.0 -10.1364 |
| 35 |
30.0 -9.6364 |
| 36 |
</tableData> |
| 37 |
</table> |
| 38 |
<value>0.5</value> |
| 39 |
</sum> |
| 40 |
<value>2.0</value> |
| 41 |
</product> |
| 42 |
</log10> |
| 43 |
</function> |
| 44 |
<clipto> |
| 45 |
<min>0.0</min> |
| 46 |
<max>1.0</max> |
| 47 |
</clipto> |
| 48 |
</fcs_function> |
| 49 |
|
| 50 |
<fcs_function name="sounds/stall-horn-pitch"> |
| 51 |
<function> |
| 52 |
<sum> |
| 53 |
<product> |
| 54 |
<table> |
| 55 |
<independentVar lookup="row">aero/alpha-deg</independentVar> |
| 56 |
<independentVar lookup="column">fcs/flap-pos-deg</independentVar> |
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
<tableData> |
| 62 |
0.0 10.0 20.0 30.0 |
| 63 |
9.5000 0.0 0.0 0.0 0.0 |
| 64 |
9.5428 0.0 0.0 0.0 0.5 |
| 65 |
10.0000 0.0 0.0 0.0 0.5 |
| 66 |
10.0428 0.0 0.0 0.5 0.5 |
| 67 |
10.5000 0.0 0.0 0.5 0.5 |
| 68 |
10.5428 0.0 0.5 0.5 1.0 |
| 69 |
11.0000 0.0 0.5 0.5 1.0 |
| 70 |
11.0428 0.5 0.5 1.0 1.0 |
| 71 |
11.5000 0.5 0.5 1.0 1.0 |
| 72 |
11.5428 0.5 1.0 1.0 1.0 |
| 73 |
12.0000 0.5 1.0 1.0 1.0 |
| 74 |
12.0428 1.0 1.0 1.0 1.0 |
| 75 |
</tableData> |
| 76 |
</table> |
| 77 |
|
| 78 |
|
| 79 |
<difference> |
| 80 |
<value>1.1</value> |
| 81 |
<value>0.9</value> |
| 82 |
</difference> |
| 83 |
</product> |
| 84 |
|
| 85 |
|
| 86 |
<value>0.9</value> |
| 87 |
</sum> |
| 88 |
</function> |
| 89 |
<clipto> |
| 90 |
<min>0.9</min> |
| 91 |
<max>1.1</max> |
| 92 |
</clipto> |
| 93 |
</fcs_function> |
| 94 |
|
| 95 |
</channel> |
| 96 |
|
| 97 |
</system> |