-
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 ...
-
# CC14 ### 14 bit midi functionality and helper functions 14 bit midi functionality and helper functions for the same. Some of this is builds on the original work of Carl Testa's great [FourteenBitCC class](https://gist.github.com/carltesta ...
-
/* \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, ...
-
s.boot; q = () ( q[\drumMap] = (); q[\drumMap][\kick] = #[ [[145, 0, 0, 0, 0, 0, 109, 0, 0, 0, 0, 0, 255, 0, 109, 0, 72, 0, 218, 0, 0, 0, 0, 0, 36, 0, 0, 0, 182, 0, 0, 0], [255, 0, 0, 0, 218, 0, 0, 0, 36, 0, 0, 0, 218, 0, 0, 0, 182, 0, 109, ...
-
... .pairsDo { |k, val| if(k === key) { ^val } }; ^nil } } + Pchain { atKey { |key| patterns.do { |p| if ( p.class == Pbind ){ ^p.atKey( key )}; }; ^nil } } + PatternProxy{ atKey{ |key| ^source.atKey( key ) } } /* + Pdef{ at{ |key| var ret; try ...
-
[ [ '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 ...