sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A084532 = -30.000000
gi_origin_A084531 = 30.000000
gi_integer_width = 0.000000
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A084532 ftgen 0, 0, 17, -2, 0.517942, 0.372837, 0.308347, 0.280132, 0.312377, 0.352684, 0.376868, 0.360745, 0.413144, 0.485696, 0.542126, 0.618709, 0.699322, 0.808151, 0.989531, 1.275710, 1.775331
gi_vh_amplitude_A084531 ftgen 0, 0, 17, -2, 0.368807, 0.288193, 0.231764, 0.235794, 0.304316, 0.364776, 0.449420, 0.558249, 0.634832, 0.711415, 0.787997, 0.884734, 1.013715, 1.114483, 1.271679, 1.473213, 1.791637
gi_vh_panning_A084532 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_A084531 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_A084532 ftgen 0, 0, 16384, 1, "glottal_rattle_nine.wav", 0, 0, 0
gi_wavetable_0_A084531 ftgen 0, 0, 16384, 1, "glottal_rattle_eight.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 75
gi_base_frequency = 126.000000
gi_resonance_filter_bandwidth_from = 15
gi_resonance_filter_bandwidth_to = 13
instr A084532
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A084532
i_frequency = gi_base_frequency*i_integer
i_resonance_filter_bandwidth = gi_resonance_filter_bandwidth_from+(i_integer-gi_lowest_integer)*((gi_resonance_filter_bandwidth_to-gi_resonance_filter_bandwidth_from)/(gi_highest_integer-gi_lowest_integer))
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A084532
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A084532
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A084532
a_signal reson a_signal, i_frequency, i_resonance_filter_bandwidth*i_frequency*.01, 1
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
instr A084531
i_duration = p3
i_integer = p4
i_azimuth = (i_integer-gi_lowest_integer)*gi_integer_width+gi_origin_A084531
i_frequency = gi_base_frequency*i_integer
i_resonance_filter_bandwidth = gi_resonance_filter_bandwidth_from+(i_integer-gi_lowest_integer)*((gi_resonance_filter_bandwidth_to-gi_resonance_filter_bandwidth_from)/(gi_highest_integer-gi_lowest_integer))
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A084531
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A084531
a_index lphasor 1
a_signal table a_index, gi_wavetable_0_A084531
a_signal reson a_signal, i_frequency, i_resonance_filter_bandwidth*i_frequency*.01, 1
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