Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (595) Code (63) Doc (218) Help (79) Quark (234) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. GMXYUserView Quark

    ... sition of the cursor to an index, // usually used to detect which case has been clicked getXIndex { |mousePos, maxIndex, invert = false| var index = 0; var caseSize = super.interactionRect.width / maxIndex; mousePos = mousePos - super.inter ...

  2. Command-line SC utility for MIDI clock out by 0-cM (jamshark70) Code

    ... ring match for the MIDI output device. 'tempo' is a float, for BPM. When you click the button next to the device menu, it will wait until just before the next bar line, and then send a MIDI clock start message, and start running ticks on ...

  3. EnvelopeView Doc

    ... and -setString . Interaction Nodes can be selected and moved using mouse. Shift-clicking a node will add it to the selection. You can also move selected nodes and change selection using keyboard. Pressing the arrow keys will move selected n ...

  4. AbstractCVWidgetEditor Doc

    ... rted into -midiSrcField . Returns: a PopUpMenu . midiLearnBut A Button that, if clicked, either triggers the MIDI-learn functionality (button-label: "L") or creates a CCResponder for the values entered in -midiSrc, -midiChan or/and -midiCtr ...

  5. API-old-help Quark

    ... ing" + x + y) .postln; "wiggled" + Main.elapsedTime // return value }); a.add( 'click' ,{ arg x,y; [x,y].postln; "" .postln; "You clicked" + x + y // return value }); a.mountOSC ) Open Help/ osctest.pde and run it. The Processing osc lib ap ...

  6. SCHLayoutView Help

    ... ts. While you can set it to accept key strokes, it does not itself accept mouse clicks or drags. SCHLayoutView responds to the minWidth and maxWidth properties in its child views. This is useful when resize is set to 2, 5, or 8. See example ...

  7. Re: Recursion-toy-like vines with Pen by vividsnow (vividsnow) Code

    ... } ) }; r = q.makeRecursion; r.fSpawn(350,350); win = Window("grow! (click to restart)", Rect(10, 10, 700, 700)); win.onClose = { r.fReset; run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_( ...

  8. MoscaSpatializer Quark

    ... lp); // FIXED: Changed fade-in from 0.1 to 1.0 seconds to prevent GPS-triggered clicks p.value = DiskIn.ar(channum, bufnum, lp) * EnvGen.kr(Env.new([0, 1], [1.0])); trig = Done.kr(p.value); FreeSelf.kr(trig); }, // for SCBus-in SynthDefs { ...

  9. ChuckMIDIGui Quark

    ... _({ |sink| var index; // dragging an object from a dragboth into itself is like clicking on it // this should trigger the model index = dragViews.indexOf(sink) + model.minNote; (model.v[index].notNil and: { model.v[index].bp === sink.object ...

  10. ChuckMIDIGui Quark

    ... _({ |sink| var index; // dragging an object from a dragboth into itself is like clicking on it // this should trigger the model index = dragViews.indexOf(sink) + model.minNote; (model.v[index].notNil and: { model.v[index].bp === sink.object ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow