Csound Csound-dev Csound-tekno Search About

more coffee

Date1998-02-15 13:55
FromRussell Pinkston
Subjectmore coffee
>...or if you want to think linearly, work in oct, then convert to cps:
>
>ibase   =       cpsoct (1)      ;relative ibasefreq 
>koct    line    1, p3, .125 ;3 octave drop over p3 seconds
>kdown   =       cpsoct (koct)
>
>;  loscil xamp,   kcps,    ifn,[ibasefreq,][imod1, ibeg, iend]
>a2 loscil 10000, kdown,   1,    ibase,    1,     0,   363790
>
Sorry, still need more coffee, I guess. The above won't give a three octave
drop, of course. Try this:

ibase   =       cpsoct (8)      ;arbitrary relative ibasefreq of middle c
koct    line    8, p3, 5        ;3 octave drop from oct 8 to oct 5 over p3
seconds
kdown   =       cpsoct (koct)   ;convert oct to cps for loscil

;  loscil xamp,   kcps,    ifn,[ibasefreq,][imod1, ibeg, iend]
a2 loscil 10000, kdown,   1,    ibase,    1,     0,   363790


RP

----------------------------------
Russell F. Pinkston, D.M.A.
Associate Professor of Composition
Director, Electronic Music Studios
School of Music
The University of Texas at Austin
Austin, TX 78712

[512-471-0865]