Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1211) Code (84) Doc (287) Help (71) Quark (769) SCDoc ↗ Forum ↗ Google ↗
  1. UserView-Subclassing Doc

    ... e dependent on instance variables which you defined, such as value, states (for buttons), x and y (for mouse clicks), or anything else you might need for your design. See Pen for drawing methods. 5. Define typical widget methods Here you de ...

  2. Interface Doc

    ... ch; var joy; // the same environment is again in place ~freq.gui(layout); ActionButton(layout,"twitch",{ var x,y; // action button now remembers the environment ! ~freq.setUnmappedValue( x = 1.0.rand ); ~syncFreq.setUnmappedValue( y = 1.0.r ...

  3. Manta Quark

    ... note: 0 ! numPads, velocity: 0 ! numPads); if (usesTops) { topNames = (pad: \topButton, velocity: \topVelocity, noteOn: \topNoteOn, noteOff: \topNoteOff); indiv.putAll((topButton: (), topVelocity: (), topNoteOn: (), topNoteOff: ())); values ...

  4. Neuromodule Doc

    ... orientation = \vertical; sl }; sliders.do { |sl, i| var ll = VLayout(); ll.add( Button().states_([["x"], ["y"], [" "]]).action_({ |b| if(b.value == 0) { ysl.remove(i);xsl.add(i); sl.value = twod.x; }; if(b.value == 1) { xsl.remove(i); ysl.a ...

  5. SynthDesc Doc

    ... rol over all the SynthDef's inputs, with sensible range mappings. (The "window" button in the SynthDescLib browser does exactly this -- any ControlSpecs listed in the metadata will be used for the corresponding synth input's slider.) Curren ...

  6. JITGui Doc

    ... dating.) options a list of additional information, such as flags about optional buttons. (This is used in some subclasses.) Inherited class methods Instance Methods Accessing Instance Variables g.dump; ⧉ ✔ . object . object = obj the object ...

  7. XiiScaleSynth Quark

    ... { tablet.mouseDownAction = { arg view, x, y, pressure, tiltx, tilty, deviceID, buttonNumber; synth.set(\vol, pressure); 17.do({arg j; // y axis 15.do({ arg i; var r; // x axis r = Rect(3+(i*screenX/15), 2+(j*tabletScreenY/17), (screenX/15) ...

  8. CompressorUI Quark

    ... oldSlider, ampThreshold, gainReductionSlider; var compressorElements; var bypassButton; var activeOrbit; var defaultParentEvent; var minThreshold; var uiKnobFactories; var comporessorView; var globalEffects; var width, height; *new { |initH ...

  9. PointView Quark

    ... ({ |cb| this.showConnections_(cb.value); }) .value_(showConnections) ; triBut = Button() .action_({ var warning, triplets; fork({ statusTxt.string_("Triangulating points..."); 0.1.wait; if (\SphericalDesign.asClass.isNil) { warning = "Spher ...

  10. All_Interface_Functions Quark

    ... ve steps : // assumes low-number integer steps,intended for encoders or up/down buttons MFdef(\mainVolStep).value(4.rand2); MFdef(\mainVolStep).at(\step).cs; /////////// MainFX: ////////////// // MainFX has a list of prepared presets, // wh ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow