Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (167) Code (30) Doc (36) Help (9) Quark (92) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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 ...

  3. 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}); ...

  4. 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 ...

  5. 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; ...

  6. 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 ...

  7. 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 ...

  8. SCMMIDIOutSelectorView Quark

    ... ass { midiOuts = Dictionary(); dependants = Set(); this.refresh(); } *refresh { MIDIClient.init(); midiOuts.clear(); MIDIClient.destinations do: { |midiEndPoint| var endPointName = midiEndPoint.device + "-" + midiEndPoint.name; midiOuts[end ...

  9. MackieControl Quark

    ... false).not ) { all = all.add( this ); }; } *getMIDIInSrc { |mIn| var port; if( MIDIClient.initialized.not ) { MIDIIn.connectAll; }; case { mIn.isNumber } { port = MIDIClient.sources[ mIn ] ?? { MIDIClient.sources.detect({ |item| item.uid = ...

  10. PolyTouchResponder Quark

    ... nt) .init(install) } *initialized { ^ptrinit } *responders { ^ptrs } *init { if(MIDIClient.initialized.not,{ MIDIIn.connectAll }); ptrinit = true; ptrs = []; MIDIIn.polytouch = { arg src, chan, note, touch; ptrs.any({ arg r; r.respond(src,c ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow