Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (500) Code (36) Doc (222) Help (81) Quark (152) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. VOsc Doc

    ... ffers prepared.".postln; }) ) // play the synth, indexing into the buffers with MouseX ( x = SynthDef("help-VOsc", { |out = 0, bufoffset = 0| // mouse x controls the wavetable position var bufindex = MouseX.kr(0, ~bufs.size - 1) + bufoffset ...

  2. DynKlank Doc

    ... play; ⧉ ✔ Changing parameters in realtime: ( // change freqs and ringtimes with mouse { var freqs, ringtimes; freqs = [800, 1071, 1153, 1723] * MouseX.kr(0.5, 2, 1); ringtimes = [1, 1, 1, 1] * MouseY.kr(0.1, 10, 1); DynKlank.ar(`[freqs, nil ...

  3. SGUIelement Doc

    ... ews will only redraw when update is called). Changing the value of a view using mouse or keyboard will call the action function immediately. Class Methods Inherited class methods Instance Methods . action a Function . can be called without ...

  4. Menu Doc

    ... ain. Arguments: point A Point at which to show the menu. Default to the current mouse cursor position. action The action that should appear at the specified point coordinates. Should be an action contained in the menu. . title . title = tit ...

  5. GMGuide_FM Doc

    ... and decrement the volume. This allows, for example, to simulate a LFO with the mouse. var ampSlider = GMFaderSlider() .modStep_(0.001) .modStepOperator_(\add) .modStepPixelRange_(1) ⧉ ✔ The second mod step, that is used when holding both C ...

  6. GMRoundButton Doc

    ... n Class methods new Inherited class methods Instance methods Interaction action mouseDownAction Graphical settings blink blinkColor blinkFontColor blinkTime string fontRatio stringRatio maxFontSize orientation svg svgRatio free Internal Met ...

  7. GMFeedbackButton Doc

    ... n Class methods new Inherited class methods Instance methods Interaction action mouseDownAction Graphical settings blink blinkColor blinkFontColor blinkTime string fontRatio stringRatio maxFontSize orientation direction svg svgRatio free In ...

  8. Friction Doc

    ... 2.ar(out, 0, 0.1); }.scope ) x.free; ( // Modulate the parameters by moving the mouse. Left speaker is original (modulated) sine wave, right speaker is filtered. x = { var sig, out; sig = SinOsc.ar((LFPulse.kr(0.5) + LFPulse.kr(0.33)).range ...

  9. DualBandComp Doc

    ... (\test).set(\amp, 2.0); // try with narrow noise, // freq and amp controlled by mouse Ndef(\test).put(5, { BPF.ar( WhiteNoise.ar(MouseY.kr(0, 1.4).squared) ! 2, MouseX.kr(50, 10000, 1), 0.1) * 10 }); ⧉ ✔ Class Methods . ar create a DualBand ...

  10. SOMRd Doc

    ... odes nodes, and a 1D net trained on 2D input data. // This simple example takes mouse X and Y coords onscreen and prints the co-ordinate of the nearest node. // Try drawing a big sinewave across the screen, like the one plotted in the SOMTr ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow