Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. InputRouter Quark

    ... dbamp ) ) }.play( RootNode(server) ); }, { { Out.ar( NumOutputBuses.ir + input, SinOsc.ar( type, 0, dB.dbamp ) ) }.play( RootNode(server) ); } ); } } endTest { |input| if( input.isNil ) { testSynths.do(_.free); testSynths = nil; } { if( tes ...

  2. Overtone Explorer by pyoungryangko (prko) Code

    ... switch = (minDetect * maxDetect * aliasingDetect).lag(0.2); SinOsc.ar(nthOvertone, phases[i].lag(0.2)) * switch * numOvertones.reciprocal.sqrt.lag(0.2) }; signalArray = signalArray * amplitudes.lag(0.2) ...

  3. UChain Doc

    ... } ).loadSynthDef; Udef( \vibrato, { |rate = 1, amount = #[0.0,1.0]| UOut.ar( 0, SinOsc.kr( rate ).range(*amount) * UIn.ar( 0 ) ) } ).loadSynthDef; ) // \sine and \output are already in the Udef bank x = UChain( \sine, [ \sine, [ \freq, 550, ...

  4. misc-perc Quark

    ... req * EnvGen.ar( Env([topRatio, topRatio, 1], [0.002, dcy], -4), trig ), sig = (SinOsc.ar(freq) * preamp.dbamp).tanh * amp, eg = EnvGen.ar(Env([0, 1, 0.6, 0.4, 0], [atk, dcy1, dcy2, rel], -4), trig, doneAction: 2); Out.ar(out, sig * eg); }) ...

  5. BBCut2 Doc

    ... s with tempo changes ( var sf, tempoclock, bbcutclock; SynthDef(\beep,{Out.ar(0,SinOsc.ar(440,0,0.1)*Line.kr(1,0,0.1,doneAction:2))}).load(s); tempoclock= TempoClock(2.3); bbcutclock= ExternalClock(tempoclock); Routine.run({ sf= BBCutBuffer ...

  6. IdentityDictionary Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0.5pi, env)) }).add; a = Pbind(\instrument, \help_sinegrain, \note, Pseq([0, 7, 2, 9, 11, 10, 9, 8], inf), \dur, 1); a.play(quant: (quant: 1, ph ...

  7. Trumping 115granular by ianmcdougall60 (ianmcdougall60) Code

    ... XLine.kr( start: sinfreq, end: sinfreq * glissf, dur: rel ); snd = SinOsc.ar( freq: ramp, phase: 0, mul: env, add: 0); snd = Pan2.ar(snd, pan); Out.ar(out, snd); }).add; SynthDef("lowbuild", {arg out = 0, am ...

  8. ClientVsServer Help

    ... valuate an audio function like this: // assuming the server is already booted { SinOsc .ar}.play ; In this case many server operations are hidden. To understand the passages inolved in the evalutation of this code see Functions and Other Fu ...

  9. EventLoop Doc

    ... nd to use ( SynthDef(\toc, { Out.ar(0, XLine.ar(1, 0.01, 0.02, doneAction: 2) * SinOsc.ar([600, 1300, 4500], 0, [0.3, 0.2, 0.1]).postln); }).add; ) (instrument: \toc).play; // get more info posted e.verbosity = 2; e.startRec; // run this li ...

  10. PG_Cookbook07_Rhythmic_Variations Doc

    ... r(Env([1, decay1L, 0], [decay1, decay2], -4), doneAction: Done.freeSelf), sig = SinOsc.ar(fcurve, 0.5pi, preamp).distort * env * amp; Out.ar(out, sig ! 2) }).add; SynthDef(\kraftySnr, { |amp = 1, freq = 2000, rq = 3, decay = 0.3, pan, out| ...

prev 251 252 253 254 255 256 257 258 259 260 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow