Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1204) Code (149) Doc (369) Help (93) Quark (575) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. tuningScale Plugin

    // © 2003 Lance Putnam + SequenceableCollection { // Makes a specified tuning scale // The last element of stepRatios is the octave ratio. This is typically 2. *tuningScale { arg rootFreq = 440, stepRatios=#[1.5, 2], loFreqBound = 20, hiFre ...

  2. trainFromFile Plugin

    ... ase it is evaluated and passed the SOM buffer. Note that the data should be pre-scaled to a range of +-1 on all axes, since this convenience method doesn't account for different dynamic ranges in the data. First let' s generate a file conta ...

  3. FreeVerb1 Plugin

    ... evTime = 3, hfDamping = 0.995, numTaps = 10, numCombs = 8, numAllpasses = 4, tapScale = 1, combScale = 1, allpassScale = 1; var buffer, // a buffer for the delay line tapData, // Early reflection tap data (times, levels) times, levels, taps ...

  4. Phrase Plugin

    ... c({arg array; array.invert }, phrase); } revert{ phrase = initialPhrase.copy; } scale{ arg scalar; this.regionFunc({arg array; array * scalar }, phrase); } shift{ arg constant; this.regionFunc({arg array; array + constant }, phrase); } // c ...

  5. PV_Whiten Plugin

    ... s reach the same peak. It tracks the peak magnitudes within each FFT bin, and rescales the values over time so that the peak magnitude in each bin reaches a value of 1. The memory of recent peaks fades over time, fading away in a time speci ...

  6. SOMTrain_2D_example Plugin

    ... in .allocBuf(s, ~numnodes, 2, 3); SOMTrain .initBufGridRand(~som, ~numnodes, 2, scales: 3); // Grid init - a 2D grid is randomly oriented in the target space (which here is 3D) //~som.plot(minval:nil.dup(3), maxval: nil.dup(3)); // Also, ju ...

  7. ProbabilityDistributions Plugin

    /* Probability RNGs by Lance Putnam (lance@uwalumni.com) These classes were ported from BASIC from the book Automated Music Composition by Phil Winsor. The number receiving the PDF message is by default the mean of the distribution and is r ...

  8. Ambisonics Plugin

    ... h = 0, elevation = 0, maxDist = 10, distance = 10, wComp = 0, mul = 1, add = 0, scaleflag = 1; var dist, scaler; dist = ((maxDist - distance) / 345); scaler = if((scaleflag == 1), 1/((distance/maxDist)**1.5), 1); ^DelayN.ar(this.multiNew('a ...

prev 1 2

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow