-
... l.) // This is a really useful trick: like Pfindur but for value patterns ( p = Pbind( \degree, Pif(Ptime(inf) < 4.0, Pwhite(-4, 11, inf)), \dur, 0.25 ).play; ) ⧉ ✔ Pstep(levels, durs, repeats) Repeat a level value for its corresponding dur ...
-
... t source, max deviation +/- 3 // no repetition within 5 pitches ( ~in = 72; p = Pbind( \dur, 0.2, \midinote, PLIdev(\in, 5, -3, 3).trace(prefix: "midi "), ).play; ) // change source ~in = 65 p.stop ⧉ ✔ Ex. 2: Variable deviations and lookBac ...
-
... * EnvGen.ar(Env.perc(att, rel), doneAction: 2)) }).add; ) ( // base pattern p = Pbind( \instrument, \varKlank, \midinote, Pwhite(65, 90), \amp, 0.1, \att, Pwhite(0.005, 0.02), \rel, 2, \sourceType, 1, \ringtime, 2, \pan, Pwhite(-0.3, 0.3) ) ...
-
... | Streams-Patterns-Events > HS and HSpar'>HS and HSpar PHSpar Extension defines Pbind(s) for using synth values of a HSpar Location: NOT INSTALLED! See also: miSCellaneous , Guide to HS and HSpar , HS with VarGui , HSpar , PHSparUse , PHSpa ...
-
... p higher than that is the leading tone. ( TempoClock.default.tempo = 84/60; p = Pbind( \scale, #[0, 2, 3, 5, 7, 8, 10], \root, 2, \degree, Pseq(#[rest, 4, 3, 4, 2, 4, 1, 4, 0, 4, -0.9, 4, 0, 4, 1, 4, 2, 4, -3, 4, -1.9, 4, -0.9, 4, 0, 4, -0. ...
-
... decision = Pseq([Pn(true, 10), Prand([true, false], 10)], inf).asStream; pat = Pbind(\freq, Pseq([200, [300, 302], 400, 450], inf), \dur, 0.3); clutch = StreamClutch(pat, decision); clutch.asEventStreamPlayer.play; ) ⧉ ✔ // independant ste ...
-
... ( lang: \minimouse, languages: ( minimouse: {|code, event| var output; output = Pbind(\degree, Pseq(code.ascii).trace % 24, \dur, event[\dur] ? 0.1); event.put(\result, output) }, maximouse: {|code, event| var output; output = Pbind(\freq, ...
-
... nt ( event , val ) Examples ( var a, b; a = Paddp(\freq, Pseq([2, 3, pi], inf), Pbind(\freq, Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { |out = 0, freq = 440, ...
-
... d class methods Instance Methods Inherited instance methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \freq, PMouseX(400, 800, 1).trace).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PMouseX(0, 0.5, 0).trace).play a.stop ⧉ ✔ ...
-
... with Patterns: Filter: What else can patterns do? Playing notes with a pattern: Pbind Further reading Suggested exercises Tutorials/Getting-Started | Tutorials > Getting-Started'>Getting-Started 16. Sequencing with Patterns Getting Started ...