-
PremovePin : FilterPattern { embedInStream { arg inval; var outval, prev, stream; stream = pattern.asStream; while { outval = stream.next(inval); outval.notNil } { if(outval.at(\degree) === '?') { prev = prev.copy; prev.put(\dur, prev.at(\d ...
-
... things or creating different transformations of the incoming signal. A built in pattern is available as well by calling the `.pattern` method. Optionally, you can choose to transform the raw midi data to a normalized value in the range of 0 ...
-
/* \p_midiFile Creates an pattern UMap for extracting data from Standard MIDI Files (.mid/.smf). There are currently three data types available; note (note number), velocity and cc (control). The values are extracted in order of appearance, ...
-
... \pos.kr(0.0))); }).add; ) ( t = TempoClock.default; t.tempo = 130/60.0; ) ( q[\pattern] = ( hhX: 0.1, hhY: 0.2, hhT: 0.6, kX: 0.2, kY: 0.2, kT: 0.7, sdX: 0.2, sdY: 0.4, sdT: 0.6, ); w = Window("SC grids", Rect(100, 100, 400, 580)); ["hh", ...
-
+ Object { atKey { |key| ^nil } } + Pbind { atKey { |key| patternpairs.pairsDo { |k, val| if(k === key) { ^val } }; ^nil } } + Pchain { atKey { |key| patterns.do { |p| if ( p.class == Pbind ){ ^p.atKey( key )}; }; ^nil } } + PatternProxy{ a ...
-
[ [ 'test1', [ [ 'instrument', 'default' ], [ 'note', 'seq', [ 1, 2, 3, 'rest' ] ], [ 'dur', 'seq', [ 0.5, 0.5, 0.25, 0.5 ] ] ] ], [ 'test2', [ [ 'note', 'seq', [ [ 3, 1, 6 ], 2, 1, 0, 2 ] ], [ 'dur', 'seq', [ 0.5, 0.5, 0.25, 0.5 ] ] ] ], [ ...
-
... al: ~dirt.orbits.do { |each| each.outBus = 0; }; /* using SuperDirt from sclang patterns */ ( var d = ~dirt.orbits.first; Event.addEventType(\dirt, { ~latency = s.latency; ~delta = ~dur.value; ~s = ~s ? ~instrument; d.value(currentEnvironme ...
-
// some new patterns - jamshark70@dewdrop-world.net Pwxrand : Pwrand { embedInStream { |inval| var item, weightStream = weights.asStream, currentWeights, index = weightStream.next(inval).windex, totalweight, rnd, runningsum; repeats.value(i ...
-
PDC UGenPatterns quark library superclass: Pattern based on DC PDC(in) in dc value (default: 0) length number of values produced (default: inf) // example s.boot; a= Pbind ( \dur , 1/3, \legato , 0.4, \midinote , PDC (60).trace).play a.stop ...
-
... 02110-1301, USA. */ // It might look odd that copying is triggered twice in PSx patterns, but - // especially important with event patterns: copying within the Pfunc function ensures // that buffered items of the *source* are not altered an ...