A
1000
ACF_SOUNDS

DISABLE_LEGACY_ALERT_SOUNDS

##################################
# THE INSIDE SOUND SPACE
##################################

BEGIN_SOUND_SPACE
	SOUND_INDEX 0
	BLEND_DEPTH 0.03
	AABB -0.55 -0.45 -0.90 0.55 0.67 1.10
END_SOUND_SPACE

##################################
# MIXER SNAPSHOTS
##################################

BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /ducker
	EVENT_START_COND sim/time/total_flight_time_sec > 0
	EVENT_END_COND sim/time/total_flight_time_sec > 3
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /A200S_canopy_open
	EVENT_START_COND sim/flightmodel2/misc/canopy_open_ratio[0] > 0.05
	EVENT_END_COND sim/flightmodel2/misc/canopy_open_ratio[0] < 0.05
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
  SNAPSHOT_NAME /A200S_external_view
    EVENT_START_COND sim/graphics/view/view_is_external != 1
    EVENT_END_COND sim/graphics/view/view_is_external == 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /A200S_window_open
	EVENT_START_COND sim/flightmodel2/misc/custom_slider_ratio[0] > 0.1
	EVENT_END_COND sim/flightmodel2/misc/custom_slider_ratio[0] < 0.1
END_SOUND_ATTACHMENT

#################
# EXTERIOR SOUNDS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_airspeed_noise
	VEH_PART cockpit 0
	EVENT_START_COND sim/flightmodel/position/true_airspeed >= 1
	EVENT_END_COND sim/flightmodel/position/true_airspeed < 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_engine_external
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/engine_rotation_speed_rad_sec[0] > 1
	EVENT_END_COND sim/flightmodel2/engines/engine_rotation_speed_rad_sec[0] < 1
END_SOUND_ATTACHMENT

#################
# ENGINE SOUNDS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_fuelpump
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/fuel_pump_spinning[0] == 1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_starter_inn
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/cockpit2/engine/actuators/starter_hit[0] == 1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_starter_out
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/cockpit2/engine/actuators/starter_hit[0] == 1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_start_up
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
  EVENT_END_COND ABS_DELTA=sim/flightmodel2/engines/engine_is_burning_fuel[0] > 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_engine_in
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND custom/A200S/Prop_lever > 0
	EVENT_START_COND sim/flightmodel2/engines/engine_rotation_speed_rad_sec[0] > 1
	EVENT_END_COND sim/flightmodel2/engines/engine_rotation_speed_rad_sec[0] < 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_engine_out
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND custom/A200S/Prop_lever > 0
	EVENT_START_COND sim/flightmodel2/engines/engine_rotation_speed_rad_sec[0] > 1
	EVENT_END_COND sim/flightmodel2/engines/engine_rotation_speed_rad_sec[0] < 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_prop
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND custom/A200S/Prop_lever > 0
	EVENT_START_COND sim/flightmodel2/engines/engine_rotation_speed_rad_sec[0] > 500
	EVENT_END_COND sim/flightmodel2/engines/engine_rotation_speed_rad_sec[0] < 500
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
    EVENT_NAME /A200S_shutdown_inn
    VEH_PART  engine 0
    PARAM_DREF_IDX   0
    EVENT_START_COND  DELTA=sim/flightmodel2/engines/engine_is_burning_fuel[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
    EVENT_NAME /A200S_shutdown_out
    VEH_PART  engine 0
    PARAM_DREF_IDX   0
    EVENT_ALLOWED_FOR_AI
    EVENT_START_COND  DELTA=sim/flightmodel2/engines/engine_is_burning_fuel[0] == 0
END_SOUND_ATTACHMENT

#################
# TIRE SKIDDING
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_wheel_skid
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[0] > 0.5
	EVENT_END_COND sim/flightmodel2/gear/tire_skid_ratio[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_wheel_skid
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_ALLOWED_FOR_AI
	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 /A200S_wheel_skid
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_ALLOWED_FOR_AI
  EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[2] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

#################
# TIRE ROLL SOUND
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_ground_roll
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/on_ground[0] == 1
	EVENT_START_COND sim/flightmodel2/gear/tire_rotation_speed_rad_sec[0] > 0.2
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_ground_roll
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/on_ground[1] == 1
	EVENT_START_COND sim/flightmodel2/gear/tire_rotation_speed_rad_sec[1] > 0.2
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_ground_roll
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/on_ground[2] == 1
	EVENT_START_COND sim/flightmodel2/gear/tire_rotation_speed_rad_sec[2] > 0.2
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

#################
# TIRE IMPACT SOUNDS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_touchdn
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/total_deflection_rate[0] > 1
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_deflection_mtr[0] > 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_touchdn
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/total_deflection_rate[1] > 1
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_deflection_mtr[1] > 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_touchdn
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/total_deflection_rate[2] > 1
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_deflection_mtr[2] > 0
END_SOUND_ATTACHMENT


#################
# FLAPS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_spoilers
	VEH_XYZ 2.005584 0.673608 1.2192
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND ABS_DELTA=sim/flightmodel2/controls/speedbrake_ratio > 0.1
	EVENT_START_COND ABS_DELTA=sim/flightmodel2/controls/speedbrake_ratio > 0.5
END_SOUND_ATTACHMENT

###############
# CANOPY SOUND
###############

BEGIN_SOUND_ATTACHMENT
	 EVENT_NAME /A200S_canopy
	 VEH_XYZ -0.554736 0.070104 1.524
	 PARAM_DREF_IDX 0
	 EVENT_START_COND sim/cockpit2/switches/canopy_open[0] == 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	 EVENT_NAME /A200S_canopy
	 VEH_XYZ -0.554736 0.070104 1.524
	 PARAM_DREF_IDX 0
	 EVENT_START_COND sim/cockpit2/switches/canopy_open[0] == 0
END_SOUND_ATTACHMENT


BEGIN_SOUND_ATTACHMENT
	 EVENT_NAME /A200S_window
	 VEH_XYZ -0.554736 0.070104 1.524
	 PARAM_DREF_IDX 0
	 EVENT_START_COND DELTA=sim/flightmodel2/misc/custom_slider_ratio[5] > 0
	 EVENT_END_COND DELTA=sim/flightmodel2/misc/custom_slider_ratio[5] <= 0
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	 EVENT_NAME /A200S_window
	 VEH_XYZ -0.554736 0.070104 1.524
	 PARAM_DREF_IDX 0
	 EVENT_START_COND DELTA=sim/flightmodel2/misc/custom_slider_ratio[5] < 0
	 EVENT_END_COND DELTA=sim/flightmodel2/misc/custom_slider_ratio[5] >= 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	 EVENT_NAME /A200S_window
	 VEH_XYZ -0.554736 0.070104 1.524
	 PARAM_DREF_IDX 0
	 EVENT_START_COND DELTA=sim/flightmodel2/misc/custom_slider_ratio[6] > 0
	 EVENT_END_COND DELTA=sim/flightmodel2/misc/custom_slider_ratio[6] <= 0
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	 EVENT_NAME /A200S_window
	 VEH_XYZ -0.554736 0.070104 1.524
	 PARAM_DREF_IDX 0
	 EVENT_START_COND DELTA=sim/flightmodel2/misc/custom_slider_ratio[6] < 0
	 EVENT_END_COND DELTA=sim/flightmodel2/misc/custom_slider_ratio[6] >= 0
END_SOUND_ATTACHMENT


#################
# COCKPIT SOUNDS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_rain_int
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/weather/precipitation_on_aircraft_ratio != 0
	EVENT_END_COND sim/weather/precipitation_on_aircraft_ratio == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_te_climb
	VEH_PART cockpit 0
	EVENT_START_COND sim/time/paused == 0
	EVENT_START_COND sim/cockpit2/switches/total_energy_audio_on == 1
	EVENT_START_COND ABS_DELTA=sim/cockpit2/gauges/indicators/total_energy_fpm != 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_stall
	VEH_PART cockpit 0
	EVENT_START_COND sim/cockpit2/annunciators/stall_warning_ratio != 0
	EVENT_END_COND sim/cockpit2/annunciators/stall_warning_ratio == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_avionics
	VEH_PART cockpit 0
	PARAM_DREF_IDX 1
	EVENT_START_COND sim/cockpit2/electrical/battery_on[0] >9
  EVENT_START_COND sim/cockpit/gyros/gyr_spin[1] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_gear
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/controls/gear_handle_down != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_gear
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/aircraft/parts/acf_gear_deploy[1] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_gear
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/aircraft/parts/acf_gear_deploy[2] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_prop_lever
	VEH_XYZ 0 0 0
	EVENT_START_COND ABS_DELTA=custom/A200S/Prop_lever != 0
END_SOUND_ATTACHMENT

###################
# SWITCHES SOUNDS
###################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/A200S/Fuel_handle != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/flightmodel/controls/parkbrake != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/idle_speed_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/carb_heat_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/A200S/Elec_switch != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/A200S/Mag_left != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/A200S/Mag_right != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/electrical/generator_on[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/fuel_pump_on[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/A200S/SW_Gyro != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/A200S/SW_Horiz != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/A200S/SW_Turnco != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/avionics_power_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/A200S/SW_Vario != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/strobe_lights_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/electrical/nav_lights_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/annunciators/gear_warning_aural != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/warnings/annunciator_test_pressed != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[1] != 0
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/total_energy_audio_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/transponder_mode != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click_soft
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/transponder_code != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click_soft
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/gauges/actuators/barometer_setting_in_hg_pilot != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/gyros/gyr_cage_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click_soft
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/autopilot/heading_mag != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/idle_speed_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/carb_heat_ratio[0] != 0
END_SOUND_ATTACHMENT



BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_cowl
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/cowl_flap_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /A200S_click
	VEH_PART cockpit 0
	EVENT_START_COND CMND=sim/annunciator/gear_warning_mute != 0
END_SOUND_ATTACHMENT


