sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin = 26.916859
gi_integer_width = -2.691686
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A167966 ftgen 0, 0, 17, -2, 0.003179, 0.006196, 0.016817, 0.025669, 0.039517, 0.052223, 0.062845, 0.089400, 0.112414, 0.144279, 0.193848, 0.246957, 0.321310, 0.404514, 0.519584, 0.655897, 0.871874
gi_vh_panning_A167966 ftgen 0, 0, 17, -2, 26.91685, 23.63162, 18.44150, 15.57036, 12.92009, 9.717678, 6.729214, 3.364607, 0, -3.364607, -6.294404, -9.607248, -11.70538, -15.01822, -18.55192, -22.63776, -26.72360
gi_wavetable_0_A167966 ftgen 0, 0, 16384, 1, "burning_charcoal_33.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 21
instr A167966
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_A167966
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A167966
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A167966
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