However, very few engines have proper sound setup for this feature because these soundfiles were created for MSTS which did not have this ability.
The sound of diesel engines is regulated by 'Variable2'. This variable has a value between 0 and 1, based on the relative value of the RPM in relation to RPMmin :
RPM - RPMmin Variable2 = ---------------- RPMmax - RPMmin
The settings based on Variable2 are therefor also related to RPMmin, and the sound which is played when Variable2=0 is therefor the sound related to the engine running on RPMmin. Switching off the engine will not switch off the engine sound.
Proposal is to introduce an additional variable, 'Variable4', which has similar behaviour as 'Variable2' but is related to zero :
RPM Variable4 = ------ RPMmax
This would allow proper rundown of the engine sound when the engine is switched off.
The existing sound pattern can be maintained by converting 'Variable2' to 'Variable4' :
(RPMmax - RPMmin) * Variable2 + RPMmin Variable4 = --------------------------------------- RPMmax
Using Variable4, switching off the engine will also switch off the sound.
Examples of frequency and volume curves as set up for Variable2 and Variable4:
FrequencyCurve( Variable2Controlled CurvePoints ( 5 0.000 0000 0.005 9000 0.010 11225 0.020 15500 1.000 18000 ) Granularity ( 100 ) ) VolumeCurve( Variable2Controlled CurvePoints ( 5 0.000 1.0 0.005 0.1 0.010 0.1 0.020 1.0 1.000 1.0 ) Granularity ( 0.10 ) ) -------------------------------------------------------------------------------- FrequencyCurve( Variable4Controlled CurvePoints ( 5 0.000 0001 0.320 9000 0.626 11225 0.900 15500 1.000 18000 ) Granularity ( 100 ) ) VolumeCurve( Variable4Controlled CurvePoints ( 5 0.000 1.0 0.320 0.1 0.626 0.1 0.900 1.0 1.000 1.0 ) Granularity ( 0.10 ) )
I would have liked to play an example of the sound using the above parameters but, alas, the system will not let me upload either mp3 or wav files. Sorry.
Regards,
Rob Roeterdink