Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ch may be useful) */ init { nk_sources = []; MIDIIn.connectAll(); // this calls MIDIClient.init; input device is filtered in MIDIdef nk_last_seen = Dictionary[]; nk_sources = MIDIClient.sources.select {|e| e.device.containsi("nanoKontrol") ...

  2. FoxDot Quark

    ... s from FoxDot".postln; } *startRemote { this.start(true); } *midi { arg port=0; MIDIClient.init; midiout = MIDIOut(port); OSCFunc( { arg msg, time, addr, port; var note, vel, sus, channel, nudge; // listen for specific MIDI trigger messages ...

  3. Simple MIDI CC to Sysex messages ( proof of concept ) by hemsinlet (hems.inlet) Code

    ... uts on the console // find the number of the output interface you want to use MIDIClient.init; // select the midi out you would like to use m = MIDIOut( 8 ).latency_(0.0); // send a sysex functions // some example messages MKS-50 ...

  4. MIDIMKtlDevice Quark

    ... on.notNil.if { if ( thisProcess.platform.name == \linux ) { midiOut.disconnect( MIDIClient.destinations.indexOfEqual(destination) ) }; midiOut = nil; }; source = nil; destination = nil; } // open all ports *initDevices { |force = false| if ...

  5. QuNeo Quark

    ... init() } init{ //Connect to MIDI sources if noone has bothered to do it yet. if(MIDIClient.sources.isNil, {MIDIIn.connect}); //Find QUNEO in and out ports if not specified during creation. if(scInPort.isNil, {scInPort = this.detectInPort}); ...

  6. tidal-midi Quark

    // version 0.3 // first, initialize your midi device. ( MIDIClient.init; MIDIClient.list; // to check, which are there, you can query them ) // create a midi out connection ~midiOut = MIDIOut.newByName("FastLane USB", "Port A"); // substitu ...

  7. SimpleMIDIFile help by wingel-prez-mendoza (Wingel Pérez Mendoza) Code

    ... idi/Croatia.mid"); m.timeMode_('seconds'); // convert ticks to seconds ); ( MIDIClient.init; // check list for available devices MIDIClient.destinations; a = MIDIOut(2); //Midi number of destination ); ( ~cont = 0; ~tiempo = 0.2; ...

  8. MIDIPort Quark

    ... ..2] -- you can do MIDIPort.init([2, 0, 1]) and you'll get // MIDIIn.connect(0, MIDIClient.sources[2]) // MIDIIn.connect(1, MIDIClient.sources[0]) // MIDIIn.connect(2, MIDIClient.sources[1]) *init { |sourceInports| var srctemp; var randsrc; ...

  9. SCMMIDIInSelectorView Quark

    ... ionary(); dependants = Set(); this.refresh(); } *refresh { MIDIIn.connectAll(); MIDIClient.init(); midiIns.clear(); MIDIClient.sources do: { |midiEndPoint| var endPointName = midiEndPoint.device + "-" + midiEndPoint.name; midiIns[endPointNa ...

  10. Linux_ManyMIDISources Quark

    ... correctly. // example is from linux, where apps auto-register midi IO. // give MIDIClient fake sources and destinations: MIDIClient.prSetSources([ MIDIEndPoint("System", "Timer", 0), MIDIEndPoint("System", "Announce", 1), MIDIEndPoint("Mid ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow