A
1000
ACF_SOUNDS

DISABLE_LEGACY_ALERT_SOUNDS

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

BEGIN_SOUND_SPACE
	SOUND_INDEX 0
	BLEND_DEPTH 0.05
	AABB -0.55 -0.3 -1.1 0.55 1.4 1.60
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 /MHB_door1_open
		VEH_XYZ -0.700 0.042 0.659
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/misc/door_open_ratio[0] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /MHB_door2_open
		VEH_XYZ -0.700 0.042 0.659
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/misc/door_open_ratio[1] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /MHB_windowL_open
		VEH_XYZ -0.700 0.042 0.659
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/misc/door_open_ratio[2] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /MHB_windowR_open
		VEH_XYZ -0.700 0.042 0.659
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/misc/door_open_ratio[3] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT


BEGIN_SOUND_ATTACHMENT
  SNAPSHOT_NAME /MHB_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

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

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_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 /MHB_engine_external
	VEH_PART cockpit 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 /MHB_fuelpump
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/engines/fuel_pump_spinning[0] == 1
	EVENT_END_COND sim/flightmodel2/engines/fuel_pump_spinning[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_starter
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/engines/starter_making_torque[0] == 1
	EVENT_END_COND sim/flightmodel2/engines/starter_making_torque[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_engine_inn
	VEH_PART engine 0
	PARAM_DREF_IDX 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 /MHB_engine_out
	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

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

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_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 /MHB_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.5
	EVENT_END_COND sim/flightmodel2/gear/tire_skid_ratio[1] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_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.5
	EVENT_END_COND sim/flightmodel2/gear/tire_skid_ratio[2] == 0
END_SOUND_ATTACHMENT

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

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

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

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

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

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_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 /MHB_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 /MHB_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 /MHB_flaps
	VEH_XYZ 2.005584 0.673608 1.2192
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/flightmodel2/wing/flap1_deg[0] > 0
	EVENT_END_COND DELTA=sim/flightmodel2/wing/flap1_deg[0] < 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_flaps
	VEH_XYZ 2.005584 0.673608 1.2192
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/flightmodel2/wing/flap1_deg[0] < 0
	EVENT_END_COND DELTA=sim/flightmodel2/wing/flap1_deg[0] > 0
END_SOUND_ATTACHMENT


###############
# DOORS SOUNDS
###############

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_Door1
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/door_open[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_Door2
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/cockpit2/switches/door_open[1] != 0
END_SOUND_ATTACHMENT



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

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_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 /MHB_avionics
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/cockpit2/electrical/battery_on[0] == 1
	EVENT_END_COND sim/cockpit2/electrical/battery_on[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_stall
	VEH_PART cockpit 0
	EVENT_START_COND sim/cockpit2/annunciators/stall_warning_ratio > 0.3
	EVENT_END_COND sim/cockpit2/annunciators/stall_warning_ratio == 0
END_SOUND_ATTACHMENT

###################
# SWITCHES SOUNDS
###################
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/controls/parking_brake_ratio != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/fuel/fuel_tank_selector != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click_soft
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/panel_brightness_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click_soft
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/panel_brightness_ratio[1] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click_soft
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/instrument_brightness_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/electrical/landing_lights_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_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 /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/fuel_pump_on[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/electrical/battery_on[0] != 0
END_SOUND_ATTACHMENT

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

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

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/ignition_on[0] != 0
END_SOUND_ATTACHMENT

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

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/controls/flap_ratio != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/starter_hit[0] != 0
END_SOUND_ATTACHMENT

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

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

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/primer_ratio[0] != 0
END_SOUND_ATTACHMENT

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

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/standby_vacuum_pump != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=custom/MHB/flaps_switch != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/cockpit2/switches/door_open_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
		EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
		EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[11] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
		EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[12] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
		EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[13] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
		EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[15] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
		EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[16] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/panel_brightness_ratio[2] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/ice/ice_pitot_heat_on_pilot != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/panel_brightness_ratio[3] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/electrical/beacon_lights_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=custom/MHB/ADF_SW != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=custom/MHB/ADF_channel1 != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=custom/MHB/ADF_channel3 != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=custom/MHB/ADF_channel4 != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=custom/MHB/ADF_channel1 != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/com1_power != 0
END_SOUND_ATTACHMENT


BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /MHB_clack
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/MHB/Fuel_cutoff != 0
END_SOUND_ATTACHMENT

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

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



