Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (417) Code (52) Doc (229) Help (73) Quark (48) Plugin (15) SCDoc ↗ Forum ↗ Google ↗
  1. Dbufwr Doc

    ... 1, 1.01] ) * 0.1 }.play; ) // write into buffer with mouse clicks ( { var val = MouseY.kr(1000, 200, 1); // cursor y pos controls frequency var pos = MouseX.kr(0, BufFrames.kr(b) - 1); // cursor x position controls buffer pos var write = Mo ...

  2. FFTPower Doc

    ... ow the peak measured power changes with frequency var in, chain; in = SinOsc.ar(MouseY.kr(100, 1000, 1), 0, MouseX.kr(0,1)); chain = FFT(b.bufnum, in); Out.ar(0, in * 0.1); Out.kr(0, (FFTPower.kr(chain) * 0.66667).poll(label:"Sine power")); ...

  3. PopUpTreeMenu Doc

    ... ts evaluated when the popup menu is clicked. Arguments passed in: this, mouseX, mouseY Discussion: This can be used to automatically populate -tree and keep it in sync with files in a folder. See examples below. . closeAction Function that ...

  4. SplayAz Help

    ... | LFNoise2 .kr( rrand(10, 20), 200, i * 100 + 400) } ! 10); SplayAz .ar(4, src, MouseY.kr(1, 0), 0.2, center: MouseX.kr(-1, 1)); }.scope; ) // test for correct behavior: // only on chan 0 { SplayAz .ar(4, SinOsc.ar * 0.2 , orientation: 0) } ...

  5. README Quark

    ... pline outputting an x and a y control { # f , w = SplineGen(b,0,loop:true).xyKr(MouseY.kr(0.1,20),32); Pulse.ar(f.clip(40,500),w.clip(0.0,1.0),0.4).dup }.play * VectorSplineGui - for editing multi-dimensional splines that consist of a serie ...

  6. BufGrainI Doc

    ... 0), 0.2, sndbuf, MouseX.kr(0.5, 8), PinkNoise.kr.range(0, 1), envbuf1, envbuf2, MouseY.kr(0, 1), 2, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: 2) ) ) }).add; ) s.sendMsg(\b_allocRead, x = s.bufferAllocato ...

  7. Crest Doc

    ... This varies from sinewave (left) to almost-square (right) var sig = (SinOsc.ar(MouseY.kr(100, 1000, 1)) * MouseX.kr(1,10)).clip2(1); var val = Crest.kr(sig, 440).poll; (sig * 0.1).dup }.play ) ( // Or as a plot (which shows the odd results ...

  8. FM7 Doc

    ... prange(3, 100), 0, 1] ]; mods = [ [Line.kr(0, 0.001, 2), Line.kr(0.1, 0, 4), 0, MouseY.kr(0, 6), 0, 0], [MouseX.kr(0, 6), 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0] ]; chans = [0, 1]; FM7. ...

  9. Sequencer Quark

    ... { Sequencer.kr( { |mx, my| [mx.rand, my] }, Impulse.kr(10), [MouseX.kr(0, 100), MouseY.kr(-100, 0)] ).poll }.play; ) b = Buffer.alloc(s, 1000); ( { var str = Pseq([0, 1], inf).asStream, t = Impulse.ar(100), seq = Sequencer.ar({ str.next }, ...

  10. DynKlank Help

    ... s = [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 , ringtimes ], Impulse .ar(2, 0, 0.1)) }.play; ) ( // set them from outside later: SynthDef ( 'help-dynKlank' ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow