sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin = 28.510393
gi_integer_width = -2.280831
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A003263 ftgen 0, 0, 17, -2, 0.005046, 0.015674, 0.026123, 0.041051, 0.045529, 0.058964, 0.073891, 0.093297, 0.121686, 0.161965, 0.197791, 0.250038, 0.306763, 0.391851, 0.493359, 0.641143, 0.820275
gi_vh_panning_A003263 ftgen 0, 0, 17, -2, 29.00749, 25.49852, 22.45741, 18.59754, 14.73767, 10.99477, 7.251876, 3.508968, -2.842170, -3.392004, -7.017942, -10.40994, -13.91892, -17.54485, -20.81989, -24.56279, -28.07176
gi_wavetable_0_A003263 ftgen 0, 0, 16384, 1, "cluck_seven.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 26
instr A003263
i_duration = p3
i_integer = p4
i_azimuth = gi_origin+(i_integer-gi_lowest_integer)*gi_integer_width
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A003263
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A003263
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A003263
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