x-class noise generatorsexprandiSignal Generators:Random (Noise) Generatorsexprandiexprandi
Exponential distribution random number generator with
interpolation (positive values only).
Description
Exponential distribution random number generator with controlled
interpolation between values (positive values only). This is an
x-class noise generator.
Syntaxares exprandi klambda, xamp, xcpsires exprandi klambda, xamp, xcpskres exprandi klambda, xamp, xcpsPerformanceklambda -- lambda parameter for the exponential distribution.
The probablity density function of an exponential distribution is an exponential curve, whose mean is 0.69515/lambda.
For more detailed explanation of these distributions, see:
C. Dodge - T.A. Jerse 1985. Computer music. Schirmer books. pp.265 - 286D. Lorrain. A panoply of stochastic cannons. In
C. Roads, ed. 1989. Music machine . Cambridge,
Massachusetts: MIT press, pp. 351 - 379.xamp -- range over which random numbers are distributed.
xcps -- the frequency which new random
numbers are generated.
Examples
Here is an example of the exprandi opcode. It uses the file exprandi.csd.
Example of the exprandi opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoRandom (Noise) GeneratorsCreditsAuthor: &namejohn;BathMay 2011New in version 5.14