-
... pattern).cycle_(cycle) } embedInStream { |inval| var stream = pattern.asStream, lastValue, value; (lastValue = stream.next(inval)).isNil.if({ ^inval }); loop { while { (value = stream.next(inval)).isNil.if({ ^inval }); value >= lastValue } ...
-
... pattern).cycle_(cycle) } embedInStream { |inval| var stream = pattern.asStream, lastValue, value; (lastValue = stream.next(inval)).isNil.if({ ^inval }); loop { while { (value = stream.next(inval)).isNil.if({ ^inval }); value >= lastValue } ...
-
... in PS's buffer prevents these from being altered unintendedly. Instance Methods lastValue Last value stored in memoRoutine lastValues Array of last values stored in memoRoutine , latest value is first in array. at (i) Returns i th item of a ...
-
PLastValue UGenPatterns quark library superclass: FilterPattern based on LastValue PLastValue(pattern, diff) pattern diff (default: 0.01) // example s.boot; a= Pbind ( \dur , 1/3, \legato , 0.4, \midinote , PLastValue ( Pseq ([0, 2, 4, 5, 0 ...
-
... s done with it's wheel. // // example of action: // action = { |channel, value, lastValue| [channel, value, lastValue].postln; } classvar <>window = nil; classvar <>action = nil; classvar <>treshActionDict = nil, <>actionDict = nil; classva ...
-
... al }; value = getValue.value( cable.outlet.unit.handlers.at(\mxFrameRateDevice).lastValue ); jack = cable.inlet.adapter.value(); jack.value = cable.map( value ); }) ); this.register(\MxIsFrameRateDevice, \MxSetter, MxCableStrategy({ arg cab ...
-
... svar <>all; var <>index = 0, <>key = \slider, <>action; var <>enabled = true, <>lastValue; *new { |index = 0, key = \slider, action, mackieControl| ^super.new.init( mackieControl ?? { MackieControl.global }, index ? 0, key ? \slider, action ...
-
... l = lookBackStream.next; while { psPat.memoRoutine.notNil.if { lastVals = psPat.lastValues }; lookBackVal.notNil }{ (lookBackVal > 0).if { count = 0; lookBackValClipped = min(lookBackVal, psPat.bufSize - 1); currentIndices = indicesStream.n ...
-
... if(val!=value, { value= val; this.updateButtons; }); } valueAction_ {|step| var lastValue= value; this.value= step; action.value(value, value-lastValue); } keyDownAction {|chr, mod, unicode, keycode| if(mod.isShift, { shiftState= true; this ...