Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (167) Code (30) Doc (36) Help (9) Quark (92) SCDoc ↗ Forum ↗ Google ↗
  1. SCLOrkJack Quark

    ... nil, go for dialog".postln; Dialog.openPanel(loadFunction); }); } // Checks if MIDIClient.init has been initialized. If not, attempt to initialize it. // Run function when after MIDI has been initialized. *waitForMIDI { |onComplete, lag = ...

  2. MIDIPort Quark

    ... ..2] -- you can do MIDIPort.init([2, 0, 1]) and you'll get // MIDIIn.connect(0, MIDIClient.externalSources[2]) // MIDIIn.connect(1, MIDIClient.externalSources[0]) // MIDIIn.connect(2, MIDIClient.externalSources[1]) *init { |sourceInports| v ...

  3. midi_note_gate Quark

    ... UMapDefs set */ ValueUMapDef( \midi_note_gate, { |unit, midifuncs| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifuncs.do(_.free); func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curv ...

  4. SNanoKontrol Quark

    ... {|view| view.visible= false}; nanoChannelText[8][0].visible= false; } ); index= MIDIClient.sources.detectIndex{|x| x.uid==device.id}; //MIDIIn.disconnect(index, MIDIClient.sources[index]); //TODO disconnect needed? MIDIIn.connect(index, MID ...

  5. CVCenterLoadDialog Quark

    ... , 15)).font_(Font(Font.available("Arial") ? Font.defaultSansFace, 9, true)); if(MIDIClient.initialized, { midiInitBut.states_([ ["restart MIDI", Color.black, Color.green] ]) }, { midiInitBut.states_([ ["init MIDI", Color.white, Color.red] ] ...

  6. midi_noteOn_freq Quark

    ... MapDefs set */ ValueUMapDef( \midi_noteOn_freq, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.remove; func = { |value, range| var outSpec; outSpec = unit.getSpec( \value ); value = value - 69; i ...

  7. midi_note_gate Quark

    ... UMapDefs set */ ValueUMapDef( \midi_note_gate, { |unit, midifuncs| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifuncs.do(_.free); func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curv ...

  8. midi_bend Quark

    ... fault UMapDefs set */ ValueUMapDef( \midi_bend, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.free; func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curve = uni ...

  9. midi_touch Quark

    ... ault UMapDefs set */ ValueUMapDef( \midi_touch, { |unit, midifunc| var func; if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); midifunc.free; func = { |value, fromRange| var toRange, curve; toRange = unit.mapGet( \toRange ); curve = uni ...

  10. MIDI_port_selection_test Quark

    MKtl.find; MIDIClient.sources MKtl('bltn0'); // [ "Ableton Push", "Ableton Push MIDI 1" ] MKtl('bltn1'); // [ "Ableton Push", "Ableton Push MIDI 2" ] ( ~desc = ( // idInfo: "Ableton Push", idInfo: ( name: "Ableton Push", sourcePortIndex: 1, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow