-
GrainFM Granular synthesis with frequency modulated sine tones GrainFM.ar(numChannels, trigger, dur, carfreq, modfreq, index, pan, envbufnum, maxGrains, mul, add) numChannels - the number of channels to output. If 1, mono is returned and pa ...
-
... , hi) Note : this is equivalent to pattern.wrap(lo, hi) see also SimpleNumber ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... .kr(0, 1)], 0.2) }.play; an Impulse with frequency 0 returns a single impulse: SynthDef ( \imp , { OffsetOut .ar(0, Impulse .ar(0)); FreeSelf .kr( Impulse .kr(0)); }).add; fork { (1 / (1..60).scramble).do { |dt| Synth .grain( \imp ); dt.wa ...
-
... n n = 3 : smooth hump as n increases, distribution converges towards gaussian ( SynthDef ( "help-NRand" , { arg out=0, n=0; Out .ar(out, FSinOsc .ar( NRan d(1200.0, 4000.0, n), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) ( n = ...
-
... /tr', nil, triggerID ] makes a responder that responds to /tr messages from any Synth but with a specific triggerID. /tr messages from one Synth but with any triggerID. //Here is an example: s.boot; ( var s, commandpath, response, aSynth, n ...
-
GrainBuf Granular synthesis with sound stored in a buffer GrainBuf.ar(numChannels, trigger, dur, sndbuf, rate, pos, interp, pan, envbufnum, maxGrains, mul, add) numChannels - the number of channels to output. If 1, mono is returned and pan ...
-
... = a.asStream; 6.do({ b.next.postln; }); ) Pser used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... ats) until after the last note releases. But, Pgroup does not know how long the synths' envelopes last. You can extend the lag by putting the number of beats into the event prototype's \groupReleaseTime key: Pgroup(...).play(protoEvent: Eve ...
-
... asStream; 13.do({ x.next.postln; }); ) Pstutter used as a sequence of pitches ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
... a.asStream; 16.do({ b.next.postln; }); ) Pshuf used as a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...