1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (X11; I; IRIX 6.3 IP32) [Netscape]">
<TITLE>SHAKER</TITLE>
</HEAD>
<BODY>
<CENTER><A NAME="shaker"></A>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A>
- <A HREF="SIG_GENS.html#">Top of this section</A></B> - <A HREF="wgclar.html">Previous</A>
- <A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="moog.html">Next</A>
<HR></CENTER>
<H2>
shaker</H2>
<PRE> ar <B>shaker</B> kamp, kfreq, kbeans, kdamp, knum, ktimes[, idecay]</PRE>
<PRE>
<HR></PRE>
<H4>
<U>DESCRIPTION</U></H4>
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.
<BR>
<BR>
<H4>
<U>INITIALIZATION</U></H4>
<I>idecay - </I>If present indicates for how long at the end of the note
the shaker is to be damped. The default value is zero.
<BR>
<H4>
<U>PERFORMANCE</U></H4>
<BR>A note is played on a maraca-like instrument, with the arguments as
below.
<P><I>kamp</I> - Amplitude of note.
<P><I>kfreq</I> - Frequency of note played.
<P><I>kbeans - </I>The number of beans in the gourd. A value of 8
seems suitable,
<P><I>kdamp -- </I>The damping vsalue of the shaker. Values of 0.98
to 1 seems suitable, with 0.99 a reasonable default.
<P><I>knum -- </I>The number of shakes of the gourd. Values over
64 are considered infinite.
<P><I>ktimes -- </I>Number of times shaken.
<BR>
<BR>
<H4>
<U>EXAMPLE:</U></H4>
<PRE>a1 <B>shaker</B> 31129.60, 440, 8, 0.999, 0, 100, 0
<B>outs</B> a1, a1</PRE>
<H4>
<U>AUTHOR:</U></H4>
John ffitch
<BR>University of Bath, Codemist Ltd.
<BR>Bath, UK
<BR>1997
<BR>
<CENTER> </CENTER>
<CENTER>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A>
- <A HREF="SIG_GENS.html#">Top of this section</A></B> - <A HREF="wgclar.html">Previous</A>
- <A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="moog.html">Next</A>
<HR></CENTER>
<CENTER></CENTER>
<CENTER><B><I><FONT COLOR="#006600">HTML Csound Manual - <FONT SIZE=-1>©
Jean Piché & Peter J. Nix, 1994-97</FONT></FONT></I></B></CENTER>
</BODY>
</HTML>
|