Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (167) Code (30) Doc (36) Help (9) Quark (92) SCDoc ↗ Forum ↗ Google ↗
  1. MIDISyncClock Quark

    ... first // assumes sources[0] is the MIDI clock source // if not, you should init midiclient yourself and manually // assign the right port to inport == 0 // using MIDIIn.connect(0, MIDIClient.sources[x]) MIDIClient.initialized.not.if({ MIDIC ...

  2. Controller Quark

    ... arg n; ^Controller.newP(ctl.copyRange(n,size-n), size-n); } midiInitialize { if(MIDIClient.initialized.not,{ MIDIClient.init; }); MIDIClient.sources.do({ arg endPoint; MIDIIn.connect(0, endPoint); }); MIDIIn.control = { arg source, channel, ...

  3. just a start with Livid BASE by moncrey (moncrey) Code

    ... }; this.initMIDI; } *initMIDI{ var baseFound=false; if(MIDIClient.initialized==false,{MIDIClient.init}); MIDIClient.sources.do{|a,b| if( baseFound==false && a.device == "Base" && a.name == "Con ...

  4. MIDI_keyboard Quark

    ... plitud basada en 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 ev ...

  5. UMIDIDict Quark

    ... Funcs.any({ |item|item.enabled.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 ...

  6. UsingMIDI Doc

    ... ortMIDI on Windows) are accessible to SuperCollider. The main MIDI classes are: MIDIClient This class connects to the operating system's MIDI layer, and obtains the lists of available MIDI sources and destinations. The information about the ...

  7. Δ by delta (Δ) Code

    ... virGet ) } ) ; ~source = ( ( ) .index_ { MIDIClient.sources.indexOf ( MIDIClient.sources.last ) } .in_ { MIDIClient.sources [ ~source.index ] } .x ...

  8. 5_TestMidiElementCompleteness Quark

    ... or midi: // use an existing source device, e.g. on mac, "IAC Driver" ~midisrc = MIDIClient.sources[0].device; // make all midi descs and mktls for them ~descs = MKtlDesc.loadDescs.select { |d| d.protocol == \midi }; ~mktls = ~descs.collect ...

  9. XiiTestMIDI Quark

    XiiTestMIDI { *new{ var document; var inPorts = 2; var outPorts = 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 ...

  10. Re: Launchpad Spiral by 0-2U (grirgz) Code

    For the challenge, let's make the path algorithmically =) ( MIDIClient.init; MIDIIn.connectAll; ~lpChan = 0; ~lpIn = MIDIClient.sources.select({arg item, i; (item.name == "Launchpad Mini")})[0]; //Pick the first launcpad mini you find ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow