sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A199539 = -30.000000
gi_origin_A199538 = 30.000000
gi_integer_width = 0.000000
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A199539 ftgen 0, 0, 17, -2, 0.020235, 0.021814, 0.026265, 0.033388, 0.037840, 0.040511, 0.045853, 0.053867, 0.066332, 0.081468, 0.093043, 0.112631, 0.136671, 0.174066, 0.238173, 0.329881, 0.466998
gi_vh_amplitude_A199538 ftgen 0, 0, 17, -2, 0.031027, 0.037323, 0.037323, 0.042719, 0.045417, 0.051713, 0.056210, 0.061606, 0.067901, 0.079593, 0.087687, 0.102976, 0.126360, 0.161435, 0.215397, 0.287346, 0.403363
gi_vh_panning_A199539 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_A199538 ftgen 0, 0, 17, -2, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30
gi_wavetable_0_A199539 ftgen 0, 0, 0, 1, "tongue_pop_two.wav", 0, 0, 0
gi_wavetable_0_A199538 ftgen 0, 0, 0, 1, "tongue_pop_one.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 610
gi_base_frequency = 1688.000000
gi_attack_from = .0034
gi_attack_to = .0055
gi_release_from = .0055
gi_release_to = .0089
gi_golden_ratio = (sqrt(5)-1)/2
gi_power_of_golden_ratio pow gi_golden_ratio, 11
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_integer-gi_lowest_integer)*((gi_attack_to-gi_attack_from)/(gi_highest_integer-gi_lowest_integer))
i_release = gi_release_from+(i_integer-gi_lowest_integer)*((gi_release_to-gi_attack_from)/(gi_highest_integer-gi_lowest_integer))
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A199539
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_wavetable_0_A199539 ftgenonce 0, 0, 8192, 30, gi_wavetable_0_A199539, 1, floor((sr/2)/i_frequency)
a_signal poscil3 k_amplitude, i_frequency, i_wavetable_0_A199539
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, 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 A199538
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_integer-gi_lowest_integer)*((gi_attack_to-gi_attack_from)/(gi_highest_integer-gi_lowest_integer))
i_release = gi_release_from+(i_integer-gi_lowest_integer)*((gi_release_to-gi_attack_from)/(gi_highest_integer-gi_lowest_integer))
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A199538
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A199538
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A199538
i_wavetable_0_A199538 ftgenonce 0, 0, 8192, 30, gi_wavetable_0_A199538, 1, floor((sr/2)/i_frequency)
a_signal poscil3 k_amplitude, i_frequency, i_wavetable_0_A199538
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, 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