sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A104450 = -30.000000
gi_origin_A104451 = 30.000000
gi_integer_width = 0.000000
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A104450 ftgen 0, 0, 17, -2, 0.011111, 0.024299, 0.035515, 0.056699, 0.076638, 0.099069, 0.123992, 0.147669, 0.171346, 0.198761, 0.233653, 0.274776, 0.307176, 0.339576, 0.366992, 0.389423, 0.423069
gi_vh_amplitude_A104451 ftgen 0, 0, 17, -2, 0.014529, 0.040170, 0.082905, 0.129059, 0.182051, 0.231623, 0.300000, 0.361538, 0.416239, 0.465811, 0.517094, 0.554700, 0.616239, 0.698547, 0.783162, 0.867777, 0.999401
gi_vh_panning_A104450 ftgen 0, 0, 17, -2, -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, -30, -30
gi_vh_panning_A104451 ftgen 0, 0, 17, -2, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30
gi_wavetable_0_A104450 ftgen 0, 0, 16384, 1, "chip_clip_4.wav", 0, 0, 0
gi_wavetable_0_A104451 ftgen 0, 0, 16384, 1, "chip_clip_3.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 34
instr A104450
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A104450
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A104450
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A104450
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A104450
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
instr A104451
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A104451
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A104451
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A104451
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A104451
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