Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... SynthDef(\theSine, { | freq = 440, amp = 1 , pan = 0| Out.ar(0, Pan2.ar( SinOsc.ar(freq) * EnvGen.kr(Env.perc(0.001, 1, 1, -8), doneAction: 2), pan, amp ); ) }).send; SynthDef(\theBlip, { |freq=440, numharm=8, pan ...

  2. HS Quark

    ... lMorphQ = morphQ.mod(1); src = Saw .ar(freq, mul: amp) * (1 - normalMorphQ) + ( SinOsc .ar(freq, mul: amp) * normalMorphQ); Out .ar(out, src ! 2 * EnvGen .ar( Env .perc, doneAction: 2)); }).add; ) // HelpSynth definition, values between 0 a ...

  3. Onsets Help

    ... r(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; Out .ar(0, Pan2 .ar(sig, -0.75, 0.2) + Pan2 .ar(pips, 0 ...

  4. KeyCodeResponder Doc

    ... ⧉ ✔ Any player's gui can have its keyDownAction set ( p = Patch({ arg freq=440; SinOsc.ar(freq,mul: 0.1) }); g = p.gui; g.keyDownAction = { "you touched me".postln; }; ) ⧉ ✔ focus on the slider. notice that every key stroke is passed, the s ...

  5. SampleDescript Doc

    ... .loadToBuffer; e.buffer; e.activeBuffer[1].plot; ( { var env = e.env; Out.ar(1, SinOsc.ar(LFNoise0.kr(300, mul: 100, add: 800), mul: EnvGen.kr(env, doneAction: 2))) }.play; e.play; ) ⧉ ✔ helpfile source: /tmp/scquark_hs/SuperSampler/HelpSou ...

  6. ServerTiming Help

    ... SynthDef ( \sinGrain , { |out = 0, freq = 440, amp = 0.5, dur = 1| Out .ar(out, SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .sine(1), timeScale:dur, doneAction:2)); }).add; 2.do({ |chan| var rout; rout = Routine ({ var freq; { freq = 0; rran ...

  7. GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code

    ... env = Env.perc(atk, rel); env = EnvGen.ar(env, doneAction: 2); sig = SinOsc.ar(fundamental.lag(0.5) * ratio); sig = sig * env * amp.lag(0.5); sig = Pan2.ar(sig, pan); //sig = FreeVerb.ar(sig); //sig = HPF.ar(sig, 30); / ...

  8. MIDIKeyboard Quark

    ... scale = argscale; SynthDef(\midikeyboardsine, {arg freq, amp = 0.25; Out.ar(0, (SinOsc.ar(freq,0,amp)*EnvGen.ar(Env.perc, doneAction:2)).dup) }).load(Server.default); Task({ scale.mirror.do({arg note; Synth(\midikeyboardsine, [\freq, (key+n ...

  9. Granular Sampling demo [no GUI] by bruno (Bruno Ruviaro) Code

    ... 1, 1, 1, 2, 4, 8], inf); rate = Drand([0.5, 1, 1, 2, 4, 8], inf); // rate = SinOsc.ar(1/3).range(0.5, 1); // rate = LFNoise0.ar(5).range(0.5, 2); // rate = LFSaw.ar(1).range(1/5, 1); snd = TGrains.ar( numChannels: 2, trig ...

  10. Core_04 Quark

    ... req.lag(0.012).clip(20, 20000); a = amp.lag(0.020).clip(0, 1); ph = 0.0; sine = SinOsc.ar(f, ph, a); noise = BPF.ar(WhiteNoise.ar((a * 1.5).lag(0.025)), f.clip(30, 12000), 0.03); sig = SelectX.ar(((noiseMix.clip(-1, 1) + 1) * 0.5), [sine, n ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow