imode (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.
Performance
kamp -- 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.
<CsoundSynthesizer><CsOptions>; Select audio/midi flags here according to platform-odac;;;realtime audio out;-iadc ;;;uncomment -iadc if realtime audio input is needed too; For Non-realtime ouput leave only the line below:; -o oscil.wav -W ;;; for file output any platform</CsOptions><CsInstruments>sr=44100ksmps=32nchnls=20dbfs=1instr1kdevline0,p3,0.9seed20120125aimpgausstrig0.5,10,kdevaenvfilter2aimp,1,1,0.993,0.993anoifractalnoise0.2,1.7al=anoi*aenvardelayal,0.02outsal,arendin</CsInstruments><CsScore>i1010e</CsScore></CsoundSynthesizer>
Here is an example of the gausstrig opcode with imode = 1. It uses the file gausstrig-2.csd.
<CsoundSynthesizer><CsOptions>; Select audio/midi flags here according to platform-odac;;;realtime audio out;-iadc ;;;uncomment -iadc if realtime audio input is needed too; For Non-realtime ouput leave only the line below:; -o oscil.wav -W ;;; for file output any platform</CsOptions><CsInstruments>sr=44100ksmps=32nchnls=20dbfs=1instr1kfrq0oscil8,0.25,1ktrigmetro1kfrqsampholdkfrq0+8,ktrigseed20120125aimpgausstrig0.5,kfrq,0.5,1aenvfilter2aimp,1,1,0.993,0.993anoifractalnoise0.2,1.7al=anoi*aenvardelayal,0.02outsal,arendin</CsInstruments><CsScore>f108192101i1016e</CsScore></CsoundSynthesizer>