sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A133772 = -30.000000
gi_origin_A133773 = 30.000000
gi_integer_width = 0.000000
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A133772 ftgen 0, 0, 17, -2, 0.003179, 0.005923, 0.008851, 0.015288, 0.023381, 0.034601, 0.052304, 0.078873, 0.098976, 0.148866, 0.189100, 0.253475, 0.307509, 0.417630, 0.515802, 0.620411, 0.784566
gi_vh_amplitude_A133773 ftgen 0, 0, 17, -2, 0.003532, 0.004968, 0.009157, 0.014905, 0.017714, 0.029101, 0.040458, 0.063172, 0.074529, 0.112858, 0.152607, 0.209392, 0.271854, 0.351352, 0.467760, 0.609721, 0.797109
gi_vh_panning_A133772 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_A133773 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_A133772 ftgen 0, 0, 16384, 1, "post-it_grain_2.wav", 0, 0, 0
gi_wavetable_0_A133773 ftgen 0, 0, 16384, 1, "post-it_grain_3.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 31
instr A133772
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A133772
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A133772
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A133772
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A133772
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 A133773
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A133773
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A133773
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A133773
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A133773
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