Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. Dirty Sound Maker by simon (Dindoléon) Code

    ... thDef(\lowvibe, { | out = 0, freq = 110, amp = 0, mini_param = 24 | var snd = SinOsc.ar(freq, 0, mini_param).fold2(1) * 0.2; Out.ar( out, Pan2.ar( snd, 0, amp * 0.75 ) );}); var lizard_synth = SynthDef(\lizard, { | out = 0, freq = 11 ...

  2. FM7 Doc

    ... 1.0, 0.5, -0.16666666666667, 0.5 ] ] ]; { var ctls= x.collect{|a| a.collect{|b| SinOsc.ar(*b)}}; var mods= y.collect{|a| a.collect{|b| Pulse.ar(*b)}}; var chans= #[0, 1, 2, 4, 5]; (FM7.ar(ctls, mods).slice(chans) * [1, 1, LFSaw.kr(0.1).rang ...

  3. CtkScore Quark

    ... .new; b = CtkScore .new; z = CtkSynthDef ( \test , { arg freq, dur; Out .ar(0, SinOsc .ar(freq, 0, XLine .kr(0.1, 0.0001, dur))) }); t = 0.0; while({ b.add(z.new(t, 0.1).freq_(440).dur_(0.1)); t = t + 0.1; t < 5.0; }); a.add(b); a.saveToFi ...

  4. Tdef Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.3), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) Tdef(\x).play; ( Tdef(\x, { loop({ s.sendMsg("/s_new", "pdef_grainlet", -1, 0, 0, \freq, rrand(600, 640)); 0.1.wait; }) }) ) ...

  5. GMListPianoRoll Doc

    ... oll.beat_(0); }; }); SynthDef(\GMPercSine, { |freq = 440, amp = 0.25| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; freqs = Scale.at(scale).ratios; fr ...

  6. ProcEvents Doc

    ... ef(\singrain, {arg freq, amp, dur, procbus, outbus = 0; Out.ar(outbus, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2) * In.kr(procbus), // read off the overall env control of the ProcMod Rand(-1.0, 1.0) ) ) ...

  7. sclork_chat_test Quark

    ... + 256.rand]; (5.rand + 1).wait; switch (i, 1, { msgType = \code; contents = "{ SinOsc.ar }.play"; }, 2, { msgType = \shout; }); bot.sendMessage(SCLOrkChatMessage.new( bot.userId, [ 0 ], msgType, contents ) ); (5.rand + 1).wait; }); 1.wait; ...

  8. NB Quark

    ... 25); n.fill(1, 1, 1); n.text("sc3 ++ nodebox", 10, 26); n.fontsize(16); n.text("SinOsc.ar(440)", 282, 289); n.fill(1, 1, 1, 0.05); n.rect(0, 0, 50, 300); n.oval(0, 267, "HEIGHT", 200); n.displayCode } *test1_imageDisplay { var n; n = NB("te ...

  9. Chord progressions in just intonation by bramtayl (bramtayl) Code

    ... {arg ratio; var frequency; frequency = bass * ratio; SinOsc.ar(frequency, 0, amplitude) * AmpCompA.kr(frequency) }.flop.value(full_chord) ); [side, side]; }; ~sound = 0; ~play = { arg ...

  10. OFX_ChainPreset Doc

    ... 3( \ringmod, \filter -> { |in, randrate=5| in.asArray[0] // force mono inputs * SinOsc.ar(LFNoise0.kr([randrate, randrate]).exprange(300, 3000)).sum }, 0.5, // wet/dry mix of 50/50 [ \randrate, [0.5, 50, \exp] ] ); OFX_Chain.add3( \dist, \f ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow