Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... =1,{ pads.at(x,0).responseOn; },{ pads.at(x,0).responseOff(pads.at(x,0)); }) }; MIDIClient.init; midisource=MIDIClient.sources.detect{|a|a.name.contains("Launchpad")}; if(midisource.notNil,{ mididestination=MIDIClient.destinations.detect{|a ...

  2. MIDIKeyboard Quark

    ... ) // Playing (outputting) MIDI notes on midi channel 1 ( k = MIDIKeyboard .new; MIDIClient .init; m = MIDIOut (0, MIDIClient .destinations.at(0).uid); k.keyDownAction_({ arg note; m.noteOn(0, note, 60);}); // (midi channel 1, midinote, velo ...

  3. APCmini Quark

    ... { //////////// SET UP CONNEXIONS var sources, destinations; var uid; // midi in MIDIClient.init; sources=MIDIClient.sources; // connect supercollider to controller destinations = MIDIClient.destinations; destinations.do { |dest, portNumber| ...

  4. NanoKONTROL Quark

    ... this.findPort ? inPort; allViews = this.makeWindow( height ); }; } *findPort { ^MIDIClient.sources.detectIndex({ |item| item.device == "nanoKONTROL" }); } *buttons { |scene| if( scene.notNil ) { ^allViews[ scene ][18..]; } { ^allViews.colle ...

  5. SchrittWechsel Quark

    ... start; } /* JITseto.action = nil; // */ ) /////////////////////// // Midi Mixer MIDIClient .init; MIDIIn .connect; ( MIDIIn .control = { |port, chan, ctlNum, val| [chan, ctlNum, val].postln; (ctlNum == 7).if{ (chan == 8).if{ // master fader ...

  6. BufferBlock Quark

    ... ITseto.action = nil; // */ \ )\ \ \ /////////////////////// \ // Midi Mixer \ \ MIDIClient .init;\ MIDIIn .connect;\ \ (\ MIDIIn .control = \ |port, chan, ctlNum, val| \ [chan, ctlNum, val].postln;\ \ (ctlNum == 7).if\ // fader \ (chan == 8 ...

  7. CollidingControl Quark

    ... er| ^super.new.init(app) } init{|anApp| app = anApp; this.initMIDI; } initMIDI{ MIDIClient.init; MIDIIn.connectAll; synths = Dictionary.new; MIDIFunc.noteOn({|vel, key| var tab = app.gui.tabs[app.gui.tabView.activeTab.index]; var name = "co ...

  8. BufferBlock-autoload Quark

    ... t( \ , 1);\ //block.out = 0 \ \;\ \ /////////////////////// \ // Midi Mixer \ \ MIDIClient .init;\ MIDIIn .connect;\ \ (\ MIDIIn .control = \ |port, chan, ctlNum, val| \ [chan, ctlNum, val].postln;\ \ (ctlNum == 7).if\ // fader \ (chan == 8 ...

  9. CVWidgetEditor Quark

    ... But = Button(tabView1, Point(60, 15)) .font_(staticTextFont) .action_({ |mb| if(MIDIClient.initialized, { MIDIClient.restart; midiConnectAll.value; }, { MIDIClient.init; midiConnectAll.value; }); wcm.midiDisplay.model.value_( wcm.midiDispla ...

  10. helper-funcs Quark

    ... ile.close } } { "can't open cheatsheet.txt".warn; }; }; if(MBM.exists(0).not) { MIDIClient.init; midiIndex = MIDIClient.sources.detectIndex { |endpt| endpt.device.containsi(midiDevice) }; MIDIPort.init(midiIndex.asArray); MIDIBufManager(nil ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow