Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (154) Code (34) Doc (29) Help (5) Quark (86) SCDoc ↗ Forum ↗ Google ↗
  1. MIDI Doc

    ... ct to the MIDI subsystem and connect to the available devices. MIDIClient.init; MIDIIn.connectAll; ⧉ ✔ You need to do this once after launching SuperCollider, or recompiling the class library. There are some examples in the wild using the M ...

  2. SCMMIDIInNoteRangeView Quark

    /* FILENAME: SCMIDIInNoteRangeView DESCRIPTION: Select a MIDIIn source AUTHOR: Marinus Klaassen (2012, 2021Q4) EXAMPLE: m = SCMIDIInNoteRangeView(noteOnAction: { |...args| args.postln; }, noteOffAction: {|...args| args.postln; }).front; a = ...

  3. MIDIWindow Quark

    ... }; getSourceNames.value; //sourceNames.postln; inIsOn.do({ |item, i| if(item) {MIDIIn.connect(toPort, i) } }); window = Window("MIDIClient", Rect(299, 55, 200, 48), false); window.addFlowLayout; clientPopUp = PopUpMenu(window, 192@18) .ite ...

  4. UsingMIDI Doc

    ... unc and MIDIdef MIDIFunc and MIDIdef: Filtering based on device or message data MIDIIn Playing notes on your MIDI keyboard Sending MIDI out MIDI synchronization Third party libraries Guides | External Control > MIDI'>MIDI Using MIDI Notes o ...

  5. MIDI2OSC Quark

    ... , port, channel, num, vel = msg; SystemClock.schedAbs(baseTime + t + latency, { MIDIIn.doNoteOnAction(MIDIPort.sources[port].uid, channel, num, vel); }); }).add; noteOffResp = OSCresponderNode(addr, '/OSCMidiOff', { |time, resp, msg| var m, ...

  6. MIDI2OSC Quark

    ... , port, channel, num, vel = msg; SystemClock.schedAbs(baseTime + t + latency, { MIDIIn.doNoteOnAction(MIDIPort.sources[port].uid, channel, num, vel); }); }).add; noteOffResp = OSCresponderNode(addr, '/OSCMidiOff', { |time, resp, msg| var m, ...

  7. midivaluematcher Quark

    ... ch any note n = MIDIFunc.noteOn({arg ...args; args.postln} ); // match any note MIDIIn.doNoteOnAction(1, 1, 64, 64); // spoof a note on MIDIIn.doNoteOnAction(1, 1, 64, 43); // spoof a note on

  8. PolyTouchResponder Quark

    ... ized { ^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,chan,note,touch) }); } } *add ...

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

    ... specify one, // check the sources at: MIDIClient.sources // and connect using MIDIIn.connect( source_index ) MIDIIn.connectAll; // show incoming control data ~control = { arg src, channel, control, value; // ( control + " : " ...

  10. MIDISliderWindow Quark

    ... , 127, inAction, "aftertouch", Point(540,330), 190); } /* *connect { |midiFunc| MIDIIn.touch = midiFunc; } *disconnect { MIDIIn.touch = nil; } */ *connect { |midiFunc| if( responder.isNil ) { responder = TouchResponder( midiFunc ); } } *dis ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow