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

GEN21

     
f  #     time   size    21      type    lvl arg1 arg2

DESCRIPTION

This generates tables of different random distributions. (see also noise generators, above).

Time and size are the usual Gen function arguments. Type defines the distribution to be used.

        1   - Uniform
        2   - Linear
        3   - Triangular
        4   - Exponential
        5   - Biexponential
        6   - Gaussian
        7   - Cauchy
        8   - Positive Cauchy
        9   - Beta
        10  - Weibull
        11  - Poison
Of all these cases only 9 (Beta) and 10 (Weibull) need extra arguments. Beta needs two arguments and Weibull one.

EXAMPLES:

        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
All of the above additions were designed by the author between May and December 1994, under the supervision of Dr. Richard Boulanger.


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

HTML Csound Manual - © Jean Piché & Peter J. Nix, 1994-97