Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1588) Code (53) Doc (667) Help (150) Quark (717) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. extSimpleMIDIFile-asEvents Quark

    ... ? { "ended".postln; }; routine = Task({ var lastTime; lastTime = 0; notes.do({ |event, i| var synth; (event.absTime - lastTime).wait; function.value( event.note, event.velo, event.dur, event.upVelo, event.track, event.channel, event.absTime ...

  2. README Quark

    ... oads-image]][downloads-url] [![Gittip][gittip-image]][gittip-url] Get the first event in a set of event emitters and event pairs, then clean up after itself. ## Install ```sh $ npm install ee-first ``` ## API ```js var first = require('ee-f ...

  3. extSimpleMIDIFile-patterns Quark

    ... thisFile; inst = ( inst ? 'default' ).asCollection; // todo: create multi-note events from chords, detect rests if( useTempo ) { if( timeMode == 'seconds' ) { thisFile = this } { thisFile = this.copy.timeMode_( 'seconds' ); }; } { if( time ...

  4. ddwFilterPatterns Quark

    ... each of which should be embedded in the stream Pembedn : Pn { embedInStream { |event| var stream, result; stream = pattern.asStream; repeats.value.do({ (result = stream.next(event)).notNil.if({ event = result.embedInStream(event); }, { "Pe ...

  5. Tafsiran Quark

    ... ode; var set; rules = rules.deepCollectAssoc { |assoc| assoc = assoc.fromScoreToEvents(converter, false); // sets with variables are expanded into sets of TafsiranNodes. if(this.hasVariableSetNode(assoc)) { this.makeNestedNode(assoc) } { Ta ...

  6. UScoreEventView Quark

    ... h GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ UScoreEventView : UEventView { ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } mouseDownEv ...

  7. UVoicerEventView Quark

    ... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ UVoicerEventView : UEventView { ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } mouseDownEv ...

  8. UScoreEventView Quark

    ... h GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ UScoreEventView : UEventView { ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } mouseDownEv ...

  9. TestEvent Quark

    /* TestEvent.run UnitTest.gui */ TestEvent : UnitTest { var prevMsg, prevLatency; test_equality { var a,b,c, x, y, keys, values; a = (a: 100, b: 200, c: [1, 2, 3]); b = (a: 100, b: 200, c: [1, 2, 3]); c = (a: 100, b: 200, c: [1, 2, 4]); thi ...

  10. CllParameterHandlers Quark

    ... alueID = Rest(0) }; }; } wrapPattern { |pattern| ^pattern.collect { |valueID, inEvent| this.processValue(valueID, inEvent) } } // higher level hook, for subclasses handling arrays // we need both common behavior and class-specific overrides ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow