Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1629) Code (85) Doc (795) Help (232) Quark (486) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. TestExtraWindows Quark

    ... tearDown { } // Windows must have value of 1 if its size is 1. test_size_one { Signal.listOfWindows.do({ arg wName; var window = Signal.perform(wName, 1); this.assertEquals(window.at(0), 1, "Size of 1 for " ++ wName.asString); }); } // Rev ...

  2. extCollection Quark

    ... nnectionList.newFrom( this.collect(_.connectTo(*dependants)) ) } connectEach { |signalNameOrFunc, dependantList, methodNameOrFunc| var tempVal; if (this.size != dependantList.size) { Error("connectEach requires collections of equal size (th ...

  3. FbNode Quark

    ... in SuperCollider can be divided into two types: those that use busses to route signals between SynthDefs, and those that create a feedback loop within a SynthDef. FbNode is of the latter type. The traditional way to create feedback within ...

  4. adding-global-effects Quark

    ... obal_lpf" ++ numChannels, { |dryBus, effectBus, gate = 1, cutoffFreq = 440| var signal = In.ar(dryBus, numChannels); var rq; signal = signal.asArray.collect { |sig| rq = 1/LFNoise2.kr(0.1).exprange(10, 20); RLPF.ar(sig, cutoffFreq, rq).tanh ...

  5. VuView Quark

    ... fer; }); }).add; ) ( SynthDef ( \meter , { arg bus = 0, rate = 15, rel = 1; var signal, amplitude; signal = In .ar(bus,1); amplitude = Amplitude .kr(signal, 0.01, rel); SendTrig .kr( Impulse .kr(rate), 1200, amplitude); }).send(s); ) // sta ...

  6. LPCFile Quark

    ... e, <srate, <nframes, <data; var <>resrms, <>origrms, <>nrmerr, <>pchcps, <len, <signal, <restOfHeader, <le; *new {arg path, buffer, server; ^super.new(path, "rb").init(buffer, server, path); } init {arg thisbuf, thisserver, thispath; thisse ...

  7. DataFFT Quark

    ... ze= argSize; fftSize2= argSize.div(2); table= switch(argWindowType, \hamming, { Signal.hammingWindow(fftSize2+2).copyToEnd(fftSize2.div(2)+1); }, \hanning, { Signal.hanningWindow(fftSize2+2).copyToEnd(fftSize2.div(2)+1); }, \rect, { Signal. ...

  8. clip Quark

    /* \clip The clip Udef can clip the incoming signal in various ways, including a softness area where the signal is distorted to create less harsh clipping curves. scale: a scaling ratio applied to the input signal offset: a DC offset added ...

  9. clip Quark

    /* \clip The clip Udef can clip the incoming signal in various ways, including a softness area where the signal is distorted to create less harsh clipping curves. scale: a scaling ratio applied to the input signal offset: a DC offset added ...

  10. Vowel-example Quark

    ... pulser , { |out = 0, pan = 0, dur = 35| var amps = \amps .ir(1!q.numHarms); var signal = Klank .ar( `[q.freqs,amps,amps], Decay .ar( Impulse .ar( exp(1)/5.0 ), SinOsc .kr( pi/9.0, 1.0.rand ).range(0.05,0.7) ) ) * EnvGen .kr( Env .new([-40,- ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow