Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. SolarSystem Doc

    ... r the LFO freq = p.mass.expexp(0.055,317.8,2000,100); modFreq= p.rotationPeriod.linlin(0,243.0185,10,0,1); modAmp = p.rotationPeriod.linlin(0,243.0185,0.5,0,1); ~synths.add(p.name -> Synth(\planet,[\out,~numAudioOutputs+i,\freq,freq,\modFre ...

  2. SMDWA115granular by 0-9Q (unknown) Code

    ... s: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd = snd * env; snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; SynthDef("granny2", {arg r ...

  3. MasterEQ Quark

    ... [ "low shelf", "peak 1", "peak 2", "peak 3", "high shelf" ], { |i| Color.hsv( i.linlin(0,5,0,1), 0.75, 0.5).alpha_( 0.25 ); }!5 ) .font_( eq[ \font ] ) .resize_( 8 ) .tabPosition_( \bottom ); eq[ \tvw ].focusActions = { |i| { eq[ \selected ...

  4. listening-mod-key Quark

    ... ); chain = FFT(LocalBuf(4096), sig); crest = KeyTrack.kr(chain).poll(1); (crest.linlin(0,23,-1,1) * mul).exprange(20.0, 20000.0) + add;}); Ndef('block1').xset('freq', Ndef('mod1')); == radpostcont == (none)

  5. listening-mod-mel13 Quark

    ... n-1).max(0) ); chain = FFT(LocalBuf(1024), sig); mel = MFCC.kr(chain)[12]; (mel.linlin(0,1,-1,1) * mul).exprange(20.0, 20000.0) + add;}); Ndef('block1').xset('freq', Ndef('mod1')); == radpostcont == (none)

  6. listening-mod-mel1 Quark

    ... in-1).max(0) ); chain = FFT(LocalBuf(1024), sig); mel = MFCC.kr(chain)[0]; (mel.linlin(0,1,-1,1) * mul).exprange(20.0, 20000.0) + add;}); Ndef('block1').xset('freq', Ndef('mod1')); == radpostcont == (none)

  7. stop-after-loading Quark

    ... =0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, startPos.linlin(0,1,0, ~buffer0.numFrames), 0)*mul;}); == radpostcont == (none) >> st 1 == radpost == Ndef('block1').source = nil; ~buffer0.free; ~buffer0 = nil; == radp ...

  8. listening-mod-flat Quark

    ... chain = FFT(LocalBuf(2048), sig); flat = SpecFlatness.kr(chain).lag(lag); (flat.linlin(0,1,-1,1) * mul).exprange(20.0, 20000.0) + add;}); Ndef('block1').xset('freq', Ndef('mod1')); == radpostcont == (none)

  9. listening-mod-slope Quark

    ... chain = FFT(LocalBuf(2048), sig); val = FFTSlope.kr(chain); ((val * 10000).abs.linlin(0,10,-1,1) * mul).exprange(20.0, 20000.0) + add;}); Ndef('block1').xset('freq', Ndef('mod1')); == radpostcont == (none)

  10. listening-mod-flux Quark

    ... (0) ); chain = FFT(LocalBuf(2048), sig); flux=FFTFlux.kr(chain).lag(lag); (flux.linlin(0,1,-1,1) * mul).exprange(20.0, 20000.0) + add;}); Ndef('block1').xset('freq', Ndef('mod1')); == radpostcont == (none)

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow