sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A103343 = -30.000000
gi_origin_A103344 = 30.000000
gi_integer_width = 0.000000
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A103343 ftgen 0, 0, 17, -2, 0.063366, 0.088040, 0.105985, 0.125051, 0.142996, 0.157576, 0.181128, 0.196829, 0.215896, 0.228233, 0.231597, 0.240569, 0.245056, 0.252906, 0.257393, 0.258514, 0.265243
gi_vh_amplitude_A103344 ftgen 0, 0, 17, -2, 0.083829, 0.097153, 0.114918, 0.139345, 0.144897, 0.172655, 0.197082, 0.222619, 0.244826, 0.260370, 0.274804, 0.299232, 0.303673, 0.307004, 0.303673, 0.294790, 0.292570
gi_vh_panning_A103343 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_A103344 ftgen 0, 0, 17, -2, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30
gi_lowest_integer = 0
gi_highest_integer = 26
gi_base_frequency = 488.000000
gi_attack_from = .0055
gi_release_from = .0089
gi_golden_ratio = (sqrt(5)-1)/2
gi_power_of_golden_ratio pow gi_golden_ratio, 8
gi_temperament = gi_power_of_golden_ratio+1
instr A103343
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 = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A103343
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A103343
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A103343
i_length filelen "falsetto_three.pvx"
k_time phasor 1.0/i_length
k_time = k_time*i_length
a_signal pvoc k_time, i_frequency/643, "falsetto_three.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
instr A103344
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 = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A103344
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A103344
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A103344
i_length filelen "falsetto_twelve.pvx"
k_time phasor 1.0/i_length
k_time = k_time*i_length
a_signal pvoc k_time, i_frequency/648, "falsetto_twelve.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