Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... as a compile string to disk, saves the array with it. ( // modal space - jmc // mouse x controls discrete pitch in dorian mode Patch({ arg scale; var mix; mix = // lead tone SinOsc.ar( ( DegreeToKey.kr( scale.bufnumIr, MouseX.kr(0,15), // m ...

  2. 175-springs_interconnected2 Doc

    //springs interconnected2. monster //with mouse controlling mid point //with simple sounds mapped to each object. ( s.waitForBoot{ var width= 640, height= 480, wgrav, w, world, n= 18, objs, sprs, syns, cent= RedVector2D[width/2, height/2]; ...

  3. PeakFollower Doc

    ... er.ar(Dust.ar(20, Line.kr(0, 1, 4)), 0.999) * 1500 + 200, 0, 0.2 ) }.play; ) // mouse x controls decay, center of the ( { var decay; decay = MouseX.kr(0.99, 1.00001).min(1.0); SinOsc.ar( PeakFollower.ar(Dust.ar(20), decay) * 1500 + 200, 0, ...

  4. 018-repulsive_discrete Doc

    //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 ...

  5. 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 ...

  6. 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 ...

  7. 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 ...

  8. FFTCrest Doc

    ... (s,2048,1); ( { // Example - vary mixture of white noise and pure tone with the mouse var in, chain, crest; in = XFade2.ar(WhiteNoise.ar, SinOsc.ar, MouseX.kr(-1,1)); chain = FFT(b.bufnum, in); Out.ar(0, in.dup * 0.1); crest = FFTCrest.kr(c ...

  9. UserView-Subclassing Doc

    ... efine a drawing function for SCPen 5. Define typical widget methods 6. Override mouseActions 7. Define default key actions 8. Define default drag and drop actions Custom view template NOTE: This document only applies to Cocoa GUI . Subclass ...

  10. NearestN Doc

    ... = Buffer.sendCollection(s, ~treedata.flat, 5); ~foundbus = Bus.control(s, 3); ~mousebus = Bus.control(s, 2); // lang-side cache of values which we'll poll from the server: ~mousepos = [0.5,0.5]; ~nearests = [0,1,2]; ); ( w = Window.new("po ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow