-
... / replace repeats ~r = 3; // replace array elements ~a[0] = [77, 93.5]; ~a[2] = Pseq((94..96)); // replace whole array ~a = [55, 52]; x.stop; ////////////////////// // placeholder may also get lists of event patterns ( p = PLser(\a, 3); ~a ...
-
... e it. ( Pbind( \instrument, \help_oteypianostring, \delta, 1, \dur, 3, \degree, Pseq([1,3,5], inf), \out, 20, ).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/OteyPianoUGens/HelpSource/Classes/OteyPianoStr ...
-
... m doesn't go above 4.0 p = Pn(Pbind( // always a low C on the downbeat \degree, Pseq([-7, Pwhite(0, 11, inf)], 1), \dur, Pconst(4, Pwhite(1, 4, inf) * 0.25) ), inf).play; p.stop; p = Pn(Pfindur(4, Pbind( \degree, Pseq([-7, Pwhite(0, 11, inf ...
-
... te(1, 12, inf)).asStream.nextN(128).plot; // same, but less convenient to write Pseq([ Prand([-1, 1], 1), Pdup(Pwhite(0, 11, 1), 0) ], inf).asStream.nextN(128).plot; // melody interspersed with rests TempoClock.tempo = 125/60; ( p = Pbind( ...
-
... r, b[\808bd].asPxrand(inf), // Randomly choose from the kick drum samples \dur, Pseq([0.25, 0.5, 0.25, 0.125, 0.125],inf) // A terrible rhythm ).play; ⧉ ✔ helpfile source: /tmp/scquark_hs/PolyBuf/HelpSource/Classes/BufFolders.schelp link::C ...
-
... art1 = cs.copyRange(0, cs.find("Pbind")-1); argNames = this.argNames; patType = Pseq; argNames.do{|item| var string; string = ("Pdefn('" ++ argNames[0] ++ "_" ++ item ++ "', " ++ patType.asString ++ "(" ++ item ++ ", inf))").asString; part2 ...
-
... (\instrument, "hihat", \dur, 0.5,); ~saw= Pbind(\instrument, "sawSynth", \dur, Pseq([1, 2,3,0.5]), \rel, 1,); ~kick= Pbind(\instrument, "kick", \dur, .1); ~snare= Pbind(\instrument, "snare", \dur, 1/2); ~pluck=Pbind(\instrument, "plucki ...
-
... use can be sequenced with another pattern. p = Pbind ( \degree , ( PdataSlot ( Pseq ( (14..17), inf ), 1, x, inf )*12 ).round(1), \dur , 0.25 ).play; p.stop; // Using the slot ID's. Also showing that the slot ID's can be arrayed to produce ...
-
... (0.5).scramble.flat; q.b[\x] = [0, 1, 4, 5, 7, 9, 10]; q.b[\z] = nil; q.b[\z] = Pseq([Prand([3, 4, 5], 3), Pseq([1, 2, 5, 1, 3], 3)], inf).asStream.nextN(128); //____ ~out.fadeTime = 30; ( ~out = { var dt = 0.16; var index = Duty.kr(dt, 0, ...
-
... le must act on grace notes before the notes are embedded in the stream // thus, PseqFunc // change in ~useRh will take effect only at segment boundaries ~asNotePattern = #{ |passInValue| var dur, length, rhy, out; out = (passInValue[\useRh] ...