
// ENGINE SOUNDS (INSIDE)

// inside coasting
VS_INSIDE_COAST_ENGINE_1=StockCarLegends\RR\ac_idle.wav
VS_INSIDE_COAST_ENGINE_2=StockCarLegends\RR\ac_offverylow.wav
VS_INSIDE_COAST_ENGINE_3=StockCarLegends\RR\ac_offlow.wav
VS_INSIDE_COAST_ENGINE_4=StockCarLegends\RR\ac_offmid.wav
VS_INSIDE_COAST_ENGINE_5=StockCarLegends\RR\ac_offhigh.wav


// inside on-throttle
VS_INSIDE_POWER_ENGINE_1=StockCarLegends\RR\ac_idle.wav
VS_INSIDE_POWER_ENGINE_2=StockCarLegends\RR\ac_onverylow.wav
VS_INSIDE_POWER_ENGINE_3=StockCarLegends\RR\ac_onlow.wav
VS_INSIDE_POWER_ENGINE_4=StockCarLegends\RR\ac_onmid.wav
VS_INSIDE_POWER_ENGINE_5=StockCarLegends\RR\ac_onhigh.wav

// VS_INSIDE_ENGINE_STARTER=StockCarLegends\RR\ac_startup.wav
VS_INSIDE_ENGINE_STARTING=StockCarLegends\RR\ac_startup.wav


// ENGINE SOUNDS (OUTSIDE)

// outside coasting
VS_OUTSIDE_COAST_ENGINE_1=StockCarLegends\RR\acex_idle.wav
VS_OUTSIDE_COAST_ENGINE_2=StockCarLegends\RR\acex_offverylow.wav
VS_OUTSIDE_COAST_ENGINE_3=StockCarLegends\RR\acex_offlow.wav
VS_OUTSIDE_COAST_ENGINE_4=StockCarLegends\RR\acex_offmid.wav
VS_OUTSIDE_COAST_ENGINE_5=StockCarLegends\RR\acex_offhigh.wav

// outside on-throttle
VS_OUTSIDE_POWER_ENGINE_1=StockCarLegends\RR\acex_idle.wav
VS_OUTSIDE_POWER_ENGINE_2=StockCarLegends\RR\acex_onverylow.wav
VS_OUTSIDE_POWER_ENGINE_3=StockCarLegends\RR\acex_onlow.wav
VS_OUTSIDE_POWER_ENGINE_4=StockCarLegends\RR\acex_onmid.wav
VS_OUTSIDE_POWER_ENGINE_5=StockCarLegends\RR\acex_onhigh.wav

//VS_OUTSIDE_ENGINE_STARTER=StockCarLegends\RR\acex_startup.wav
VS_OUTSIDE_ENGINE_STARTING=StockCarLegends\RR\acex_startup.wav

// BACKFIRE & SHIFT SOUNDS (INSIDE)

VS_INSIDE_SHIFT_UP_1=57HillV8Engine\57Hill3_shift_in.wav
VS_INSIDE_SHIFT_UP_2=57HillV8Engine\57Hill3_shift_in.wav
VS_INSIDE_SHIFT_UP_3=57HillV8Engine\57Hill3_shift_in.wav
VS_INSIDE_SHIFT_UP_4=57HillV8Engine\57Hill3_shift_in.wav     // used ???
VS_INSIDE_SHIFT_DOWN_1=57HillV8Engine\57Hill3_shift_in.wav
VS_INSIDE_SHIFT_DOWN_2=57HillV8Engine\57Hill3_shift_in.wav
VS_INSIDE_SHIFT_DOWN_3=57HillV8Engine\57Hill3_shift_in.wav

VS_INSIDE_BACKFIRE_1=Rhez\BF1_in.wav
VS_INSIDE_BACKFIRE_2=Rhez\BF1_rumble_short_in.wav
VS_INSIDE_BACKFIRE_3=Rhez\BF1_rumble_long_in.wav

// BACKFIRE & SHIFT SOUNDS (OUTSIDE)

VS_OUTSIDE_SHIFT_UP_1=Rhez\gear1_shiftup_ex.wav
VS_OUTSIDE_SHIFT_UP_2=Rhez\gear2_shiftup_ex.wav
VS_OUTSIDE_SHIFT_UP_3=Rhez\gear2_shiftup_ex.wav
VS_OUTSIDE_SHIFT_DOWN_1=Rhez\gear1_shiftdown_ex.wav
VS_OUTSIDE_SHIFT_DOWN_2=Rhez\gear2_shiftdown_ex.wav
VS_OUTSIDE_SHIFT_DOWN_3=Rhez\gear2_shiftdown_ex.wav

