-
... ing Ndef (NodeProxy works similarly): Ndef(\maus, { MouseX.kr }); Ndef(\haus, { Pan2.ar(Blip.ar(Ndef.kr(\maus, 1) * 70), SinOsc.kr(Ndef.ar(\maus, 1) * 5)) }).play; ⧉ ✔ NOTE: If you don't specify the number of channels, an expression like Nd ...
-
... )*\amp.kr(0.5); var env = EnvGen.kr(Env.perc, doneAction: Done.freeSelf); sig = Pan2.ar(sig*env, 1.0); // map the output to the right channel Out.ar(out, sig); }).add; // play the synth according to the markov transition matrix Tdef(\markov ...
-
... m, busNum, chanNum asm 2 1 [[1,2],2,2] //trackNum, busNum, chanNumArr asm 2 1 1 pan2 //trackNum, busNum, chanNum, spaceType asm 2 1 [1,2,2] bal2 //trackNum, busNum, chanNumArr //mix UI mix nomix //mixer mixnames prec //prepare recording rec ...
-
... ex2; audio = PMOsc.ar(freq * ratio1, freq * ratio2, env2, 0, env1); Out.ar(out, Pan2.ar(audio, pan, amp)) }).store; Conductor.make({arg theconductor, index2, ratio1, ratio2 | index2 .sp(0,0,20); // create a whole bunch of groups in sequence ...
-
... kr(lfobus, 1); sig = RLPF.ar(Pulse.ar(freq, 0.2, 0.5), ffreq, 0.3); Out.ar(bus, Pan2.ar(sig, pan) * EnvGen.kr(Env.perc(0.1, 1), timeScale: noteLen, doneAction: Done.freeSelf)); }).add; SynthDef("LFNoise1", { arg freq, mul, add, bus; Out.kr( ...
-
... ), Rand(2500,3200), 1) ) * Linen.kr(gate, 0.01, 0.7, 0.3, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]); ⧉ ✔ When an event plays a synth, any values stored in the event under the same name as a SynthDef input will be passed to the ...
-
... s=0, outbus=0, amp = 1, pan = 0; var sig; sig = In.ar(inbus, 1); Out.ar(outbus, Pan2.ar(sig, pan, amp)); }).add; SynthDef(\pitch, { arg inbus = 0, freqOutbus = 0, hasFreqOutbus = 1; var in, out, freq, hasFreq; in = In.ar(inbus, 1); #freq, h ...
-
... kNoteObject( SynthDef(\play, {arg buffer, rate = 1, dur, start; OffsetOut.ar(0, Pan2.ar( PlayBuf.ar(1, buffer, BufRateScale.kr(buffer) * rate, startPos: start * BufSampleRate.kr(buffer)) * EnvGen.ar( Env([0, 1, 0], [0.5, 0.5], \sin), timeSc ...
-
... toreIDs[0]; Block.ndefs[0].controlKeysValues; Block.addNum(4); // Ndef('pan1', {Pan2.ar(Mix(Block.ndefs[0].ar), 0) }); // Ndef('pan1').play; Block.play(1, \cue, \marilyn1, [\mul, 1]); Block.play(1, \looppv, \parsifal, [\rate, 1, \mul, 4]); ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; p = Pbind( [\degree, \dur], Pseq([[0, 0.1], [2, 0.1], [3, 0.1], [4, 0.1], [5, 0.8]], 1), \amp, 0.05, \octave, 6, ...