-
... ] Psetpre [ Pmulpre Paddpre ] FuncFilterPattern [ Pwhile Pfset Preject Pselect Pcollect ] Pn [ Ploop ] ] Phid Pdict Pdefn [ Tdef [ Pdef ] ] Pswitch [ Pswitch1 ] ListPattern [ Pwalk Pslide Ptuple Ppar [ Ptpar ] Pdfsm Pfsm Pwrand Pxrand Pran ...
-
... 110-1301, USA. */ +Pattern { miSC_repTypeFactor { |type| ^1 } eventShortcuts { ^Pcollect({ |e| EventShortcuts.miSC_replaceShortcuts(e) }, this) } symplay { |dict, clock, protoEvent, quant, maxNull = 128| ^PsymNilSafe(this, dict ?? { current ...
-
... n by rejecting particular values. Source: FilterPatterns.sc See also: Pselect , Pcollect , Collection: -reject Description Preject filters the source pattern using func . Values for which func returns true will not be returned by Preject. T ...
-
... ilters values returned by a source pattern. Source: FilterPatterns.sc See also: Pcollect , Preject , Collection: -select Description This pattern will filter the source pattern using the supplied function func . Values from the source patte ...
-
... veldict[event[\irama].value] ?? { leveldict[\default] } } } } /*PiramaOffset2 : Pcollect { *new { arg pattern, leveldict; ^super.new(pattern, { |event| var lag = leveldict[event[\irama].value] ?? { leveldict[\default] }; event[\lag] = event ...
-
... if ((n+1) % 6 == 0,{~names.value(Pbind(*[\instrument:\mallet, \m:Pcollect({arg inval;inval-[-24,12].choose},a), \dur:d, \a:{rrand(0.4,1)*0.05/(n+1)}, \p:{rrand(-0.2,0.2)}, ...
-
... ([1,10], inf ) * Pfunc { ~a }; An even more generalized operation is the use of Pcollect, which defines the following Stream behaviour: Output of the source stream will be taken as input by the collecting stream, as with Pfunc the Function ...
-
... ,10], inf) * Pfunc { ~a }; ⧉ ✔ An even more generalized operation is the use of Pcollect, which defines the following Stream behaviour: Output of the source stream will be taken as input by the collecting stream, as with Pfunc the Function ...
-
... d } unmapMode { arg mode; ^mode.prUnmap(this) } } + Pattern { mapMode { |mode| ^Pcollect({ |item| item.mapMode(mode) }, this) } unmapMode { |mode| ^Pcollect({ |item| item.unmapMode(mode) }, this) } } + Stream { mapMode { |mode| ^this.collec ...
-
... p(this, scAccidentals) } } + Pattern { mapMode { |mode, scAccidentals = false| ^Pcollect({ |item| item.mapMode(mode, scAccidentals) }, this) } unmapMode { |mode, scAccidentals = false| ^Pcollect({ |item| item.unmapMode(mode, scAccidentals) ...