Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... { ~stopSynth.() }); ~synth = nil; ~playSynth = { if (~synth.isNil) { ~synth = { SinOsc.ar(440) * 0.1 }.play; ~startAction.enabled = false; ~stopAction.enabled = true; ~playing.checked = true; ~synth.onFree({ ~synth = nil; { ~playing.checked ...

  2. MasterFX Doc

    ... ); g = m.gui; // a GUI s.scope(8); ) // a test signal x = { PinkNoise.ar(0.5) + SinOsc.ar([220, 330]) * LFNoise2.kr([5, 8, 13, 21]).max(0); }.play; // all MasterFX live here: MasterFX.all; // kick in predefined effects (at full wet level) m ...

  3. TestMcldUGens Quark

    ... oscillator getting louder sf DC offset, therefore crest getting bigger Crest.kr(SinOsc.ar(SampleRate.ir * 0.25, 0, Line.ar(0,1,1))+1, 100) }.loadToFloatArray(1, Server.default, { |data| // Note: first item ignored since won't be for a full ...

  4. Onsets Doc

    ... kr(chain, threshes, \rcomplex); // Generate pips at a variety of pitches pips = SinOsc.ar((threshes).linexp(0, 1, 440, 3520), 0, EnvGen.kr(Env.perc(0.001, 0.1, 0.5), onsets)).mean; Pan2.ar(sig, -0.75, 0.2) + Pan2.ar(pips, 0.75, 1) }.play; ) ...

  5. Additive Synthesis GUI Demo 4 by bruno (Bruno Ruviaro) Code

    ... , { arg outbus, fundamental = 110, partial = 2.1, amp = 0.01; var snd = SinOsc.ar(fundamental * partial, 0, Lag.kr(amp, 3)); Out.ar(outbus, snd!2); }).add; SynthDef("continuousOut", { arg inbus, amp = 0.1, gate = 1, ...

  6. Pitch Doc

    ... freq, hasFreq; in = SoundIn.ar(0); # freq, hasFreq = Pitch.kr(in); Out.ar(out, SinOsc.ar(freq: freq * 0.5) * in + in); }).add; ) Synth.new(\RmOctaver); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pitch.schelp lin ...

  7. Makam_tester by mahatgma (mahatGma) Code

    ... * playback_speed; env = EnvGen.kr(Env.perc(0.01, dur), doneAction:2); sig = SinOsc.ar(freq)*env; Out.ar(0, Pan2.ar(sig)); }).add; //input the path as string// ~simple_read = {arg file; var a = TabFileReader.read(file, true); ...

  8. Chaos Machine by dkam136 (dkam136) Code

    ... r*dur_env, curve), doneAction:2); sig = 0; 3.do{ temp = SinOsc.ar(freq*{rrand(0.99, 1.01)} * LFNoise1.ar({rrand(0.001, 0.1)})); temp = RLPF.ar(temp, {rrand(200,1000)}); temp = BLowShelf.ar(temp, {rrand(200,2000 ...

  9. getSpec Doc

    ... // finds implicit; // test that getSpec also works in NdefPreset: Ndef(\tst, { SinOsc.ar(\freqsin.kr(400, spec: \freq)) }).gui; NdefPreset(Ndef(\tst)).addSet(\set_1); // add a setting NdefPreset(Ndef(\tst)).setRand(1.0).addSet(\set_2); // ...

  10. Scale Help

    ... ocalBuf) Useful for server-side work. ( r = { var scale = Scale .choose.postln; SinOsc .ar( ( DegreeToKey .kr( scale.as( LocalBuf ), MouseX .kr(0,15), // mouse indexes into scale scale.stepsPerOctave, 1, // mul = 1 60 // offset by 72 notes ...

prev 241 242 243 244 245 246 247 248 249 250 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow