sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A116403 = -30.000000
gi_origin_A103343 = 30.000000
gi_integer_width = 0.000000
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A116403 ftgen 0, 0, 17, -2, 0.001410, 0.003462, 0.006546, 0.020266, 0.032845, 0.053809, 0.078967, 0.119500, 0.161429, 0.204757, 0.248084, 0.305389, 0.375272, 0.445155, 0.517833, 0.600295, 0.703418
gi_vh_amplitude_A103343 ftgen 0, 0, 17, -2, 0.001410, 0.003462, 0.006546, 0.020266, 0.032845, 0.053809, 0.078967, 0.119500, 0.161429, 0.204757, 0.248084, 0.305389, 0.375272, 0.445155, 0.517833, 0.600295, 0.703418
gi_vh_panning_A116403 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_A103343 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_A116403 ftgen 0, 0, 16384, 1, "knuckle_twenty.wav", 0, 0, 0
gi_wavetable_0_A103343 ftgen 0, 0, 16384, 1, "knuckle_twenty.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 42
instr A116403
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A116403
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A116403
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A116403
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A116403
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 A103343
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A103343
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A103343
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A103343
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A103343
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