sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin = -24.976905
gi_integer_width = 0.125198
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A199087 ftgen 0, 0, 17, -2, 0.001877, 0.003486, 0.005096, 0.007241, 0.010996, 0.015824, 0.022261, 0.029235, 0.038354, 0.049083, 0.063030, 0.081268, 0.100580, 0.125792, 0.145103, 0.173534, 0.224495
gi_vh_panning_A199087 ftgen 0, 0, 17, -2, -26.33462, -23.36301, -21.10868, -17.31732, -13.93583, -10.86175, -7.480262, -3.996305, 0, 3.122113, 6.148159, 8.812366, 11.68150, 14.65311, 17.41979, 21.92844, 25.00252
gi_lowest_integer = 1
gi_highest_integer = 400
gi_base_frequency = 706.000000
gi_attack_from = .0076
gi_release_from = .0123
gi_golden_ratio = (sqrt(5)-1)/2
gi_power_of_golden_ratio pow gi_golden_ratio, 14
gi_temperament = gi_power_of_golden_ratio+1
instr A199087
i_duration = p3
i_integer = p4
i_multiplier pow gi_temperament, i_integer-gi_lowest_integer
i_frequency = gi_base_frequency*i_multiplier
i_attack = gi_attack_from
i_release = gi_release_from
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_A199087
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A199087
i_length filelen "cole_1980_5.pvx"
k_time phasor 1.0/i_length
k_time = k_time*i_length
a_signal pvoc k_time, i_frequency/733.5, "cole_1980_5.pvx"
a_attack linen 1.0, i_attack, i_duration, 0.0
a_release linen 1.0, 0.0, i_duration, i_release
a_signal = a_signal*a_attack
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_release, a_1*a_release
endin