-
... ; k.quantizeCents(1150); // map to degree k.freqToDegree(660, 440); // use in a Pbind ( a = Scale.major; a.tuning = \just; k = Key(a); Pbind( \scale, Pfunc({ k.scale }), \degree, Pseq([ Prand(k.scale.degrees, 20), Prout({ k.mode = \minor; 0 ...
-
... .newByName( "FastLane USB" , "Port A" ).latency_( Server .default.latency); p = Pbind ( \type , \midi , // this line is optional b/c noteOn is the default // just making it explicit here \midicmd , \noteOn , \midiout , mOut, // must provide ...
-
... 1/2,20)*(1+p.(2,1/5))+p.(4+p.(1/2)),0.5),80,XLine.kr(4e-4,1/8,61,1,0,2)))} x=0;Pbind(*[type:\set,id:{|freq=10|LFTri.ar(freq.lag(0.1))!2}.play.nodeID,freq:Pfunc{x=x+32%355;x%12+1*40},dur:1/6]).play// #supercollider x=0;Pbind(*[type:\set,id ...
-
... kIn(trigIn: 6); // play a pattern according to the clock ( Pdef(\euroClockSync, Pbind( \instrument, \default, \dur, 1.0, \degree, Pxrand((0..6), inf), )).clock_(c.clock).play; ) Pdef(\euroClockSync).stop; // free resources on the server c.c ...
-
... smoge/superfomus/master/HelpSource/Classes/example1.svg) ```supercollider ( p = Pbind( \midinote, Prand((60,60.5..80), inf), \dur, Prand([0.125, 0.25, 0.5], inf) ); //p.play; f = Fomus(p.asStream, 30); f.fileName = "~/SCFomus_"; // complete ...
-
... Pattern classes for convenient replacement. Can be used for shorter writing of Pbinds to be played with VarGui and / or live coding, see PLx and live coding with Strings . PLbindef and PLbindefPar as subclasses of Pdef allow replacement of ...
-
... oneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( Pn( Pbind( \dur, Pconst(1, Prand([1, 0.02, 0.2], inf)), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ) ).play; ) ⧉ ✔ helpfile source: /usr/ ...
-
... (0, Pan2.ar(z * e, pan)); }).add; ); ) // play a pattern on clock t: ( Pdef(\a, Pbind(\instrument, \ping, \degree, Pseq((0..7), inf), \dur, 0.25, \pan, -0.5, \amp, 0.5 ) ).play(t); ) ///// Same behavior as in SoftClock: // fadeTempo(newTemp ...
-
... def(\plop).edit; Ndef(\plop).unset(\freq); ( Ndef(\plop).put(1, \set -> Pbind( \degree, Pseq([ 0,3,2,3, 4,2,2,3, ],inf), \octave, 4, \dur, Pseq([1,2,4,1],inf)/4, ) ); )
-
... ~t = 135/4/60; TempoClock.default.tempo = ~t; ); ( Pdef(\fm, Ppar([ Pbind( \instrument, \fmbass, \note, Pseq([ 0,5,2,3,1,-12,-5,1,-2,0,1, ],inf), \legato, Pseq([ 4,0,0,0, 0,0,1,1, ],inf)*0.9, \ ...