HEADLINE:? NO ENGINE CLICKING SOUNDS FOUND WHEN FUNCTION BUTTON USED
I have made an interesting discovery about engine clicking sounds. I found an RDC recording that only had two notches, idle and run. Both of them sound perfect in WavePad Sound Editor (uncompressed, 8 bit wav) but within the engine tags they click (dropout?) at the end. The startup, shutdown, accel and decel have no clicks. So, I tried the idle one as a standalone function with the idea of manually notching the RDC. Well, to my surprise there are no clicks.
This points to something in the engine tags that is ¡°causing¡± the clicks. Thus it may not be the wav files themselves as previously discussed.
Here are my engine tags:
<sound-event name="ENGINE" label="Throttle" buttontype="ENGINE">
<trigger name="ENGINE_STARTSTOP" type="THROTTLE">
<event-name>F4</event-name>
<target-name>ENGINE</target-name>
<action>NOTHING</action>
</trigger>
<trigger name="ENGINE_NOTCH" type="THROTTLE">
<event-name>SpeedSetting</event-name>
<target-name>ENGINE</target-name>
<action>CHANGE</action>
</trigger>
<trigger name="ENGINE_STOP" type="FLOAT" valtype="FLOAT">
<event-name>SpeedSetting</event-name>
<target-name>ENGINE</target-name>
<match>0.0</match>
<compare-type>LT</compare-type>
<action>STOP</action>
</trigger>
</sound-event>
<sound name="ENGINE" type="diesel3">
<fade-in-time>0</fade-in-time>
<fade-out-time>0</fade-out-time>
<gain>0.8</gain>
<start-sound>
<file>sounds/engine/rdc/rdc_startup.wav</file>
</start-sound>
<shutdown-sound>
<file>sounds/engine/rdc/rdc_shutdown.wav</file>
</shutdown-sound>
<idle-notch>1</idle-notch>
<!-- Only 2 engine files, idle & run. Click at end of each -->
<notch-sound>
<notch>1</notch>
<next-notch>2</next-notch>
<prev-notch>1</prev-notch>
<accel-limit>50</accel-limit>
<decel-limit>0</decel-limit>
<file>sounds/engine/rdc/rdc_idle.wav</file>
<accel-file>sounds/engine/rdc/rdc_idle_run.wav</accel-file>
<decel-file>sounds/engine/rdc/rdc_idle.wav</decel-file>
</notch-sound>
?
<notch-sound>
<notch>2</notch>
<next-notch>2</next-notch>
<prev-notch>1</prev-notch>
<accel-limit>100</accel-limit>
<decel-limit>50</decel-limit>
<file>sounds/engine/rdc/rdc_run.wav</file>
<accel-file>sounds/engine/rdc/rdc_run.wav</accel-file>
<decel-file>sounds/engine/rdc/rdc_run_idle.wav</decel-file>
</notch-sound>
And here are the tags for a function button (F25).? Ignore the REVERSE label, it¡¯s an avatar:
<!-- F25 Reverse -->
<sound-event name="REVERSE" label="Reverse" buttontype="TOGGLE">
<trigger name="REVERSE_BUTTON_STOP" type="BUTTON">
<event-name>BUTTON</event-name>
<target-name>REVERSE</target-name>
<match>false</match>
<action>STOP</action>
</trigger>
<trigger name="REVERSE_BUTTON_START" type="BUTTON">
<event-name>BUTTON</event-name>
<target-name>REVERSE</target-name>
<match>true</match>
<action>LOOP</action>
</trigger>
<trigger name="REVERSE_STOP" type="BOOLEAN">
<event-name>F25</event-name>
<target-name>REVERSE</target-name>
<match>false</match>
<action>STOP</action>
</trigger>
<trigger name="REVERSE_START" type="BOOLEAN">
<event-name>F25</event-name>
<target-name>REVERSE</target-name>
<match>true</match>
<action>LOOP</action>
</trigger>
</sound-event>
<sound name="REVERSE" type="configurable">
<start-file>sounds/engine/rdc/rdc_startup.wav</start-file>
<mid-file>sounds/engine/rdc/rdc_idle.wav</mid-file>
<end-file>sounds/engine/rdc/rdc_shutdown.wav</end-file>
<start-sound_duration>4000</start-sound_duration>
<gain>0.5</gain>
</sound>
I'm going to try this with other VSD files that have engine clicks, pops, growls, etc.
Conrad