Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    //discrete world - explosions //with mouse controlling repulsive object location ( var width= 640, height= 480, w, wgrav, world, n= 50, rep, pixelSize= 4, wn= width/n, hn= height/n; //--world w= RedWindow("discrete world - explosions", Rect ...

  2. SpeedLim Doc

    ... 1, 0.4)) ); w.onClose = { synth.free; resp.free }; // high-rate transmission of mouse data (50x per second) s.waitForBoot { synth = { var trig = Impulse.kr(50); var mouse = Latch.kr(MouseY.kr(0, 1, 0, 0), trig); SendReply.kr(Changed.kr(mous ...

  3. SCView Help

    ... all gui views, in particular defining actions, defining drag and drop, defining mouse actions, and defining key actions. See also: SCWindow , GUI Some Important Issues Regarding SCView If you try to set parameters of a GUI widget from a Rou ...

  4. Formlet Help

    ... 1000, 0.1); Formlet .ar(in, XLine .kr(1500,700,8), 0.005, 0.04); }.play; ) ( // mouse control of frequency and decay time. { var in; in = Blip .ar( SinOsc .kr(5,0,20,300), 1000, 0.1); Formlet .ar(in, MouseY .kr(700,2000, 1 ), 0.005, MouseX ...

  5. alarm with snooze by telephon (telephon) Code

    now with snooze (press mouse button) Ndef(\a, { |freq=2000, rate=1, width=0.6, now = 10| LFPulse.kr(rate, 0, 4/6) * LFPulse.kr(rate * 6, 0, width) * Pulse.ar(freq, 0.3, 0.1) * SetResetFF.kr(Dust.kr(1/now), MouseButton.kr) }).play

  6. MouseButton Help

    MouseButton mouse button ugen superclass: UGen *kr(minval, maxval, lag) minval value when the key is not pressed maxval value when the key is pressed lag lag factor see also MouseX , MouseY //example { SinOsc .ar( MouseButton .kr(400, 440, ...

  7. DegreeToKey Doc

    ... ethods Instance Methods Inherited instance methods Examples ( // modal space // mouse x controls discrete pitch in dorian mode var scale, buffer; scale = FloatArray[0, 2, 3.2, 5, 7, 9, 10]; // dorian scale buffer = Buffer.alloc(s, scale.siz ...

  8. TabletView Doc

    ... iew that receives extended wacom tablet data. It can also be used with a normal mouse but with less resolution. NOTE: TabletView is not implemented in Qt GUI, and is only available in other GUI kits on Mac OS X. To use it in SwingOSC, insta ...

  9. mousetheremin by justinwenloyang (justinwenloyang) Code

    Simple mouse theremin for Designing Digital Music and Interaction //PLACE MOUSE CURSOR ON EACH OF THE NUMBERS IN ORDER AND HIT CMD-RETURN ( // 1): // Initialize var currMidiNum, noteNames, octaves, screenRes, yres; ~pitchLo = \a0; ~ ...

  10. MT Quark

    ... actions slightly differently. In Cocoa dragging begins as soon as you click the mouse. In Swing, you must move the mouse before dragging commences. To trigger a process with Swing, you must drag a very short distance. Why is dragging involv ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow