A
1000
ACF_SOUNDS


# Gulfstream GIV SP Sounds                                   
# Paul Blair

BEGIN_SOUND_SPACE
	SOUND_INDEX 0
	BLEND_DEPTH 0.1
	AABB -1.1 -1.0 -12.0 1.1 1.75 8.60
END_SOUND_SPACE

# -------------------- Muffle Sound When Inside and door closed ---------------------
BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /inside
	EVENT_START_COND sim/flightmodel2/misc/custom_slider_ratio[23] <= 0.005
	EVENT_START_COND sim/operation/sound/inside_ratio[0] >= 0.5
	EVENT_END_COND sim/flightmodel2/misc/custom_slider_ratio[23] > 0.005
END_SOUND_ATTACHMENT

# -------------------- Muffle Sound When Inside and door open ---------------------
BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /door_open
	EVENT_START_COND sim/flightmodel2/misc/custom_slider_ratio[23] > 0.005
	EVENT_START_COND sim/operation/sound/inside_ratio[0] >= 0.5
	EVENT_END_COND sim/flightmodel2/misc/custom_slider_ratio[23] <= 0.005
END_SOUND_ATTACHMENT

# -------------------- Muffle Sound When Outside ---------------------
BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /outside
	EVENT_ALWAYS
END_SOUND_ATTACHMENT


# -------------------- Fade Sound with distance ---------------------
BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /fade
	EVENT_ALWAYS
END_SOUND_ATTACHMENT



# -------------------- Left Engine Start ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /left_engine_start
	VEH_XYZ -2.0 1.0 6.0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/starter_is_running[0] != 0
	EVENT_START_COND sim/flightmodel2/engines/N1_percent[0] < 5
END_SOUND_ATTACHMENT
# -------------------- Left Engine ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /left_engine
	VEH_XYZ -2.0 1.0 6.0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/N1_percent[0] >= 5
	EVENT_END_COND sim/flightmodel2/engines/N1_percent[0] < 5
END_SOUND_ATTACHMENT
# -------------------- Left Engine Reverse ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /reverse_thrust_left
	VEH_XYZ -2.0 1.0 6.0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/N1_percent[0] >= 10
	EVENT_START_COND sim/cockpit2/engine/actuators/throttle_beta_rev_ratio[0] <= -1 
	EVENT_END_COND sim/cockpit2/engine/actuators/throttle_beta_rev_ratio[0] > -1 
END_SOUND_ATTACHMENT
# -------------------- Left Engine Exceedence Warning ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /l_engine_exceedence_warning
	VEH_PART cockpit 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/cockpit2/engine/indicators/N2_percent[0] >= 100.8
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT




# -------------------- Right Engine Start ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /right_engine_start
	VEH_XYZ 2.0 1.0 6.0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/starter_is_running[1] != 0
	EVENT_START_COND sim/flightmodel2/engines/N1_percent[1] < 5
END_SOUND_ATTACHMENT
# -------------------- Right Engine ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /right_engine
	VEH_XYZ 2.0 1.0 6.0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/N1_percent[1] >= 5
	EVENT_END_COND sim/flightmodel2/engines/N1_percent[1] < 5
END_SOUND_ATTACHMENT
# -------------------- Right Engine Reverse ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /reverse_thrust_right
	VEH_XYZ 2.0 1.0 6.0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/cockpit2/engine/actuators/throttle_beta_rev_ratio[1] <= -1 
	EVENT_START_COND sim/flightmodel2/engines/N1_percent[1] >= 10
	EVENT_END_COND sim/cockpit2/engine/actuators/throttle_beta_rev_ratio[1] > -1 
END_SOUND_ATTACHMENT
# -------------------- Right Engine Exceedence Warning ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /r_engine_exceedence_warning
	VEH_PART cockpit 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/cockpit2/engine/indicators/N2_percent[1] >= 100.8
	EVENT_START_COND sim/operation/sound/inside_ratio[0] = 1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT



# -------------------- Wind ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /wind
	EVENT_START_COND sim/flightmodel/position/indicated_airspeed2 >= 60
	EVENT_END_COND sim/flightmodel/position/indicated_airspeed2 < 60
END_SOUND_ATTACHMENT



#Stolen from the LR King Air
# -------------------- Gear airflow ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /gear_airflow
	EVENT_START_COND sim/flightmodel/position/indicated_airspeed2 >= 60
	EVENT_END_COND sim/flightmodel/position/indicated_airspeed2 < 60
END_SOUND_ATTACHMENT

# -------------------- Gear dn ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /gear_down
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/flightmodel2/gear/deploy_ratio[0] > 0
	EVENT_END_COND DELTA=sim/flightmodel2/gear/deploy_ratio[0] == 0
END_SOUND_ATTACHMENT

# -------------------- Gear up ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /gear_up
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/flightmodel2/gear/deploy_ratio[0] < 0
	EVENT_END_COND DELTA=sim/flightmodel2/gear/deploy_ratio[0] == 0
END_SOUND_ATTACHMENT


#Stolen from the LR F-14 and SR-22


# -------------------- Tire roll 1 ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /ground_roll
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_force_n_mtr[0] > 5
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /wheel_skid
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/gear/on_ground[2] == 1
	EVENT_START_COND sim/weather/runway_friction <= 2
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[0] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /wheel_skid_wet
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/gear/on_ground[2] == 1
	EVENT_START_COND sim/weather/runway_friction > 2
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[0] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /tire_impact
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_POLYPHONIC
	EVENT_START_COND ABS_DELTA=sim/flightmodel2/gear/tire_vertical_deflection_mtr[0] > 0.2
END_SOUND_ATTACHMENT

# -------------------- Tire roll 2 ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /ground_roll
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_force_n_mtr[1] > 5
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /wheel_skid
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_START_COND sim/flightmodel2/gear/on_ground[2] == 1
	EVENT_START_COND sim/weather/runway_friction <= 2
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[1] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /wheel_skid_wet
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_START_COND sim/flightmodel2/gear/on_ground[2] == 1
	EVENT_START_COND sim/weather/runway_friction > 2
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[1] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /tire_impact
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_POLYPHONIC
	EVENT_START_COND ABS_DELTA=sim/flightmodel2/gear/tire_vertical_deflection_mtr[1] > 0.7
END_SOUND_ATTACHMENT

# -------------------- Tire roll 3 ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /ground_roll
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_force_n_mtr[2] > 5
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /wheel_skid
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_START_COND sim/flightmodel2/gear/on_ground[2] == 1
	EVENT_START_COND sim/weather/runway_friction <= 2
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[2] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /wheel_skid_wet
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_START_COND sim/flightmodel2/gear/on_ground[2] == 1
	EVENT_START_COND sim/weather/runway_friction > 2
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[2] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /tire_impact
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_POLYPHONIC
	EVENT_START_COND ABS_DELTA=sim/flightmodel2/gear/tire_vertical_deflection_mtr[2] > 0.7
END_SOUND_ATTACHMENT


# -------------------- Generator Start ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /generator_start
	VEH_PART cockpit 0
	EVENT_START_COND giv_dataref/generator_sound == 1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

# -------------------- Seatbelt Sign ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /seatbelt_on
	VEH_PART cockpit 0
	EVENT_START_COND giv_dataref/seatbelt_sound == 1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT



# -------------------- Bateries On ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /batteries_on
	VEH_PART cockpit 0
	EVENT_START_COND giv_dataref/batteries_on == 1
	EVENT_END_COND giv_dataref/batteries_on == 0
END_SOUND_ATTACHMENT

# -------------------- Power On ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /power_on_start
	VEH_PART cockpit 0
	EVENT_START_COND giv_dataref/poweron_start == 1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

# -------------------- APU ---------------------
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /apu
	VEH_XYZ -2.0 -1.0 6.0
	EVENT_START_COND sim/cockpit2/electrical/APU_N1_percent > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

