Hello,
I'd like to use a list of coefficients to multiply by a frequency. These coefficents are the ratio to increase (or decrease) of an eight of tone, step by step.
I would like to initialize the list at the beginning of the orc, and select the coefficient with a parameter in the sco.
I have tried with this orc, but doesn't work.
======================
strset 1, "0.9715319"
strset 2, "0.98566324"
strset 3, "1"
strset 4, "1.0145453"
strset 5, "1.0293022"
instr 1
idur = p3
iamp = ampdb(p4)
Smic strget p5
ifreq = p6
ifreqrange = ifreq * Smic
ifreqrange = ifreqrange/2
kfreq oscil ifreqrange, 1/p3, 1
kfreq = kfreq + ifreqrange
as oscil iamp, ifreq + kfreq, ifn
out as
endin
==================
Maybe you have some advice?
Thank you in advance.
Best,
Gpp


