Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (87) Code (5) Doc (41) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. MIDIPort Quark

    ... ports.put(0x80000001, MIDIPort(srctemp)); numPorts = max(numPorts, ports.size); MIDIFunc.noteOn({ arg vel, note, chan, src; if(ports[src].isNil) { // true == post warning // warning should not post repeatedly // unless the MIDI subsystem re ...

  2. SCMMIDIInNoteRangeView Quark

    ... e; }); if (midiNoteFuncOff.notNil, { midiNoteFuncOff.free; }); midiNoteFuncOn = MIDIFunc.noteOn(noteOnActionIntermediate, srcID: midiIn.uid, chan: chan); midiNoteFuncOff = MIDIFunc.noteOff(noteOffActionIntermediate, srcID: midiIn.uid, chan: ...

  3. CC14 Quark

    ... = 16383; cc1 = aCc1; cc2 = aCc2; chan = aChan; pattern = PatternProxy(0); def = MIDIFunc.cc({ |val,num,chan,src| pattern.source = val; case {num==cc1}{this.msbSet(val)} {num==cc2}{this.lsbSet(val)} }, [cc1,cc2],chan); if(fix, { def.fix; }); ...

  4. JMMIDI_OSCBridge Quark

    ... name, `spec) }) // .put(\learned, { |num, name| // learning.clear; // }) ; midi.midiFuncs.do { |midiResp| if(#[noteOn, noteOff].includes(midiResp[\name]).not) { this.addCtl(midiResp[\num], midiResp[\name], midiResp[\spec]); }; }; func = { | ...

  5. 1_butz Quark

    ... Vars[3].not.postln, true); }); Butz.add(\MIDI_trace, { "*** MIDI_trace: ".post; MIDIFunc.trace(MIDIFunc.classVars[2].not.postln, true); }); /// some general helpers Butz.add('setAll', { WinBounds.restoreAll }); Butz.add('chanTest', { WinBou ...

  6. CollidingControl Quark

    ... tMIDI; } initMIDI{ MIDIClient.init; MIDIIn.connectAll; synths = Dictionary.new; MIDIFunc.noteOn({|vel, key| var tab = app.gui.tabs[app.gui.tabView.activeTab.index]; var name = "colliding_" ++ app.id ++ "_" ++ tab.id; synths[key] = tab.track ...

  7. test-JITModPatch Quark

    ... space[\osc]) m = JITModMIDI(p.proxyspace); m.addCtl(1, \freq, \freq); m.slotAt(\midiFuncs).at(\name1).chan m.removeCtl(1, \freq); m.addCtl(1, \speed, [1, 15, \exp]); MIDIIn.doControlAction(MIDIClient.sources[0].uid, 0, 1, 100); m.removeCtl( ...

  8. MKtlLookup Quark

    ... // will need to unpack it correctly later: // either support multiple ports in MIDIfunc, // or merge one MKtl for each port into one mother MKtl *merge { |dict, key, newItem| var arr = dict[key].asArray; if (arr.includesEqual(newItem).not) ...

  9. elektron-digitakt.desc Quark

    ... MKtlDesc.descFolders explore MKtl('dt', "elektron-digitakt"); MKtl('dt').trace MIDIFunc.trace MKtl('dt').elAt(\kn) MKtlDesc.loadCaches MKtlDesc.writeCaches "/Users/tboverma/Library/Application Support/SuperCollider/MKtlDescriptions/_allDes ...

  10. RadiclesCmdsBase Quark

    ... |str1| MIDIIn.connectAll; }, "start midiin"); cW.add(\midipost, [\str], {|str1| MIDIFunc.trace(true); }, "post all incomming midi messages"); cW.add(\midipostst, [\str], {|str1| MIDIFunc.trace(false); }, "stop posting all incomming midi mes ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow