Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1397) Code (57) Doc (328) Help (93) Quark (918) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. GamePad_more Quark

    GamePad add your own controllers/classes For some GamePad models, classe have been written already. For other models, you will have to make your own map of which button uses which ID number or 'cookie'. ( GamePad .startHID(0); // read all U ...

  2. SCLOrkEmojiMenu Quark

    SCLOrkEmojiMenu : Menu { var trieNode; var searchString; var isPopulated; var pickerCallback; *newRoot { |pickerCallback| SCLOrkEmoji.load; ^SCLOrkEmojiMenu.new(SCLOrkEmoji.trie.dictionary, "", pickerCallback, true); } // For the root menu ...

  3. VoicerNode Quark

    ... I live trace { this.isPlaying.if({ synth.trace }) } map { arg name, bus; // do mapping for this node synth.notNil.if({ synth.map(name, bus); }); } mapArgsMsg { // assumes synth is loaded var mapMsg; // if nothing's in the globalControls di ...

  4. point_speed Quark

    /* \point_speed Creates an UMap for measuring the speed of a point (or point UMap) and convert it to a value. point: the point fromRange: the speed range from which the output value will be calculated toRange: the value range to which the s ...

  5. step3-source Quark

    ... typed, \hid]) and: { Ndef('track2').get('volume') == -12 } } ); // A controller mapping (here OSC) runs its code with the source \osc. ~radTest.("controller-source", setup: ["start 2"], code: { var capture = Radicles.postCapture; ~radSrcLog ...

  6. ListeningClock Quark

    ListeningClock a clock that listens to other clocks Inherits from: Object : Clock : TempoClock : SoftClock ListeningClock implements phase and frequency adjustment to a number of other clocks. This can be useful to synchronise ensembles in ...

  7. index_of_nearest Quark

    /* \index_of_nearest Creates an UMap that can compare a number of input values against a single given value. The UMap will output the index of the value nearest to the 'nearestTo' value. vals: the values to test nearestTo: the value to comp ...

  8. pulse_counter Quark

    /* \pulse_counter This UMapDef implements a pulse counter. trigger: the trigger to be counted reset: a trigger resets the count max: the maximum value to be counted step: the size of the steps (can be negative too) startValue: the value fro ...

  9. pulse_counter Quark

    /* \pulse_counter This UMapDef implements a pulse counter. trigger: the trigger to be counted reset: a trigger resets the count max: the maximum value to be counted step: the size of the steps (can be negative too) startValue: the value fro ...

  10. GMXYUserView Quark

    ... usePos; }; ^mousePos } // Maps the X position of the cursor to a scale getXMouseMapping { |mousePos, min, max, scale, invert = false, expMin = 0.001| mousePos = this.getXMousePos(mousePos, invert); // Special cases first if(mousePos == 0) { ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow