QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next 

shaker

   ar    shaker   kamp, kfreq, kbeans, kdamp, knum, ktimes[, idecay]


DESCRIPTION

Audio output is a tone related to the shaking of a maraca orsimilar gourd instrument.  The method is a physically inspired model developed from Perry Cook, but re-coded for Csound.
 
 

INITIALIZATION

idecay - If present indicates for how long at the end of the note the shaker is to be damped.  The default value is zero.
 

PERFORMANCE

 
A note is played on a maraca-like instrument, with the arguments as below.

kamp - Amplitude of note.

kfreq - Frequency of note played.

kbeans - The number of beans in the gourd.  A value of 8 seems suitable,

kdamp -- The damping vsalue of the shaker.  Values of 0.98 to 1 seems suitable, with 0.99 a reasonable default.

knum -- The number of shakes of the gourd.  Values over 64 are considered infinite.

ktimes -- Number of times shaken.
 
 

EXAMPLE:

a1        shaker      31129.60, 440, 8, 0.999, 0, 100, 0
          outs        a1, a1

AUTHOR:

John ffitch
University of Bath, Codemist Ltd.
Bath, UK
1997
 
 

QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next 
HTML Csound Manual - © Jean Piché & Peter J. Nix, 1994-97