VS_OUTSIDE_BACKFIRE_1=Rhez\BF3_ex.wav
VS_OUTSIDE_BACKFIRE_2=Rhez\BF2_rumble_short_ex.wav
VS_OUTSIDE_BACKFIRE_3=Rhez\BF2_rumble_long_ex.wav

// ROAD SURFACE SOUNDS  (INSIDE)

VS_INSIDE_ROADNOISE_DRY=TMTires\roadroll_in.wav
VS_INSIDE_ROADNOISE_WET=TMTires\roadroll_in.wav
VS_INSIDE_ROADNOISE_GRASS=TMTires\grassroll_in.wav
VS_INSIDE_ROADNOISE_DIRT=TMTires\gravelroll_in.wav
VS_INSIDE_ROADNOISE_GRAVEL=TMTires\gravelroll_in.wav
VS_INSIDE_ROADNOISE_RUMBLESTRIP=Secondary\rumble_in.wav

// ROAD SURFACE SOUNDS  (OUTSIDE)

VS_OUTSIDE_ROADNOISE_DRY=TMTires\roadroll_ex.wav
VS_OUTSIDE_ROADNOISE_WET=TMTires\roadroll_ex.wav
VS_OUTSIDE_ROADNOISE_GRASS=TMTires\grassroll_ex.wav
VS_OUTSIDE_ROADNOISE_DIRT=TMTires\gravelroll_ex.wav
VS_OUTSIDE_ROADNOISE_GRAVEL=TMTires\gravelroll_ex.wav
VS_OUTSIDE_ROADNOISE_RUMBLESTRIP=Secondary\rumble_ex.wav

// SKID SOUNDS (INSIDE)

VS_INSIDE_TIRE_SCRUB=TMTires\scrub1_dry_in.wav
VS_INSIDE_SKID_DRY=TMTires\skid2_dry_in.wav
VS_INSIDE_SKID_WET=TMTires\skid2_dry_in.wav
VS_INSIDE_SKID_GRASS=TMTires\grassskid_in.wav
VS_INSIDE_SKID_DIRT=TMTires\gravelskid_in.wav
VS_INSIDE_SKID_GRAVEL=TMTires\gravelskid_in.wav

// SKID SOUNDS (INSIDE)

VS_INSIDE_TIRE_SCRUB=TMTires\scrub1_dry_in.wav
VS_INSIDE_SKID_DRY=TMTires\skid2_dry_in.wav
VS_INSIDE_SKID_WET=TMTires\skid2_dry_in.wav
VS_INSIDE_SKID_GRASS=TMTires\grassskid_in.wav
VS_INSIDE_SKID_DIRT=TMTires\gravelskid_in.wav
VS_INSIDE_SKID_GRAVEL=TMTires\gravelskid_in.wav

// SKID SOUNDS (OUTSIDE)

VS_OUTSIDE_TIRE_SCRUB=TMTires\scrub1_dry_ex.wav
VS_OUTSIDE_SKID_DRY=TMTires\skid2_dry_ex.wav
VS_OUTSIDE_SKID_WET=TMTires\skid2_dry_ex.wav
VS_OUTSIDE_SKID_GRASS=TMTires\grassskid_ex.wav
VS_OUTSIDE_SKID_DIRT=TMTires\gravelskid_ex.wav
VS_OUTSIDE_SKID_GRAVEL=TMTires\gravelskid_ex.wav

// CONTACT SOUNDS  (INSIDE)

VS_INSIDE_SCRAPING=secondary\scrape_barrier_in.wav
VS_INSIDE_HIT_WALL_1=secondary\hit1_wall.wav
VS_INSIDE_HIT_WALL_2=secondary\hit2_wall.wav
VS_INSIDE_HIT_WALL_3=secondary\hit3_wall.wav
VS_INSIDE_HIT_WALL_4=secondary\hit4_wall.wav
VS_INSIDE_HIT_WALL_5=secondary\hit5_wall.wav

VS_INSIDE_HIT_OTHERCAR_1=secondary\hit1_vehicle.wav
VS_INSIDE_HIT_OTHERCAR_2=secondary\hit2_vehicle.wav
VS_INSIDE_HIT_OTHERCAR_3=secondary\hit3_vehicle.wav
VS_INSIDE_HIT_OTHERCAR_4=secondary\hit4_vehicle.wav
VS_INSIDE_HIT_OTHERCAR_5=secondary\hit5_vehicle.wav

VS_INSIDE_HIT_CONE=secondary\conehit.wav

// CONTACT SOUNDS  (OUTSIDE)

VS_OUTSIDE_SCRAPING=secondary\scrape_barrier_ex.wav

