Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ncs).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(1, \speed); MIDIIn.doControlAction(MIDIClient.sources[0].uid, 0, 1, 60); m.channel = 0 ...

  2. JInT_PocketFader Quark

    ... .init(inPorts,outPorts); // explicitly intialize the client inPorts.do({ arg i; MIDIIn .connect(i, MIDIClient .sources.at(i)); }); ) k = JInT_PocketFader .new(s, -2093904405, 3) k.start // get information on device k.info k[\f1].action = {| ...

  3. UMIDIDict Quark

    ... not }) } or: force ) { midiFuncs.do(_.free); if( MIDIClient.initialized.not ) { MIDIIn.connectAll; }; midiFuncs = [ MIDIFunc.noteOn({ |val, num, chan, src| this.addNoteOn(src,chan,num,val); }).permanent_( true ), MIDIFunc.noteOff({ |val, nu ...

  4. BasicMIDISocket Quark

    ... num2, vel2; noteOnProc !? { #num2, vel2 = noteOnProc.value(num, vel).asArray }; MIDIIn.doNoteOnAction(destination.port, destination.channel, num2 ? num, vel2 ? vel) } noteOff { |num, vel| var num2, vel2; noteOffProc !? { #num2, vel2 = noteO ...

  5. BasicMIDISocket Quark

    ... num2, vel2; noteOnProc !? { #num2, vel2 = noteOnProc.value(num, vel).asArray }; MIDIIn.doNoteOnAction(destination.port, destination.channel, num2 ? num, vel2 ? vel) } noteOff { |num, vel| var num2, vel2; noteOffProc !? { #num2, vel2 = noteO ...

  6. MIDI_keyboard Quark

    ... la velocidad de la tecla ).play; ) ( // Inicialización de MIDI MIDIClient.init; MIDIIn.connectAll; // Definición de la acción al recibir notas MIDI MIDIdef.noteOn(\midiNoteOn, { |veloc, note, chan, src| // Crea y toca un evento sonoro [velo ...

  7. NanoKONTROL Quark

    ... linlin(0,4,0,1), 0.5, 0.5 ).alpha_(0.5); }!4) ); // enable live scene switching MIDIIn.sysex = { |port, msg| if( msg[..8] == Int8Array[ -16, 66, 64, 0, 1, 4, 0, 95, 79] ) { { this.setScene( msg[9] ) }.defer; }; }; window.onClose_({ MIDIIn.s ...

  8. SchrittWechsel Quark

    ... o.action = nil; // */ ) /////////////////////// // Midi Mixer MIDIClient .init; MIDIIn .connect; ( MIDIIn .control = { |port, chan, ctlNum, val| [chan, ctlNum, val].postln; (ctlNum == 7).if{ (chan == 8).if{ // master fader (right-most) -> m ...

  9. BufferBlock Quark

    ... ; // */ \ )\ \ \ /////////////////////// \ // Midi Mixer \ \ MIDIClient .init;\ MIDIIn .connect;\ \ (\ MIDIIn .control = \ |port, chan, ctlNum, val| \ [chan, ctlNum, val].postln;\ \ (ctlNum == 7).if\ // fader \ (chan == 8).if\ // master (ri ...

  10. MIDIKeyboard Quark

    ... with MIDI in SC, so this is just one quick example... ( k = MIDIKeyboard .new; MIDIIn .connect; MIDIIn .noteOn_({ arg src, chan, num, vel; {k.keyDown(num)}.defer; }); MIDIIn .noteOff_({ arg src, chan, num, vel; {k.keyUp(num)}.defer; }); ) ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow