-
... e.freeSelf); audio = Mix(Saw.ar(freq)); audio = Pan2.ar(audio * env, pan, amp); OffsetOut.ar(out, audio) }).add; (instrument: \multi, freq: [[500, 501, 700]], sustain: 2).play ) ⧉ ✔ ( Pbind(*[ instrument: \multi, freq: Prand([ [[100, 141, 1 ...
-
... layBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:0, loop:0, doneAction:2); OffsetOut.ar(0, HOAConvert.ar(~order.asInteger, playFile, inFormat: informat, outFormat: outformat);) }).load(s); s.sync; // we need to load the SynthDef with t ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... normal Out UGen for writing to its bus. If sample accurate playback is needed ( OffsetOut ), the ProxySynthDef class variable ProxySynthDef: -sampleAccurate can be set to true. Note that for audio through from external sources, this creates ...
-
... lip.ar(freq, nharms, amp); var env = Linen.kr(gate, doneAction: Done.freeSelf); OffsetOut.ar(out, Pan2.ar(audio, pan, env)); }).add; ) // Assignment to multiple keys using an Array. // Must come before any keyword arguments. Pbind( [\freq, ...
-
... ayGrain, az, el); reDirect = HOAEncoder.ar(~order.asInteger, monoBeam, az, el); OffsetOut.ar(0, reDirect) }).load(s); ) ⧉ ✔ Now you can play the Synth, but you won't hear a properly decoded sound but only the W and the Y channel in the ster ...
-
... r(Env.perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut.ar(out, Pan2.ar(sig, pan)); }).add; ) ( // rhythmic variation and partial pitch repetition // play for a while to note slow sliding caused by Pseg ~lo ...