VS_OUTSIDE_HIT_WALL_1=secondary\hit1_wall.wav
VS_OUTSIDE_HIT_WALL_2=secondary\hit2_wall.wav
VS_OUTSIDE_HIT_WALL_3=secondary\hit3_wall.wav
VS_OUTSIDE_HIT_WALL_4=secondary\hit4_wall.wav
VS_OUTSIDE_HIT_WALL_5=secondary\hit5_wall.wav
VS_outSIDE_HIT_OTHERCAR_1=secondary\hit1_vehicle.wav
VS_outSIDE_HIT_OTHERCAR_2=secondary\hit2_vehicle.wav
VS_outSIDE_HIT_OTHERCAR_3=secondary\hit3_vehicle.wav
VS_outSIDE_HIT_OTHERCAR_4=secondary\hit4_vehicle.wav
VS_outSIDE_HIT_OTHERCAR_5=secondary\hit5_vehicle.wav

VS_OUTSIDE_HIT_CONE=secondary\conehit.wav


// AMBIENT SOUNDS (INSIDE)

VS_INSIDE_SPEED_LIMITER_TOGGLE=secondary\limiter.wav
VS_INSIDE_LAUNCH_CONTROL_TOGGLE=secondary\launch.wav
VS_INSIDE_ON_FIRE=secondary\fire_in.wav
VS_INSIDE_HORN=secondary\horn.wav
VS_INSIDE_TRACTION_CONTROL=secondary\tc_in.wav
VS_INSIDE_SEAT=Secondary\seat.wav 
VS_INSIDE_MIRROR=Secondary\mirror.wav


// AMBIENT SOUNDS (OUTSIDE)

VS_OUTSIDE_SPEED_LIMITER_TOGGLE=secondary\limiter.wav
VS_OUTSIDE_LAUNCH_CONTROL_TOGGLE=secondary\launch.wav
VS_OUTSIDE_WIND_NOISE=secondary\roadstones_ex.wav
VS_OUTSIDE_ON_FIRE=secondary\fire_in.wav
VS_OUTSIDE_HORN=secondary\horn.wav
VS_OUTSIDE_TRACTION_CONTROL=secondary\tc_in.wav

//-------------------------
// ATTENUATION
//-------------------------

EngineRange=80.0
EngineShape=1.00
EngineAmbient=4.00

ShiftRange=80.0
ShiftShape=1.00
ShiftAmbient=4.00

OtherRange=60.0
OtherShape=1.00
OtherAmbient=3.00


// ENGINE VOLUME MIX
playerEngineVolumeMinimum=1.0
playerEngineVolumeThrottleFraction=0.5
playerEngineVolumeRevFraction=0.5

non-playerEngineVolumeMinimum=0.4
non-playerEngineVolumeThrottleFraction=0.3
non-playerEngineVolumeRevFraction=0.3


// ENGINE THROTTLE-POSITION MIX
EngineLoadBlendInside=(0.1,0.7)   // power sound starts to blend in at 30% throttle, coast sound blends out at 70%
EngineLoadBlendOutside=(0.1,0.7)  // power sound starts to blend in at 30% throttle, coast sound blends out at 70%


// ENGINE REV-SAMPLE MIX

// power inside
EngineRPMPowerInside=0
{
  MinimumRPM=150
  MaximumRPM=2000
  NaturalRPM=1816
}

EngineRPMPowerInside=1
{
  MinimumRPM=1780
  MaximumRPM=4546
  NaturalRPM=3000
}

EngineRPMPowerInside=2
{
  MinimumRPM=3098
  MaximumRPM=6878
  NaturalRPM=5500
}

EngineRPMPowerInside=3
{
  MinimumRPM=6100
  MaximumRPM=8900
  NaturalRPM=7000
}

EngineRPMPowerInside=4
{
  MinimumRPM=7050
  MaximumRPM=11000
  NaturalRPM=9500
}

// coast inside
EngineRPMCoastInside=0
{
  MinimumRPM=150
  MaximumRPM=2000
  NaturalRPM=1816
}

EngineRPMCoastInside=1
{
  MinimumRPM=1780
  MaximumRPM=4546
  NaturalRPM=3000
}

EngineRPMCoastInside=2
{
  MinimumRPM=3098
  MaximumRPM=6878
  NaturalRPM=5500
}

EngineRPMCoastInside=3
{
  MinimumRPM=6100
  MaximumRPM=8900
  NaturalRPM=7000
}

EngineRPMCoastInside=4
{
  MinimumRPM=7050
  MaximumRPM=11000
  NaturalRPM=9500
}

