-
( Alga.boot({ //Define and start an AlgaPatternPlayer ~player = AlgaPatternPlayer(( dur: Pwhite(0.1, 0.5), freq: Pseq([440, 880], inf) )).play; //Use ~player for both indexing values and triggering the pattern ~pattern = AP(( def: { SinOsc. ...
-
PSdup Pattern which returns last values from other patterns via PSx Part of: miSCellaneous Inherits from: PS / PStream See also: MemoRoutine , PSx stream patterns , PS , PSrecur , PSloop PSdup uses the storage functionality of other PSx pat ...
-
PselectSegment : Psym { *new { arg pattern, dict; ^super.new(pattern).dict_(dict) } lookUp { arg key; ^dict.at(key).collect { |event| event.put(\segment, key); event }; } } Psegment : Pattern { var <>axiom, <>rules, <>pattern; var <>verbose ...
-
... of ascending integers as 'points' or 'intervals' . See also: Sieves and Psieve patterns , PSVunion , PSVunion_i , PSVunion_o , PSVunion_oi , PSVsect , PSVsect_i , PSVsect_o , PSVsect_oi , PSVsymdif , PSVsymdif_i , PSVsymdif_o , PSVsymdif_o ...
-
OSCMessageInversePatternDispatcher : OSCMessageAndArgsSizeDispatcher { value {|msg, time, addr, recvPort| var pattern; pattern = msg[0]; active.keysValuesDo({|key, func| if(pattern.matchOSCAddressPattern(key), {func.value(msg, time, addr, r ...
-
Ptafsiran : Pattern { var <>pattern, <rules, <>transparent, <>maxContextSize, <maxKeySize; var <>verbose = true; *new { arg pattern, rules, transparent = false, maxContextSize = 30; if(rules.isNil) { Error("need rules for Ptafisran!").throw ...
-
PLx, a dynamic scope Pattern suite dynamic scope Pattern variants Part of: miSCellaneous See also: Event patterns and Functions , PLx and live coding with Strings , VarGui , VarGui shortcut builds , Buffer Granulation , Live Granulation Env ...
-
/* FILENAME: Pattern DESCRIPTION: Pattern Extensions AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: Pbeta(0, 1.0, 0.2, 0.2).plotHisto Pbeta(0, 1.0, 0.5, 0.5).plotHisto(2000) */ +Pattern { plotHisto { | size=1000 | ^this.asStream.nextN(siz ...
-
PL dynamic scope placeholder pattern Part of: miSCellaneous Inherits from: PL_Pattern Takes Symbol args for later reference by the Streams, which will read from variables in the Environments of their instantiation. See PLx suite . NOTE: PL ...
-
P3n1 : FilterPattern { var <>endWhen; *new { arg pattern, endWhen; ^super.new(pattern).endWhen_(endWhen) } embedInStream { arg inval; var str, x, func; str = pattern.asStream; func = { |x, inval| x = x.asInteger; x = if(x.even) { x div: 2 } ...