| hi!
was quite happy with ftgentmp
i could almost ramdomly prepare ftables for each note
by taking advantage of using p2-p5
which originally is used for other perpose
(wanted to avoid using randoms)
most of my inst was written this way
instr 12
isa = (0.22 + p2) % 0.997 + 0.001
iri = (0.33 + p3) % 0.996 + 0.002
iga = (0.44 + p4) % 0.995 + 0.003
ima = (0.55 + p5) % 0.994 + 0.004
ipa = ((0.11 + p2 + p3) * (0.66 + p5)) % 0.993 + 0.005
ida = ((0.77 + p4) * (0.88 + p5)) % 0.992 + 0.006
ini = ((0.99 + p4 + p5) * (0.23456789 + p2 + p3)) % 0.991 + 0.007
iot_sa = 8 + int((22345 * isa) % 3)
iot_ri = 5 + 4 * int((33456 * iri) % 3)
iot_ga = 10 + 3 * int((44567 * iga) % 3)
iot_ma = 8 + 8 * int((55678 * ima) % 3)
iot_pa = 6 + 2 * int((66789 * ipa) % 4)
iot_da = 8 + 5 * int((77890 * ida) % 3)
iot_ni = 8 + 4 * int((88901 * ini) % 5)
ift_sa ftgentmp 0, 0, 65536, 10, 16, 8, 1/3, 4, 1/5, 1/6, 0, 2, 9 *
isa, 1/10, 0, 1/12, 1/13, 0, 0, 1
ift_ri ftgentmp 0, 0, 65536, 10, 9, 2 * (1.0 - iri), 1.0 - iga, 1.0 -
ima, 1.0 - ipa, 1.0 - ida, 0, ida, 9 * iri, ini, 0, isa, iga, 0, 0,
ima
ift_ga ftgentmp 0, 0, 65536, 10, 9, 2 * (1.0 - iga), 1.0 - ima, 1.0 -
ipa, 1.0 - ida, 1.0 - ini, 0, ini, 9 * iga, isa, 0, iri, ima, 0, 0,
ipa
ift_ma ftgentmp 0, 0, 65536, 10, 9, 2 * (1.0 - ima), 1.0 - ipa, 1.0 -
ida, 1.0 - ini, 1.0 - isa, 0, isa, 9 * ima, iri, 0, iga, ipa, 0, 0,
ida
ift_pa ftgentmp 0, 0, 65536, 10, 9, 2 * (1.0 - ipa), 1.0 - ida, 1.0 -
ini, 1.0 - isa, 1.0 - iri, 0, iri, 9 * ipa, iga, 0, ima, ida, 0, 0,
ini
ift_da ftgentmp 0, 0, 65536, 10, 9, 2 * (1.0 - ida), 1.0 - ini, 1.0 -
isa, 1.0 - iri, 1.0 - iga, 0, iga, 9 * ida, ima, 0, ipa, ini, 0, 0,
isa
ift_ni ftgentmp 0, 0, 65536, 10, 9, 2 * (1.0 - ini), 1.0 - isa, 1.0 -
iri, 1.0 - iga, 1.0 - ima, 0, ima, 9 * ini, ipa, 0, ida, isa, 0, 0,
iri
kenv_sa linseg p4, p3, 0
kenv_ri linseg 0, iri * p3, p4, (1.0 - iri) * p3, 0
kenv_ga linseg 0, iga * p3, p4, (1.0 - iga) * p3, 0
kenv_ma linseg 0, ima * p3, p4, (1.0 - ima) * p3, 0
kenv_pa linseg 0, ipa * p3, p4, (1.0 - ipa) * p3, 0
kenv_da linseg 0, ida * p3, p4, (1.0 - ida) * p3, 0
kenv_ni linseg 0, ini * p3, p4, (1.0 - ini) * p3, 0
asig_sa oscil kenv_sa, p5, ift_sa, isa
asig_ri oscil kenv_ri, p5 * 8/9, ift_ri, iri
asig_ga oscil kenv_ga, p5 * 8/9, ift_ga, iga
asig_ma oscil kenv_ma, p5 * 9/8, ift_ma, ima
asig_pa oscil kenv_pa, p5 * 9/8, ift_pa, ipa
asig_da oscil kenv_da, p5 * iot_da/8, ift_da, ida
asig_ni oscil kenv_ni, p5 * iot_ni/8, ift_ni, ini
outs (asig_sa + asig_ri + asig_ma + asig_da) * giamp/4, (asig_sa +
asig_ga + asig_pa + asig_ni) * giamp/4
endin
it was okay if the tune only lasts for about 1 min
but for 3 min ... it eats up the ram
can i still find a way to get an one and only ftable for each note?
at this moment i simply replaced ftgentmp with ftgen
so the using the same inst means using the same ftable
the sound goes like this:
http://sarigama.namaste.jp/loops/atrip2heaven.mp3
tia!
--
SaRiGaMa's Oil Vending Orchestra
is podcasting:
http://sarigama.namaste.jp/podcast/rss.xml
and supplying oil.py for free:
http://oilpy.blogspot.com/
|