// power outside
EngineRPMPowerOutside=0
{
  MinimumRPM=150
  MaximumRPM=2000
  NaturalRPM=1816
}

EngineRPMPowerOutside=1
{
  MinimumRPM=1780
  MaximumRPM=4546
  NaturalRPM=3000
}

EngineRPMPowerOutside=2
{
  MinimumRPM=3098
  MaximumRPM=6878
  NaturalRPM=5500
}

EngineRPMPowerOutside=3
{
  MinimumRPM=6100
  MaximumRPM=8900
  NaturalRPM=7000
}

EngineRPMPowerOutside=4
{
  MinimumRPM=7050
  MaximumRPM=11000
  NaturalRPM=9500
}

// coast outside
EngineRPMCoastOutside=0
{
  MinimumRPM=150
  MaximumRPM=2000
  NaturalRPM=1816
}

EngineRPMCoastOutside=1
{
  MinimumRPM=1780
  MaximumRPM=4546
  NaturalRPM=3000
}


EngineRPMCoastOutside=2
{
  MinimumRPM=3098
  MaximumRPM=6878
  NaturalRPM=5500
}

EngineRPMCoastOutside=3
{
  MinimumRPM=6100
  MaximumRPM=8900
  NaturalRPM=7000
}

EngineRPMCoastOutside=4
{
  MinimumRPM=7050
  MaximumRPM=11000
  NaturalRPM=9500
}

// TRANNY-SAMPLE MIX

VS_INSIDE_COAST_TRANNY_1=Rhez\trans_offlow.wav
VS_INSIDE_COAST_TRANNY_2=Rhez\trans_offhigh.wav
VS_INSIDE_POWER_TRANNY_1=Rhez\trans_onlow.wav
VS_INSIDE_POWER_TRANNY_2=Rhez\trans_onhigh.wav

VS_OUTSIDE_COAST_TRANNY_1=Rhez\trans_offlow.wav
VS_OUTSIDE_COAST_TRANNY_2=Rhez\trans_offhigh.wav
VS_OUTSIDE_POWER_TRANNY_1=Rhez\trans_onlow.wav
VS_OUTSIDE_POWER_TRANNY_2=Rhez\trans_onhigh.wav

TrannyInitialRampRPM=2000.0 // ramp volume up to this driveshaft RPM because low pitches sound bad

TrannyCoastBlendRPMInside=(2000.0, 9500.0) // blend range using driveshaft RPM
TrannyCoast1RPMTorqueInside=(2736, 150.0) // natural RPM at which sample was recorded, transmission torque (in Nm) for maximum volume
TrannyCoast2RPMTorqueInside=(8643, 150.0)

TrannyPowerBlendRPMInside=(2000.0, 9500.0)
TrannyPower1RPMTorqueInside=(4294, 240.0)
TrannyPower2RPMTorqueInside=(9398, 240.0)

TrannyCoastBlendRPMOutside=(4000.0, 10000.0) // blend range using driveshaft RPM
TrannyCoast1RPMTorqueOutside=(3373, 150.0) // natural RPM at which sample was recorded, transmission torque (in Nm) for maximum volume
TrannyCoast2RPMTorqueOutside=(4100, 150.0)

TrannyPowerBlendRPMOutside=(4000.0, 10000.0)
TrannyPower1RPMTorqueOutside=(3373, 240.0)
TrannyPower2RPMTorqueOutside=(7785, 240.0)

// BRAKE HISS 
 
//VS_INSIDE_BRAKES_LOW=Rhez\brakes_low_in.wav    // low-speed
//VS_INSIDE_BRAKES_HIGH=Rhez\brakes_high_in.wav  // high-speed 
//VS_OUTSIDE_BRAKES_LOW=Rhez\brakes_low_ex.wav   // low-speed 
//VS_OUTSIDE_BRAKES_HIGH=Rhez\brakes_high_ex.wav // high-speed
 
// Note: all speeds are in meters/sec: 50.0 m/s = 112 mph = 180 kph 
//
// Lower BrakePressure numbers will cause the volume to ramp up faster with 
// less applied pressure, and will be more steady at higher pressures.
// Higher BrakePressure numbers will tend to make the volume more dependent
// on applied pressure.
//
// Temperature effects on brake hiss volume are not implemented yet. 
 
BrakeRampSpeed=3.0            // volume ramps up to this speed
BrakeBlendSpeeds=(8.0, 23.0)  // blends between low- and high-speed brake hiss
BrakeFadeSpeeds=(23.0, 42.0)  // fades out high-speed brake hiss between these speeds
BrakePressure=0.20            // defines how brake pressure affects brake hiss volume