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
|
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.03 [en] (X11; I; IRIX 6.3 IP32) [Netscape]">
<TITLE>GEN21</TITLE>
</HEAD>
<BODY>
<CENTER><A NAME="GEN21"></A>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A></B>
- <B><A HREF="GENS.html">Top of this section</A></B> - <A HREF="gen20.html">Previous
</A>- <A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="gen25.html">Next</A>
<HR></CENTER>
<H2>
GEN21</H2>
<PRE><TT>
<B>f</B> # time size 21 type lvl arg1 arg2</TT></PRE>
<HR>
<H4>
<U>DESCRIPTION</U></H4>
This generates tables of different random distributions. (see also noise
generators, above).
<P>Time and size are the usual Gen function arguments. Type defines the
distribution to be used.
<PRE><TT> 1 - Uniform
2 - Linear
3 - Triangular
4 - Exponential
5 - Biexponential
6 - Gaussian
7 - Cauchy
8 - Positive Cauchy
9 - Beta
10 - Weibull
11 - Poison</TT></PRE>
Of all these cases only 9 (Beta) and 10 (Weibull) need extra arguments.
Beta needs two arguments and Weibull one.
<H4>
<U>EXAMPLES:</U></H4>
<PRE><TT> f1 0 1024 21 1 ; Uniform (white noise)
f1 0 1024 21 6 ; Gaussian
f1 0 1024 21 9 1 1 2 ; Beta (note that level precedes arguments)
f1 0 1024 21 10 1 2 ; Weibull</TT></PRE>
All of the above additions were designed by the author between May and
December 1994, under the supervision of Dr. Richard Boulanger.
<CENTER></CENTER>
<CENTER><P>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A></B>
- <B><A HREF="GENS.html">Top of this section</A></B> - <A HREF="gen20.html">Previous
</A>- <A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="gen25.html">Next</A>
<HR></CENTER>
<P><CENTER>
<B><I><FONT COLOR="#006600">HTML Csound Manual - <FONT SIZE=-1>©
Jean Piché & Peter J. Nix, 1994-97</FONT></FONT></I></B>
</CENTER>
</HTML>
|