1
0
Fork 0

Demonstrate the new machwave effect

This commit is contained in:
Erik Hofman 2023-02-20 09:00:30 +01:00
parent 8277a6d608
commit 4cb01f0ee7

View file

@ -4,6 +4,7 @@
<fx>
<!--
<engine>
<name>rumble</name>
<mode>looped</mode>
@ -21,6 +22,60 @@
<offset>1.5</offset>
</pitch>
</engine>
-->
<machwave>
<name>Shock Wave</name>
<path>Sounds/exhaust_loop.wav</path>
<mode>looped</mode>
<property>/sim/sound/machwave/active</property>
<volume>
<expression>
<table>
<property>/sim/sound/machwave/offset-m</property>
<entry>
<ind>15</ind>
<dep>1.0</dep>
</entry>
<entry>
<ind>20</ind>
<dep>1.0</dep>
</entry>
<entry>
<ind>30</ind>
<dep>1.0</dep>
</entry>
<entry>
<ind>75</ind>
<dep>0.0</dep>
</entry>
</table>
</expression>
</volume>
<pitch>
<expression>
<table>
<property>sim/sound/machwave/offset-m</property>
<entry>
<ind>15</ind>
<dep>2.5</dep>
</entry>
<entry>
<ind>20</ind>
<dep>2.5</dep>
</entry>
<entry>
<ind>30</ind>
<dep>2.5</dep>
</entry>
<entry>
<ind>75</ind>
<dep>1.5</dep>
</entry>
</table>
</expression>
</pitch>
</machwave>
</fx>