Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. SymbolicNotations Help

    ... lean logical And Boolean || Boolean logical Or When a function is the second operand, these operators perform short-circuiting (i.e., the function is executed only when its result would influence the result of the operation). This is recomm ...

  2. control patterns via control bus by luka (Luka P.) Code

    ... 5,1) * 0.035 }, \legato, 0.3, \release, 2, \root, -30, \pan, Pfunc({0.5.rand2}), \rez, Pfunc({0.7.rand +0.3}), \amp, 0.2).play; ) // now you can change some parameters of the LFOs in the control busses ~lfo1.set(\fmax, 800) ...

  3. PlayerPool Quark

    ... .at(selected).asString } maxIndex { ^list.size } choose { this.select(list.size.rand) } children { ^list } /* do not pre-load the children, just the initially selected one (the source) and the enveloped players prepareChildrenToBundle { arg ...

  4. Herbie Hancock's Chameleon by bruno (Bruno Ruviaro) Code

    ... Level: amp, releaseTime: rel).kr(gate: gate); saw = Saw.ar(freq: freq * Array.rand(16, 0.99, 1.01), mul: env / 3); sine = SinOsc.ar( freq: freq * [0.5, 1, 2], mul: env * [1, 0.5, 0.4] ).tanh.distort / 4; snd = saw + sine; sn ...

  5. RandIDAllocator Quark

    RandIDAllocator { classvar <>dict; *value { |server| var count; server = server ? Server.default; dict = dict ?? { IdentityDictionary() }; count = dict[ server ] ? -1; count = (count + 1).wrap(0, server.options.numRGens - 1); dict[ server ] ...

  6. mouse_and_drawing Quark

    ... var accumPos = pos.sampleOn(clicks).inject([], { |state,x| state.addI(T(x,Color.rand)) }); accumPos.collect{ |positions| var drawings = positions.collect{ |tup| PenDrawedShapes([PenWedge(tup.at1,10,0,2*pi)], \fill, tup.at2, Color.red) }; va ...

  7. RandIDAllocator Quark

    RandIDAllocator { classvar <>dict; *value { |server| var count; server = server ? Server.default; dict = dict ?? { IdentityDictionary() }; count = dict[ server ] ? -1; count = (count + 1).wrap(0, server.options.numRGens - 1); dict[ server ] ...

  8. Frequency Modulation GUI Demo 4 by bruno (Bruno Ruviaro) Code

    ... nvelopes ///////////////////////// carrFreqEnv = Env.new( levels: {1.0.rand}!numberOfPoints, times: ({1.0.rand}!(numberOfPoints-1)).normalizeSum ); modIndexEnv = Env.new( levels: {1.0.rand}!numberOfPoints, times: ({1 ...

  9. little by fatherjason (fatherjason) Code

    ... sig, freq; freq = \freq.ar(55); sig = SinOsc.ar(freq * [1, 2.1, 3.2, 4.5], Rand(0, 1), [1, 0.3, 0.2, 0.1]) * (1 + (3 * Env.perc(0, 1, curve: -8).ar)); sig = sig * Env.perc(0.001, [0.51, 0.3, 0.2, 0.1], curve: 4).ar; sig = sig.sum; ...

  10. batchNRT Quark

    ... num, BufRateScale .kr(inbufnum)); 4.do({ source = AllpassN .ar(source, 0.050, [ Rand (0, 0.05), Rand (0,0.05)], 1) } ); RecordBuf .ar([source * gain], outbufnum, loop:0); Out .ar(0, (source * gain).dup); }).store; ) // Now we'll run the Syn ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow