-
... tVal.notNil, { // stream is set v = firstVal; firstVal = nil; lastVal = v; this.changed; ^v }, { if(stream.isNil, { ^this.value }); lastVal = stream.next(inval); this.changed; ^lastVal }) } reset { stream.reset; firstVal = lastVal = nil; } ...
-
... els { ^renderNumChannels.value } track_ { |newTrack = 0| track = newTrack; this.changed( \track ) } startTime_ { |newTime| if( lockStartTime.not ) { startTime = newTime; }; this.changed( \startTime ) } lockStartTime_ { |bool = false| lockSt ...
-
... tching }; value = val; bus.server.sendBundle(latency, this.setMsg(value)); this.changed((what: \value, updateGUI: updateGUI, resync: resync, updateBus: false)); }); } setMsg { |val| ^[\c_set, bus.index, value] } value_ { arg value; this.set ...
-
... if(socketStatus == \isWaking,{ sched.xblock; socketStatus = \isSleeping; ^this.changed; }); if(socketStatus != \isSleeping,{ AbstractPlayer.bundle(this.server,nil,{ |bundle| var currentSubject; currentSubject = envdSource.subject; envdSour ...
-
... if(socketStatus == \isWaking, { sched.xblock; socketStatus = \isSleeping; ^this.changed; }); if(socketStatus != \isSleeping, { AbstractPlayer.bundle(this.server, nil, { |bundle| var currentSubject; currentSubject = envdSource.subject; envdS ...
-
// wslib // original by blackrain; mod to prevent nil error for wslib // now fixed in SNBox; this is still here to prevent my own code from breaking.. ScrollingNBox : RoundNumberBox { } /* ScrollingNBox : SCNumberBoxOld { var <>clipLo = -in ...
-
... is)).isNil ,{ ^false }); sendArray.put(i * 2 + 6,val); }); ^true } update { arg changed,changer; // one of my noncontrol inputs changed if(this.isPlaying,{ //"one of my inputs changed, need to send sample change etc.".warn; synthDef.secretD ...
-
... )).isNil , { ^false }); sendArray.put(i * 2 + 6, val); }); ^true } update { arg changed, changer; // one of my noncontrol inputs changed if(this.isPlaying, { //"one of my inputs changed, need to send sample change etc.".warn; synthDef.secre ...
-
SmoothSlider part of wslib a Pen -based replacement for SCSlider , with extra styling options. SmoothSlider works the same way as SCSlider. But, as the name states, it is smooth. I created this because, frankly, I don't like the looks of SC ...
-
... nt[1] = model.points[selected][1] }) }); model.points[selected] = spoint; model.changed('didMovePoint',selected); }; }; // key down action // delete selected uv.keyDownAction = { arg view, char, modifiers, unicode, keycode; this.keyDownActi ...