Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. SOMTrain Plugin

    ... atures; if(server.isNil){ server = Server.default }; if(File.exists(path).not){ Error("File not found: %".format(path)).throw}; if(action.isNil){action = path.splitext[0] ++ "-SOMcoords.aiff"}; server.waitForBoot { // Check data file sf = S ...

  2. SinTone Plugin

    ... s sin values based on the sin functiom (rather than table lookup). More CPU, no error SinTone : UGen { *ar {arg freq = 440, phase = 0, mul = 1, add = 0; ^this.multiNew('audio', freq, phase).madd(mul, add) } }

  3. NHHall Plugin

    ... sion = 0.5, modRate = 0.2, modDepth = 0.3 | in = in.asArray; if(in.size != 2) { Error( "NHHall expects a stereo signal, but received a size % array." ).throw; }; ^this.multiNew( \audio, in[0], in[1], rt60, stereo, lowFreq, lowRatio, hiFreq, ...

  4. joshfilts Plugin

    ... .454, 0.156] ].at(order); df.isNil.if({^(this.asString+"invalid order:" +order).error}); out = (df.asArray.at(0) > 0).if({ZLPF.ar( in, freq, df)},{in}); ^out * mul + add } } BHPF { *ar { arg in, order=4, freq=440, mul=1, add=0; var df, out; ...

  5. Neuromodules Plugin

    ... utputs { arg numChannels, rate; if(numChannels.isNil or: { numChannels < 1 }, { Error("%: wrong number of channels (%)".format(this, numChannels)).throw }); channels = Array.fill(numChannels, { arg i; OutputProxy(rate, this, i); }); if (num ...

  6. SOMTrain_3D_example Plugin

    ... the 4D space // Also, just for demonstration purposes, we're going to write the error values to a buffer so we can see how they evolve ~errorvals = Buffer .alloc(s, ~traindur); // Now train the SOM. To train it with data "randomly sampled" ...

  7. STKtest Plugin

    ... ound right {StkModalBar.ar(40, 5, mul:6)}.play(s) // prob // This one throws an error that seems to need fixing! {StkFlute.ar(440, 35, 0.5, mul:1) }.play(s) // This one just posts "Starting" twice and doesn't do much afterwards {StkBowed.ar ...

  8. OnsetsDS Plugin

    ... onsets; "OnsetsDS is deprecated and will be removed. Use 'Onsets.kr' instead.".error; ^{ // Perform FFT, if needed chain = if(extchain, in, {FFT(fftbuf, in)}); // Whiten the FFT signal. Note: for MKL we don't do this! chain = if(type == \m ...

  9. SOMTrain_2D_example Plugin

    ... nil.dup(3)); // Also, just for demonstration purposes, we're going to write the error values to a buffer so we can see how they evolve ~errorvals = Buffer .alloc(s, ~traindur); // Now train the SOM. To train it with data "randomly sampled" ...

  10. STKinstructions Plugin

    ... .app folder. i.e. the units will look for ../rawwaves/etc. If you get 'realtime errors' it is in the wrong place. notice: when building from source you will need to get these from the library itself (or the prebuilt lib package download fro ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow