-
... //Also, note the 'sampleAccurate' argument. This allows the AlgaSynthDef to use OffsetOut instead of Out //for sample accurate retriggering. AlgaSynthDef(\sinePerc, { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar }, sampleAccurate: true).add; //Wai ...
-
... mples of how to write to the busses in the helpfiles: Out / ReplaceOut / XOut / OffsetOut Nevertheless, synths can also run without any writing activity: (see e.g. SendTrig ) Some operations provide an out ugen internally: see for example f ...
-
... ar(Env.perc(releaseTime: \dur.kr(1)), \trig.kr(0), doneAction: Done.pauseSelf); OffsetOut.ar(\out.ir(0), x * env * \amp.kr(0.5)); }).add; //Writes to the correct busses... This allows for interplation to work correctly even when switching m ...
-
... Rand (4000, 5000), Rand (2500, 3200), 1) ) * Linen .kr(gate, 0.01, 0.7, dr, 2); OffsetOut .ar(out, Pan2 .ar(z, pan, amp)); }).add ); (instrument: \pm ).play; (instrument: \pm , ratio: 3.42, index: 12, freq: 150, ar: 8, dr: 3, sustain: 10).p ...
-
... nce methods Examples s.boot; ( SynthDef(\singrain, {arg outbus, freq, amp, dur; OffsetOut.ar(outbus, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2), Rand.new(-1.0, 1.0) ) ) // read off the overall env contro ...
-
... normal Out UGen for writing to its bus. If sample accurate playback is needed (OffsetOut), the ProxySynthDef class variable sampleAccurate can be set to true. Note that for audio through from external sources, this creates a delay for up t ...
-
... ited instance methods Examples SynthDef(\singrain, {arg freq, amp, dur, envbus; OffsetOut.ar(0, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2) * In.kr(envbus), Rand.new(-1.0, 1.0) ) ) // read off the overall ...
-
... eqShift.ar(snd+in, SinOsc.ar(4.24, 0.5, 3), 0, 0.5); // subtle modulating shift OffsetOut.ar(0, Limiter.ar(snd2 + snd * 0.5, 1, 0.005) ! 2); }).add; ) // ssllooww columbia tuned shift detune ( r.stop; // stop old routine Buffer.read(s, Exam ...
-
... audio = Blip .ar(freq, nharms, amp); var env = Linen .kr(gate, doneAction: 2); OffsetOut .ar(out, Pan2 .ar(audio, pan, env) ); }).add; ); Pbind ( \instrument , \test , \freq , Prand ([1, 1.2, 2, 2.5, 3, 4], inf ) * 200, \dur , 0.1).play; / ...
-
... doneAction:2);\ u = SinOsc .ar(freq, SinOsc .ar([freq2, freq3]) * 0.4) * env;\ OffsetOut .ar(out, u)\ \).store;\ );\ \ \ e = [ MarkovNet (c), MarkovNet (x)];\ (\ e.do( _ .function = \ |data| \ data.postln;\ Synth ( \ , [[ \ , \ , \ ], data ...