gausstrigSignal Generators:Random (Noise) Generatorsgausstriggausstrig
Random impulses around a certain frequency.
Description
Generates random impulses around a certain frequency.
Syntaxares gausstrig kamp, kcps, kdev [, imode] [, ifrst1]kres gausstrig kamp, kcps, kdev [, imode] [, ifrst1]Initializationimode (optional, default=0) -- imode > 0
means better frequency modulation. If the frequency changes, the
delay before the next impulse is calculed again. With the
default mode we have the classic behavior of the GaussTrig ugen
in SuperCollider, where the frequency modulation is bypassed
during the delay time that precedes the next impulse.
ifrst1 (optional, default=0) -- ifrst1 > 0
changes the original behavior of the GuassTrig ugen. By default, it
always generates an impulse in the very beginning. Otherwise, the first
impulse appearance is random and depends on kcps and
kdev parameters.Performancekamp -- amplitude.
kcps -- the mean frequency over which random impulses are distributed.
kdev -- random deviation from mean (0 <= dev < 1).
Examples
Here is an example of the gausstrig opcode. It uses the file gausstrig.csd.
Example of the gausstrig opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
Here is an example of the gausstrig opcode with imode = 1. It uses the file gausstrig-2.csd.
Example of the gausstrig opcode with imode = 1.See alsoRandom (Noise) GeneratorsCreditsBased on Bhob Rainey's GaussTrig ugen (SuperCollider)Author: &nametito;January 2012Modification: Gleb RogozinskyMarch 2015New in Csound version 5.16