Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Ref Doc

    ... freq = #[100, 200, 300], amp = 0.1, pan = 0, sustain = 1| var audio, env; env = EnvGen.kr(Env.perc(0.01, sustain), doneAction: Done.freeSelf); audio = Mix(Saw.ar(freq)); audio = Pan2.ar(audio * env, pan, amp); OffsetOut.ar(out, audio) }).ad ...

  2. neural sirens by clarkenciel (clarkenciel) Code

    ... tart, end, dur, bus; var env = Env([start, end], [dur]); var signal = EnvGen.kr(env, doneAction: 2); Out.kr(bus, signal ! bus.numChannels); }).add; ) ( ~noiseRamper = { arg initialFreq, initialAmp, initialQ, group=nil; ...

  3. 16_Playbuf Doc

    ... 1; Out.ar( bus, PlayBuf.ar( 1, bufnum, BufRateScale.kr(bufnum) * rateScale ) * EnvGen.kr(Env.sine(BufDur.kr(bufnum))) ) }).add; ) ( // test the synthdef ... does it work? (yes, it's fine. it plays on the left channel) Synth("aMonoSamplePla ...

  4. supercollider implementation of padsynth algorithm. by 56228375 (56228375) Code

    ... filtersustain=0.8, filterrelease=2, filtergain=1.0, glissando=0 | var env = EnvGen.ar(Env.adsr(attack, decay, sustain, release), gate, doneAction:Done.freeSelf); var env2 = EnvGen.ar(Env.adsr(filterattack, filterdecay, filtersustain, ...

  5. Frequency Modulation GUI Demo 3 by bruno (Bruno Ruviaro) Code

    ... Points); carrFreqCtl = \carrFreqEnv.kr(carrFreqEnv.asArray); carrFreq = EnvGen.kr(carrFreqCtl); modFreqEnv = Env.newClear(numberOfPoints); modFreqCtl = \modFreqEnv.kr(modFreqEnv.asArray); modFreq = EnvGen.kr(modFreqCtl ...

  6. Granular display by tommaisey (tommaisey) Code

    ... os, dur, env = 0.05, pitch = 1, pan = 0, amp = 0.5| var envl, sig; envl = EnvGen.kr(Env.linen(env, dur, env, amp, -3), doneAction: 2); sig = PlayBuf.ar(1, bufNum, pitch, 0, pos.linlin(0,1,0,BufFrames.kr(bufNum))) * envl; Out.a ...

  7. ProxyMixerOld Help

    ... alive ~test = { |freq=250, intv=19, timescale=1, curve=0, loopnode=0| var env = EnvGen .kr( Env ({ 1.0.rand2 }!11, {1.0.rand}!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).mi ...

  8. GMSequencer Doc

    ... (0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); Out.ar(0, snd!2); }).add; win.layout_( HLayout() .margins_(0) .spac ...

  9. NamedControl Help

    ... e combined to build SynthDefs. ( q = (); q.makeEnv = { |q, env, doneAction = 0| EnvGen .kr(env, NamedControl .kr( \gate , 1), doneAction: doneAction) }; q.chooseNoise = { [ { PinkNoise .ar}, { WhiteNoise .ar}, { LFNoise2 .ar( Rand (100, 100 ...

  10. RedDifferentialManchesterCode Doc

    ... ut= 0, amp= 1, rate= 1000| var numBits= 8; var buf= LocalBuf(1).clear; var env= EnvGen.ar(Env(#[1, 1, 0], [16/rate, 0]), doneAction:2); var data= Control.names([\data]).ir(Array.fill(numBits, 0)); var src= Duty.ar(1/rate, 0, Dswitch1([ 1-Db ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow