| Hi,
I've a problem that I guess very simple but wich I can't solve.
A krate control remains at zero when using oscil1i and it works when using expseg.
Here are orc&sco:
; Rezzy.orc
sr=44100
kr=44100
ksmps=1
nchnls=1
instr 1
idur=p3
iamp=p4
ifqc=p5
ifco=p6
irez=p7
kfco oscil1i 0,ifco,idur,2 ; THIS REMAINS AT ZERO FOR ANY TABLE
;kfco expseg 100+.01*ifco, .2*idur, ifco+100, .5*idur, ifco*.1+100,.3*idur,
.001*ifco+100; THIS WORKS
printk 1, kfco
kdclick linseg 0, .002, 1, idur-.004, 1, .002, 0
;rezzy
;;xres amount of resonance. For rezzy, values of 1 to 100 are typical.
Resonance should be one or greater.
apulse1 buzz iamp,ifqc, sr/2/ifqc, 1 ; Avoid aliasing
asaw integ apulse1
axn = asaw-.5
ayn rezzy apulse1, kfco, irez
out ayn*kdclick
endin
;Rezzy.sco
f1 0 32768 10 1
f2 0 1025 7 0.0000 102 0.5999 103 0.9117 102 1.0000 103 0.8087 102 0.6489 154 0.4639 204 0.3476 154 0.2999
;p1 p2 p3 p4 p5 p6 p7
i1 0.0000 0.3960 7781 73.4162 2023 90
i1 0.3970 0.1980 19327 82.4069 4494 65
i1 1.5880 0.3960 13805 73.4162 3282 75
i1 1.9850 0.1980 15562 82.4069 3786 42
i1 3.1760 0.3960 7530 73.4162 2130 7
i1 3.5730 0.1980 3012 82.4069 393 99
i1 4.7640 0.3960 20080 73.4162 4970 54
i1 5.1610 0.1980 12550 82.4069 2747 82
e
--
Jean-Michel DARREMONT |