sr = 96000
kr = 96000
nchnls = 2
0dbfs = 1
zakinit 2, 1
vbaplsinit 2, 2, -30.0, 30.0
gi_origin_A000119 = -26.837294
gi_origin_A003263 = -12.033599
gi_origin_A103344 = 2.770096
gi_origin_A116402 = 17.573792
gi_integer_width = 0.463175
gi_distance_to_speakers = 1.27
gi_vh_amplitude_A000119 ftgen 0, 0, 17, -2, 0.020116, 0.009006, 0.008501, 0.012204, 0.018096, 0.021967, 0.026849, 0.029711, 0.034256, 0.037454, 0.040990, 0.047891, 0.055467, 0.061358, 0.069438, 0.076172, 0.084615
gi_vh_amplitude_A003263 ftgen 0, 0, 17, -2, 0.025839, 0.015739, 0.014897, 0.020789, 0.025671, 0.029879, 0.034761, 0.037118, 0.038128, 0.040653, 0.042505, 0.045535, 0.048396, 0.055130, 0.064220, 0.070448, 0.078529
gi_vh_amplitude_A103344 ftgen 0, 0, 17, -2, 0.024665, 0.015096, 0.014106, 0.017076, 0.021530, 0.024170, 0.027305, 0.029780, 0.031595, 0.035884, 0.040339, 0.045948, 0.050568, 0.056838, 0.063767, 0.067892, 0.073336
gi_vh_amplitude_A116402 ftgen 0, 0, 17, -2, 0.026085, 0.019717, 0.019561, 0.022202, 0.025153, 0.027949, 0.030124, 0.032920, 0.034163, 0.037580, 0.041618, 0.046744, 0.052802, 0.059482, 0.066627, 0.073306, 0.078588
gi_vh_panning_A000119 ftgen 0, 0, 17, -2, -26.83729, -26.25832, -25.67935, -25.10038, -24.52141, -23.94244, -23.36347, -22.78451, -22.20554, -21.62657, -21.04760, -20.46863, -19.88966, -19.31069, -18.73172, -18.15276, -17.57379
gi_vh_panning_A003263 ftgen 0, 0, 17, -2, -11.79132, -11.31627, -10.87922, -10.30916, -9.717722, -9.138753, -8.559784, -7.980816, -7.401847, -6.822878, -6.243909, -5.767671, -5.178606, -4.760561, -4.285510, -3.810459, -3.487423
gi_vh_panning_A103344 ftgen 0, 0, 17, -2, 2.770096, 3.349065, 3.928034, 4.507003, 5.085971, 5.664940, 6.243909, 6.822878, 7.401847, 7.980816, 8.559784, 9.138753, 9.717722, 10.29669, 10.87566, 11.45462, 12.03359
gi_vh_panning_A116402 ftgen 0, 0, 17, -2, 17.57379, 18.23411, 18.93718, 19.46924, 20.15332, 20.64737, 21.25543, 21.76849, 22.31955, 22.92761, 23.51668, 24.12475, 24.73281, 25.30287, 25.98694, 26.51900, 27.10807
gi_wavetable_0_A000119 ftgen 0, 0, 0, 1, "raw_charcoal_21.wav", 0, 0, 0
gi_wavetable_0_A003263 ftgen 0, 0, 0, 1, "raw_charcoal_21.wav", 0, 0, 0
gi_wavetable_0_A103344 ftgen 0, 0, 0, 1, "raw_charcoal_21.wav", 0, 0, 0
gi_wavetable_0_A116402 ftgen 0, 0, 0, 1, "raw_charcoal_21.wav", 0, 0, 0
gi_lowest_integer = 1
gi_highest_integer = 21
gi_base_frequency = 99.000000
gi_attack_from = .0123
gi_attack_to = .0076
gi_release_from = .0144
gi_release_to = .0089
instr A000119
i_duration = p3
i_integer = p4
i_frequency = gi_base_frequency*i_integer
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_A000119
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A000119
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A000119
i_wavetable_0_A000119 ftgenonce 0, 0, 8192, 30, gi_wavetable_0_A000119, 1, floor((sr/2)/i_frequency)
a_signal poscil3 k_amplitude, i_frequency, i_wavetable_0_A000119
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 A003263
i_duration = p3
i_integer = p4
i_frequency = gi_base_frequency*i_integer
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_A003263
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A003263
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A003263
i_wavetable_0_A003263 ftgenonce 0, 0, 8192, 30, gi_wavetable_0_A003263, 1, floor((sr/2)/i_frequency)
a_signal poscil3 k_amplitude, i_frequency, i_wavetable_0_A003263
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 A103344
i_duration = p3
i_integer = p4
i_frequency = gi_base_frequency*i_integer
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_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_wavetable_0_A103344 ftgenonce 0, 0, 8192, 30, gi_wavetable_0_A103344, 1, floor((sr/2)/i_frequency)
a_signal poscil3 k_amplitude, i_frequency, i_wavetable_0_A103344
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 A116402
i_duration = p3
i_integer = p4
i_frequency = gi_base_frequency*i_integer
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_A116402
k_amplitude table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_amplitude_A116402
k_panning table3 (i_integer-gi_lowest_integer)*(16/(gi_highest_integer-gi_lowest_integer)), gi_vh_panning_A116402
i_wavetable_0_A116402 ftgenonce 0, 0, 8192, 30, gi_wavetable_0_A116402, 1, floor((sr/2)/i_frequency)
a_signal poscil3 k_amplitude, i_frequency, i_wavetable_0_A116402
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