sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A098861 = -30.000000
gi_origin_A019586 = 30.000000
gi_integer_width = 0.000000
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A098861 ftgen 0, 0, 17, -2, 0.002278, 0.009662, 0.013834, 0.024390, 0.036139, 0.048444, 0.068427, 0.086423, 0.093742, 0.114140, 0.151282, 0.191624, 0.252136, 0.317146, 0.404273, 0.5, 0.624786
gi_vh_amplitude_A019586 ftgen 0, 0, 17, -2, 0.001490, 0.008046, 0.015198, 0.025331, 0.037251, 0.050364, 0.070940, 0.087318, 0.096855, 0.117761, 0.134188, 0.167307, 0.209853, 0.258148, 0.341025, 0.445579, 0.581265
gi_vh_panning_A098861 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_A019586 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_A098861 ftgen 0, 0, 16384, 1, "palm_tap_one.wav", 0, 0, 0
gi_wavetable_0_A019586 ftgen 0, 0, 16384, 1, "palm_tap_two.wav", 0, 0, 0
gi_lowest_integer = 0
gi_highest_integer = 376
instr A098861
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A098861
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A098861
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A098861
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A098861
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 A019586
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A019586
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A019586
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A019586
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A019586
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