|
I want to add a vibrato to a sinewave...now I have found this easy, but how
can I let the vibrato amplitude fading out over time ??
My aim is letting the vibrato amplitude being at 0% right when an
instrument
has finished its Performance...
is there a global system variable in Csound that contains the time ??
I'm sorry to bother you people with silly beginner's questions...but I'm
learning...
Why is Csound so unstructured ?? I would be FAR more easier when the
syntax was something like pascal or C...with brackets and all that..Csound
looks like a senseless list of numbers and cryptic abbreviations viewed
through
a programmers' eyes...
the ORC :
sr = 44100 ;samplerate
kr = 441 ;control samplerate
ksmps = 100 ;sr / kr
nchnls = 1 ;1=mono, 2=stereo
instr 1
kfreq = p5*100
kamp oscil kfreq/10,5,1
a1 oscil 10000,kfreq+kamp,1 ; amplitude, pitch, wavetablenumber
out a1
endin
the SCO :
;
; tablenum starttime size GEN strenght
f 1 0 256 10 1
; instrnum starttime duration amp freq
; P1 P2 P3 P4 P5
i 1 0 4 0 6
i 1 4 4 0 2
e
|