Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. ModMap Doc

    ... o post? Inherited instance methods Examples s.boot; Ndef(\play1, {arg freq=300; SinOsc.ar(freq, 0, 0.2) }).play; ModMap.map(Ndef(\play1), \freq, \sin, \freq1, [\freq, 1]); ModMap.lag(1, \freq, 5); ModMap.set(1, \freq, 10); ModMap.set(1, \fr ...

  2. ToggleFF Doc

    ... instance methods Undocumented instance methods . signalRange Examples ( play({ SinOsc.ar((ToggleFF.ar(Dust.ar(XLine.kr(1, 1000, 60))) * 400) + 800, 0, 0.1) })) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/ToggleFF ...

  3. Sweep Doc

    ... modulate sine frequency ( { var trig; trig = Impulse.kr(MouseX.kr(0.5, 20, 1)); SinOsc.ar(Sweep.kr(trig, 700) + 500, 0, 0.2) }.play; ) // using sweep to index into a buffer b = Buffer.read(s, ExampleFiles.child); ( { var trig; trig = Impuls ...

  4. DbufTag Doc

    ... use each overrun. index = Duty.ar(1 / freq, Dseq([2], inf), tag, doneAction:2); SinOsc.ar(index * 1200 + 400).dup * 0.1 }.play; ) // recycling tag system. ( { var tag, axiom, rules, index; var freq = 15000; var recycle = MouseY.kr(1, 34); v ...

  5. Bundled-Messages Doc

    ... tart both synths synchronously ( s.makeBundle(nil, { // nil executes ASAP y = { SinOsc.kr(0.2).abs }.play(x, 0, 0, \addBefore); // sine envelope }, b); ) x.free; y.free; ⧉ ✔ To send a bundle with the default latency of the server, use the m ...

  6. 132-obstacle_rocks_synth Doc

    ... , amp= 1, pan= 0| var z, e; e= EnvGen.ar(Env.perc(0.01, dur), doneAction:2); z= SinOsc.ar(freq, SinOsc.ar(XLine.ar(freq2, 1, dur), 0, pi), amp)+ClipNoise.ar(e*0.001); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("r ...

  7. PlayerAmp Doc

    ... iption filters the player through an amplitude control ( p = PlayerAmp( Patch({ SinOsc.ar }), 0.4 ); p.gui; ) p.amp = 0.2; p.amp = 1.0; ⧉ ✔ Class Methods . new Arguments: player amp spec Inherited class methods Instance Methods . amp Argume ...

  8. FreeAfter overview Doc

    ... ends] View , Window [after a Window or View closes] Examples ~sine = { |f=440| SinOsc.ar(f) }; ~sine.play.freeAfter(5); // free after 5 seconds v = View(bounds:100@100).front; ~sine.play.freeAfter(v); // free after view is closed a = ~sine ...

  9. 11-Busses Doc

    ... ror. Can't write a control rate signal to an audio rate bus { |out| Out.ar(out, SinOsc.kr) }.play; // This will work as the audio rate signal is downsampled to control rate { |out| Out.kr(out, SinOsc.ar) }.scope; ⧉ ✔ (This limitation is not ...

  10. Unit-Lib Doc

    ... lt values for each synthdef control. Declaring a Udef: Udef(\sine, { UOut.ar(0, SinOsc.ar(400) ) }) ⧉ ✔ Declaring a Udef adds it to the a global Library of Udefs, reachable at Udef.all , .e.g. Udef.all[\sine] . Udefs can be defined in plain ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow