sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A066853 = -30.000000
gi_origin_A118965 = 30.000000
gi_integer_width = 0.000000
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A066853 ftgen 0, 0, 17, -2, 0.002564, 0.003720, 0.006542, 0.010134, 0.013983, 0.018344, 0.027068, 0.041880, 0.064014, 0.096581, 0.149572, 0.217948, 0.300000, 0.380341, 0.477777, 0.597435, 0.771794
gi_vh_amplitude_A118965 ftgen 0, 0, 17, -2, 0.002564, 0.003720, 0.006542, 0.010134, 0.013983, 0.018344, 0.027068, 0.041880, 0.064014, 0.096581, 0.149572, 0.217948, 0.300000, 0.380341, 0.477777, 0.597435, 0.771794
gi_vh_panning_A066853 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_A118965 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_A066853 ftgen 0, 0, 16384, 1, "raw_charcoal_8.wav", 0, 0, 0
gi_wavetable_0_A118965 ftgen 0, 0, 16384, 1, "raw_charcoal_8.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 966
instr A066853
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A066853
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A066853
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A066853
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A066853
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 A118965
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A118965
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A118965
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A118965
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A118965
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