Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    /* FILENAME: SCMMIDIInSelectorView DESCRIPTION: Select a MIDIIn source AUTHOR: Marinus Klaassen (2012, 2021Q4) */ SCMMIDIInSelectorView : SCMViewBase { var <proxy, labelErrorMessage, popupMenuMIDIIns, mainLayout, selectedMIDIInName, <midiIn ...

  2. XiiTestMIDI Quark

    ... orts = 2; MIDIClient.init(inPorts,outPorts); // explicitly intialize the client MIDIIn.noteOff = { arg src, chan, num, vel; [chan,num,vel / 127].postln; }; MIDIIn.noteOn = { arg src, chan, num, vel; [chan,num,vel / 127].postln; }; MIDIIn.po ...

  3. MIDISim Quark

    ... .value); var msgType = ev[\midiMsgType]; if (msgType.isKindOf(Symbol).not or: { MIDIIn.respondsTo(msgType).not }) { "MIDISim: % is not a midiMsgType.\n".postf(msgType); ^this }; "// MIDISim sends: %, %.\n".postf(msgType, list); this.perform ...

  4. cinematix-wheel.desc Quark

    ... ent.init; // test that coding is correct: // access wheels, last 4 bits of note MIDIIn.noteOn.value(0, 0, 0, 0); // action: '1', 0 MIDIIn.noteOn.value(0, 0, 1, 0); // action: '2', 0 MIDIIn.noteOn.value(0, 0, 15, 0); // action: '16', 0 // hi ...

  5. extConductor Quark

    ... itor"); control.items = [""]; updateFunc = { | selector | { var ev; loop { ev = MIDIIn.perform(selector); control.items = control.items .addFirst( ev.status.asString.extend(10, Char.space) + ev.chan.asString.extend(6, Char.space) + ev.b.asS ...

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

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

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

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

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

1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow