sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin = 25.392610
gi_integer_width = -4.232102
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A199539 ftgen 0, 0, 17, -2, 0.258974, 0.282905, 0.305128, 0.323931, 0.342735, 0.395726, 0.392307, 0.441880, 0.457264, 0.494871, 0.523931, 0.527350, 0.551282, 0.568376, 0.588888, 0.611111, 0.626495
gi_vh_panning_A199539 ftgen 0, 0, 17, -2, 24.68943, 21.98088, 18.75146, 15.83456, 12.81350, 9.584081, 6.348152, 3.174076, 0, -3.174076, -7.083887, -9.792432, -13.12602, -16.14709, -19.48069, -22.21853, -26.46040
gi_lowest_integer = 1
gi_highest_integer = 13
gi_base_frequency = 420.700000
gi_attack_from = .0055
gi_release_from = .0089
gi_golden_ratio = (sqrt(5)-1)/2
gi_power_of_golden_ratio pow gi_golden_ratio, 7
gi_temperament = gi_power_of_golden_ratio+1
instr A199539
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_A199539
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A199539
i_length filelen "cole_1980_21.pvx"
k_time phasor 1.0/i_length
k_time = k_time*i_length
a_signal pvoc k_time, i_frequency/297.5, "cole_1980_21.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