Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1381) Code (129) Doc (443) Help (138) Quark (657) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Rational Quark

    ... will fail and the number will display as floating point. Useful for working out just intonation or other ratio-based tuning systems. Creation: Rational (1.5) 1.5.asRational 3 /% 2 All the above display "3/2." Math: a = 3 /% 2; b = 5 /% 4; a ...

  2. MPD24Ktl Quark

    Quick and dirty first pass at a class for the Akai MPD24 Jeff C. uses just one scene, so no switching supports cc, notes, aftertouch, sysex. sysex is with MIDI.sysex - very dirty! test all kinds: ( m = MPD24Ktl.new; // m.dump; m.mapCC( \k1 ...

  3. AbsLayout Quark

    ... } absoluteBounds_ { |absBounds| absoluteBounds = absBounds; } // can't change, just compat bounds_ { } bounds { ^absoluteBounds } reset { } } + Object { // should kick in as soon as relativeOrigin_ is removed relativeOrigin_ { |bool| this. ...

  4. VoicerProcessGroup Quark

    ... { arg f; v.gate1(f, 0.5) }) }) } } That's a lot of braces to keep track of--but just remember that the function that follows the argument should be written exactly the same as if you were saying QuantTask.new(func). Why? Because you can't g ...

  5. VoicerProcessGroup Quark

    ... { arg f; v.gate1(f, 0.5) }) }) } } That's a lot of braces to keep track of--but just remember that the function that follows the argument should be written exactly the same as if you were saying QuantTask.new(func). Why? Because you can't g ...

  6. DMXDevice Quark

    ... case for the EntTec DMX USB Pro, which is a subclass of DMXDevice // DMXDevice just encapsulates the common properties of DMXDevices DMXDevice : SerialPort{ sendDMX{ arg cue; var datablob; var cuesize = cue.size + 1; // Int8Array[0] is the ...

  7. flowViewExtensions Quark

    ... ed ? if(this.decorator.bounds.containsRect(consumed).not, { // yes // pretend I just consumed nothing this.didUseAllocated(consumed.resizeTo(0, 0)); // goto the next line this.decorator.nextLine; // don't put a StartRow in there, the decora ...

  8. GCube Quark

    ... e is always located at [0, 0, 0]. size - extent of the cube. // simple example, just renders a (plain white) Cube at the origin of the coordinate system. g = GServer .default; // we do not have a GServer atm. g.boot; g.makeWindow; ( x = { v ...

  9. 01_open_editor Quark

    ... options, load order, GUI start — is now in the Dorota // class, so this file is just a demonstration. /////////////////////////////////////////////////////////////////////////////// // Open the editor. Boots the server if it is not running. ...

  10. AlgaScheduler Quark

    ... e scheduling events".error; ^this }); switchCascadeMode = val; } //Normal case: just push to bottom of the List pushAction { | action | if(interruptOnSchedRunning.not, { //Normal case: add to actions actions.add(action); }, { //A scheduled ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow