sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin = -27.263279
gi_integer_width = 4.194351
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A199088 ftgen 0, 0, 17, -2, 0.042120, 0.064289, 0.086458, 0.117494, 0.157398, 0.246073, 0.308145, 0.392386, 0.481061, 0.600772, 0.738219, 0.902267, 1.035280, 1.177160, 1.403281, 1.647137, 1.970800
gi_vh_panning_A199088 ftgen 0, 0, 17, -2, -28.96898, -24.94240, -20.35658, -15.65890, -11.63233, -8.500549, -5.480617, -2.796234, 0, 3.243629, 6.151714, 9.954589, 12.30342, 16.55370, 19.23808, 21.36322, 25.50165
gi_wavetable_0_A199088 ftgen 0, 0, 16384, 1, "unidentified_hollow_sound_1.wav", 0, 0, 0
gi_lowest_integer = 2
gi_highest_integer = 15
gi_base_frequency = 150.500000
gi_resonance_filter_bandwidth_from = 16
gi_resonance_filter_bandwidth_to = 11
instr A199088
i_duration = p3
i_integer = p4
i_azimuth = gi_origin+(i_integer-gi_lowest_integer)*gi_integer_width
i_frequency = gi_base_frequency*i_integer
i_resonance_filter_bandwidth = gi_resonance_filter_bandwidth_from+(i_integer-gi_lowest_integer)*((gi_resonance_filter_bandwidth_to-gi_resonance_filter_bandwidth_from)/(gi_highest_integer-gi_lowest_integer))
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A199088
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A199088
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A199088
a_signal reson a_signal, i_frequency, i_resonance_filter_bandwidth*i_frequency*.01, 1
a_panning = 1.0
vbapz 2, 0, a_panning, k_panning
a_0, a_1 delayst a_signal*k_amplitude, i_azimuth, gi_distance_to_speakers
a_p0 zar 0
a_p1 zar 1
a_0 = a_0*a_p0
a_1 = a_1*a_p1
outs a_0, a_1
endin