#--------------------- All the fucking switches --------------------

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/fire_extinguisher_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/fire_extinguisher_on[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/generic_lights_switch[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/spot_light_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/generic_lights_switch[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/generic_lights_switch[2] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/generic_lights_switch[3] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/radios/actuators/nav1_power != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/ice/ice_surfce_heat_left_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/ice/ice_inlet_heat_on_per_engine[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/ice/ice_inlet_heat_on_per_engine[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/ice/ice_surfce_heat_right_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/beacon_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/strobe_lights_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/navigation_lights_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/landing_lights_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/taxi_light_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/avionics_power_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/fasten_seat_belts != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/no_smoking != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/ice/ice_AOA_heat_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/ice/ice_pitot_heat_on_pilot != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/ice/ice_pitot_heat_on_copilot != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/ice/ice_window_heat_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/electric_hydraulic_pump_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/ignition_on[2] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/igniter_on[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/igniter_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/electrical/battery_on[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/electrical/battery_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/electrical/APU_generator_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/electrical/generator_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/electrical/generator_on[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/fuel/fuel_tank_pump_on[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/fuel_pump_on[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/fuel_pump_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/fuel/fuel_tank_pump_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/electrical/APU_starter_switch != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/controls/parking_brake_ratio != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
#BEGIN_SOUND_ATTACHMENT
#	EVENT_NAME /click
#	EVENT_POLYPHONIC
#	VEH_PART cockpit 0
#	EVENT_START_COND DELTA=sim/cockpit2/switches/panel_brightness_ratio[0] != 0
#	EVENT_AUTO_END_FROM_START_COND
#END_SOUND_ATTACHMENT
#BEGIN_SOUND_ATTACHMENT
#	EVENT_NAME /click
#	EVENT_POLYPHONIC
#	VEH_PART cockpit 0
#	EVENT_START_COND DELTA=sim/cockpit2/switches/panel_brightness_ratio[3] != 0
#	EVENT_AUTO_END_FROM_START_COND
#END_SOUND_ATTACHMENT
#BEGIN_SOUND_ATTACHMENT
#	EVENT_NAME /click
#	EVENT_POLYPHONIC
#	VEH_PART cockpit 0
#	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[0] != 0
#	EVENT_AUTO_END_FROM_START_COND
#END_SOUND_ATTACHMENT
#BEGIN_SOUND_ATTACHMENT
#	EVENT_NAME /click
#	EVENT_POLYPHONIC
#	VEH_PART cockpit 0
#	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[12] != 0
#	EVENT_AUTO_END_FROM_START_COND
#END_SOUND_ATTACHMENT
#BEGIN_SOUND_ATTACHMENT
#	EVENT_NAME /click
#	EVENT_POLYPHONIC
#	VEH_PART cockpit 0
#	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[8] != 0
#	EVENT_AUTO_END_FROM_START_COND
#END_SOUND_ATTACHMENT
#BEGIN_SOUND_ATTACHMENT
#	EVENT_NAME /click
#	EVENT_POLYPHONIC
#	VEH_PART cockpit 0
#	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[11] != 0
#	EVENT_AUTO_END_FROM_START_COND
#END_SOUND_ATTACHMENT
#BEGIN_SOUND_ATTACHMENT
#	EVENT_NAME /click
#	EVENT_POLYPHONIC
#	VEH_PART cockpit 0
#	EVENT_START_COND DELTA=sim/cockpit2/switches/panel_brightness_ratio[2] != 0
#	EVENT_AUTO_END_FROM_START_COND
#END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[2] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[7] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/avionics_power_on[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[9] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/navigation_lights_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/strobe_lights_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/beacon_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/spot_light_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/taxi_light_on[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/fasten_seat_belts[2] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/no_smoking[2] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/electric_hydraulic_pump_on[2] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/jet_sync_mode[2] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/yaw_damper_on[2] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[3] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[4] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[5] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[6] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[13] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/instrument_brightness_ratio[10] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/custom_slider_on[23] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/altitude_mode != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/heading_mode != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/autothrottle_on != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=laminar/B738/autopilot/autothrottle_status != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/glideslope_armed != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/vvi_status != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/vnav_status != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/hnav_armed != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=laminar/B738/autopilot/cws_a_status != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=laminar/B738/autopilot/cws_b_status != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/lnav_status != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/bank_angle_mode[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/flight_director_mode != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/autopilot_source != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/autopilot/fms_vnav != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /click
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/controls/speedbrake_ratio[1] != 0
	# Only click when arming or disarming
	EVENT_START_COND sim/cockpit2/controls/speedbrake_ratio[1] <= 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT


#sim/cockpit2/engine/actuators/mixture_ratio[0]
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /fuelcock
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/mixture_ratio[0] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /fuelcock
	EVENT_POLYPHONIC
	#VEH_PART cockpit 0
	VEH_XYZ 0 0 -30
	EVENT_START_COND DELTA=sim/cockpit2/engine/actuators/mixture_ratio[1] != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /flaplever
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/flightmodel/controls/flaprqst > 0.2
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /gearlever
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/switches/gear_handle_status > 0.5
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /speedbrakelever
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/controls/speedbrake_ratio > 0.25
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /parkingbrake
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/controls/parking_brake_ratio > 0.2
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /reversethrustlever
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/throttle_ratio[0] == 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/throttle_beta_rev_ratio[0] > 0.9
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /reversethrustlever
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/throttle_ratio[1] == 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/throttle_beta_rev_ratio[1] > 0.9
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT



BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /dialclick
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/HSI_source_select_copilot > 0.1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /dialclick
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/HSI_source_select_pilot > 0.1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /dialclick
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/EFIS/map_mode > 0.1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /dialclick
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/EFIS/map_mode_copilot > 0.1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /dialclick
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/EFIS/map_range > 0.1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /dialclick
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/EFIS/map_range_copilot > 0.1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /dialclick
	EVENT_POLYPHONIC
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/transponder_mode > 0.1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

