Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2836) Code (566) Doc (808) Help (347) Quark (1105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Coyote Doc

    ... eaker is the source and at left is a burst of noise when an onset is detected ( SynthDef("coyote", { var sounds = Mix.fill(3, { var trig = Dust.kr(1); Saw.ar(TRand.kr(50, 880, trig), Decay.kr(trig, TRand.kr(0.1, 2, trig), 3.reciprocal)); } ...

  2. Done Doc

    ... amples The 'done' flag can be used to trigger other things in the same synth: ( SynthDef("Done-help", { |out, t_trig| var line, a, b; line = Line.kr(1, 0, 1); a = SinOsc.ar(440, 0, 0.1*line); // sound fading out b = WhiteNoise.ar(Done.kr(li ...

  3. That Doc

    ... o the server. This way of communication is well established, e.g. when adding a SynthDef to the server it gets transferred from sclang to the server via OSC as the server is only capable of generating sound. For more information on this ple ...

  4. Neuromodule Doc

    ... ule.nextN(128).plot; // sonification: interactive, rewrite while running ... // synthdef ( SynthDef(\gabor, { |out, freq=440, sustain=0.1, amp = 0.1, width = 0.1| var sig, env; env = LFGauss.ar(sustain, width, loop:0, doneAction: 2); sig = ...

  5. GMSequencer Doc

    ... .stop; routinePlaying = false; // Reset beat display sequencer.beat_(0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); ...

  6. SoundFileAnalysis Doc

    ... a sound into a buffer b = Buffer.alloc(s, s.sampleRate * 3, 1, bufnum: 1000); ( SynthDef(\record, {|out| var in, rec; in = RLPF.ar(LFSaw.ar(300 * SinOsc.kr(0.4).range(0.5, 5)), Line.kr(12000, 100, 3)); rec = RecordBuf.ar(in, b.bufnum, loop: ...

  7. PV_BinDelay Doc

    ... tMix = 0.0; // change to 1 to hear sound from live input, otherwise, an Impulse SynthDef(\helpBinDelay, { arg inbus=0, inMix = 0.0, out=0, fftBuf=0, delayBuf=0, fbBuf=0; var in, chain; in = (Impulse.ar(0.33) * (1.0 - inMix)) + (In.ar(inbus, ...

  8. WebRTCGUI Doc

    ... .removeController(\freq) ( // add a kick which will be played upon button press SynthDef(\kick, {|out| var env = EnvGen.kr(Env(levels: [1, 0], times: [0.2]), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(env.exprange(20, 200)) * env * \ ...

  9. WritingUGens Doc

    ... running into efficiency problems that can be solved by condensing parts of your SynthDef into a single UGen. UGens are defined in server plugins written in C++. Server plugins are not to be confused with quarks, which extend the SuperCollid ...

  10. TabletSlider2D Doc

    ... .white); w.front; ) A sound example ( s.waitForBoot({ var w, v,int,synth; synth=SynthDef("help-TabletSlider2D",{ arg freq=440,int1=5,int2 = -5, ffreqInterval=0,rq=0.4,gate=0.0; var p,c,d,f; c=LFNoise1.kr(0.1,0.45,0.55); d=LFNoise1.kr(0.1,0. ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow