Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. scpodcast_harp1_synthdef Quark

    ... p, panpos; // Add upwards sweep occasionally sweeptrig = Dust.kr(0.01); sweep = EnvGen.kr(Env.new([1,4,1], [3, 0.0001]), sweeptrig); trig = Dust.kr(pluckratefactor * (LFNoise2.kr(ExpRand(0.1, 0.4)).range(1, LFNoise2.kr(ExpRand(0.02, 0.08)). ...

  2. Tendency Doc

    ... eates a new Tendency object. Any of the values below may be a SimpleNumber , an Env or a Function . If a Function is used, the current time will be passed into the Function . NOTE: The kind of distribution may change the meaning of some of ...

  3. Sequencing with Patterns Help

    ... |freq = 440, sustain = 1, amp = 0.5| var sig; sig = SinOsc .ar(freq, 0, amp) * EnvGen .kr( Env .linen(0.05, sustain, 0.1), doneAction: 2); Out .ar(0, sig ! 2) }).send(s); r = Task ({ var delta; while { delta = dur.next; delta.notNil } { Sy ...

  4. RedAGrain Quark

    ... r(posBus); inDur= In.ar(durBus); inPan= In.ar(panBus); inAmp= In.ar(ampBus); e= EnvGen.ar(Env.asr(attackTime), gate, doneAction: 2); z= TGrains.ar( 2, inTrig, inBus, inRate, inPos*BufDur.kr(inBus), inDur, inPan, inAmp, 2 ); Out.ar(out, z*e) ...

  5. TZeroXBufRd Quark

    ... = 0| var thisX, nextX, baseX, sndBufIndex, phase, phaseTrig, phaseOffset, time, env, sndBufs, zeroXBufs, zeroXDiff, rateSig, dirSig, sndBufIndexSig, bufSize, zeroXBufSize, outSize, args, trigCount, sig; args = [ zeroX, xNum, xRep, power, mu ...

  6. Star Trek transporter by dsastre (DSastre) Code

    ... d" by Andy Farnell. (Chapter 56, Practical 33, Transporter) ( x = { var beam_envelope, phasor, beam, feedback, transporter, reverb, activateEnv, percEnv, activate, buffer; buffer = LocalBuf(SampleRate.ir * 0.12); // feedback ...

  7. neural sirens by clarkenciel (clarkenciel) Code

    ... 0, signal ! 2) }).add; SynthDef(\line, { arg start, end, dur, bus; var env = Env([start, end], [dur]); var signal = EnvGen.kr(env, doneAction: 2); Out.kr(bus, signal ! bus.numChannels); }).add; ) ( ~noiseRamper = { ...

  8. Done Doc

    ... tractFunction : Object Monitors another UGen to see when it is finished Source: EnvGen.sc See also: UGen , FreeSelfWhenDone , PauseSelfWhenDone Description Some UGens set a 'done' flag when they are finished playing. This UGen echoes that f ...

  9. MixerChannelDef Quark

    ... abs > clip)); SendReply.ar(bad, '/mixerChBadValue', [bad, in].flat, 0); badEG = EnvGen.ar(Env(#[1, 0, 1], #[0, 0.05], releaseNode: 1), bad); in = Select.ar(bad > 0, [in * badEG, DC.ar(0)]); // so that mixerchan bus can be used as postsendbu ...

  10. those-score Quark

    // test //-- INIT ( SynthDef(\sinmore2, { OffsetOut.ar(0, Env.sine(0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.2])) }).add ); s.sync; //-- PLAY ( Tdef(\xmoremore, { var dt = 0.04 * { rrand(1, 3) / rrand(3, 7) }.dup.sum ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow