-
... 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 o ...
-
... 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 ...
-
... ~lo = 55; ~hi = 80; ~step = Pstutter (10, PLseq ([0.05, 3.5])); ) // run ( x = Pbind ( \midinote , Ptuple (p!2), \dur , 0.1 ).play; ) // replace ( ~lo = Pseq ((50..90)); ~hi = Pseq ((50..90) + 15); )
-
... s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind ( \midinote , PLnaryFunc ( \f , \src , [ \dev] ), \dur , 0.1 ); ) // define Environment and play ( e = (f: { |x,y| x + y }, src: PLseq ([61, 62]), dev: Pb ...
-
... dd(v.isKindOf(Function).if { Pfunc { |e| e.use { v.() } } }{ v }); }; ^a } p { ^Pbind(*this.pa)} pm { |sym| ^Pmono(sym, *this.pa)} pma { |sym| ^PmonoArtic(sym, *this.pa)} pbf { |sym| ^Pbindef(sym, *this.pa)} pp { |clock, protoEvent, quant| ...
-
... e last value of x resp. p y.nextN(10) // data sharing with event patterns ( p = Pbind ( \midinote , Pwhite (60, 90) + PLrand ([0, 0, [0, -3]]), \dur , PLrand ([0.2, 0.4]), \amp , PLrand ([0.07, 0.12, 0.2]), \type , Pfunc { 0.1.coin.if { \re ...
-
... s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind ( \midinote , PLgbrown ( \lo , \hi , \step ) + [0, -7.4, -12.7], \dur , 0.1, \amp , 0.05 ); ) // prepare Environments ( e = (lo: 65, hi: 90, step: 0.01); ...
-
... 'dur' or 'delta' *must* be set in the inval before this pattern gets called: // Pbind(\dur, ..., \step, PstepDur(...)) = OK // Pbind(\step, PstepDur(...), \dur, ...) = not OK PstepDur : Pstep { var <>tolerance; *new { |levels, durs = 1, rep ...
-
... 0; ~chord = { x <! (x = x + rrand(1, 3)) } ! 4; SynthDescLib .global.read; p = Pbind ( \mode , ~mode, \bottom , Pvbrown (30, 39, Pwrand (#[1, 2, 3], #[0.4, 0.35, 0.25], inf ) * Prand (#[-1, 1], inf ), inf ), \notes , Pkey ( \bottom ) + ~ch ...
-
... 0; ~chord = { x <! (x = x + rrand(1, 3)) } ! 4; SynthDescLib .global.read; p = Pbind ( \mode , ~mode, \bottom , Pvbrown (30, 39, Pwrand (#[1, 2, 3], #[0.4, 0.35, 0.25], inf ) * Prand (#[-1, 1], inf ), inf ), \notes , Pkey ( \bottom ) + ~ch ...