Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2777) Code (150) Doc (909) Help (255) Quark (1451) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. MxJack Quark

    ... 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; } ...

  2. UEvent Quark

    ... 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 ...

  3. VoicerGlobalControl Quark

    ... 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 ...

  4. PlayerSocket Quark

    ... if(socketStatus == \isWaking,{ sched.xblock; socketStatus = \isSleeping; ^this.changed; }); if(socketStatus != \isSleeping,{ AbstractPlayer.bundle(this.server,nil,{ |bundle| var currentSubject; currentSubject = envdSource.subject; envdSour ...

  5. PlayerSocket Quark

    ... if(socketStatus == \isWaking, { sched.xblock; socketStatus = \isSleeping; ^this.changed; }); if(socketStatus != \isSleeping, { AbstractPlayer.bundle(this.server, nil, { |bundle| var currentSubject; currentSubject = envdSource.subject; envdS ...

  6. ScrollingNBox Quark

    // 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 ...

  7. InstrSpawner Quark

    ... 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 ...

  8. InstrSpawner Quark

    ... )).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 ...

  9. SmoothSlider Quark

    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 ...

  10. SplineGui Quark

    ... 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 ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow