Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (94) Code (22) Doc (24) Help (5) Quark (43) SCDoc ↗ Forum ↗ Google ↗
  1. FoxDot Quark

    FoxDot { classvar server; classvar midiout; *start { | remote = false | server = Server.default; server.options.memSize = 8192 * 16; // increase this if you get "alloc failed" messages server.options.maxNodes = 1024 * 32; // increase this i ...

  2. MidiControlUI Quark

    MidiControlUI { var midiControlButtons; var switchControlButtonEvent; var midiOut; *new { |initSwitchControlButtonEvent, initMidiOut| ^super.new.init(initSwitchControlButtonEvent, initMidiOut); } init { |initSwitchControlButtonEvent, initMi ...

  3. BCRKtl Quark

    BCRKtl : MIDIKtl { classvar <>verbose = false; classvar <>midiOut; *makeMIDIOut { |index = 0| midiOut = MIDIOut(index, MIDIClient.destinations[index].uid) } *initClass { this.makeDefaults; } mapToPxPars { |proxy ... pairs| if (midiOut.notNi ...

  4. tidal-midi Quark

    ... o check, which are there, you can query them ) // create a midi out connection ~midiOut = MIDIOut.newByName("FastLane USB", "Port A"); // substitute your own device here // you may want to adjust the latency here ~midiOut.latency = 0.0; // ...

  5. Launchpad Quark

    Launchpad{ classvar <>midiout; classvar <>pads;//2DARRAY classvar nonr,nofr,cor;//MIDI RESPONDER FUNCTIONS *initClass{ Launchpad.pads=Array2D.fromArray(9,9, Array.fill(81,{|i|LPPad .new((i/9).asInteger,i%9)})); } *initMIDI{ var non,nof,co,m ...

  6. MackieControl Quark

    ... classvar <>all; var mackieControl, <>midiFuncs; var <>offset = 0; var <midiIn, <midiOut; var <>currentFaderVals; var <>softSetTime = 0.9, <>hwSoftSetTasks; var <>knobRes = 0.0078125; // resolution for knobs (default 1/128) var <>knobVelo = ...

  7. novation-launchpadminimk1.desc Quark

    ... = 1 }, { el.value = 0}) }); // Lights' colors are controlled via velocity ( var midiout = k.device.midiOut; [ // Rows (0..8), (16..24), (32..40), (48..56), (64..72), (80..88), (96..104), (112..120) ].flatten.do{|noteNum| // Velocity = color ...

  8. UMIDIFilterSpec Quark

    ... [ \val ] = value; { view.setViews }.defer; if( active ) { view.doAction }; } } UMIDIOutSpec : Spec { classvar <>unknown; classvar <>defaultIndex = 0; var >default; // handles only Symbols and Numbers, no repetitions *new { |default| ^super. ...

  9. nanoKONTROL2 Quark

    ... n = nil, <>play_action = nil, <>rec_action = nil, mididef_key, <outport = nil, <midiOut = nil; // change this only if you are writing a class for // nanoKONTROL3 with 9 knobs and faders var <nk2num = 8, <knobs_note = 16, <faders_note = 0, < ...

  10. MIDIClock Quark

    ... rtName,tempoClock; var port; if(deviceName.notNil and: portName.notNil,{ port = MIDIOut.newByName(deviceName,portName); },{ port = MIDIOut.new(0,MIDIClient.destinations[0].uid); }); if(port.isNil,{ Error("Device not found " + deviceName + p ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow