Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (293) Code (40) Doc (206) Help (6) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. SCEnvelopeEdit Doc

    ... ar(Env([la0, la1, la2, la3, la4], [ta0, ta1, ta2, ta3], crva), doneAction: Done.freeSelf); signal = SinOsc.ar([freq, freq*2] * fenv) * aenv * vol; Out.ar(0, signal.dup); }).add; ) ( Routine({ var par, indices; indices = (2..21); loop({ par ...

  2. GMFeedbackButton Doc

    ... = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; // Instanciate the View, and modify it's look feedbackButton = GMFeedbackButton(); feedbackButton.string_("beep"); // Assi ...

  3. Ref Doc

    ... = 1| var audio, env; env = EnvGen.kr(Env.perc(0.01, sustain), doneAction: Done.freeSelf); audio = Mix(Saw.ar(freq)); audio = Pan2.ar(audio * env, pan, amp); OffsetOut.ar(out, audio) }).add; (instrument: \multi, freq: [[500, 501, 700]], sus ...

  4. GMSequencer Doc

    ... iteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); Out.ar(0, snd!2); }).add; win.layout_( HLayout() .margins_(0) .spacing_(0) .add(playButton, 1) .add(sequencer, 7) ); ...

  5. SynthDesc Doc

    ... Saw.ar(freq, volume), cutoff), env = EnvGen.kr(Env.adsr, gate, doneAction: Done.freeSelf); Out.ar(out, (sig * env) ! 2) }).add; SynthDescLib.global[\mdDemo].makeWindow; // Note in the resulting window that Freq has a slider, but Cutoff and ...

  6. EventPatternProxy Doc

    ... n; var env, u = 1; env = EnvGen.kr(Env.perc(0.03, sustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), p ...

  7. WebRTCGUI Doc

    ... {|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 * \amp.kr(0.4)!2); }).add; ) ( // add button w.newButton(\kick, callback: {Synth(\kick)}) ) //rese ...

  8. SynthDefsVsSynths Doc

    ... .0), // frequency between 200 and 400 Hz 0, Line.kr(0.2, 0, 1, doneAction: Done.freeSelf) ) ) }).play(s); ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Guides/SynthDefsVsSynths.schelp link::Guides/SynthDefsVsSynths::

  9. GMDuoSequencer Doc

    ... iteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); Out.ar(0, snd!2); }).add; win.layout_( HLayout() .margins_(0) .spacing_(0) .add(playButton, 1) .add(sequencer, 7) ); ...

  10. Pstep Doc

    ... amp); Out.ar(out, Pan2.ar( SinOsc.ar(freq) * EnvGen.ar(window, doneAction: Done.freeSelf), pan ) ) } ).add; times = Pseq([3.4, 1, 0.2, 0.2, 0.2], inf); levels = Pseq([0, 1, 2, 3, 4], inf); a = Pstep(levels, times); b = Pbind(\instrument, \p ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow