Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. extGradient-fill Quark

    ... { |rect, alpha=1.0| Pen.fillColor = this.alphaCopy_( alpha ); ^Pen.fill; } } + Function { penFill { |rect, alpha=1.0, fromRect| Pen.use({ Pen.clip; this.value( rect, alpha, fromRect ); }) } } + Symbol { penFill { |rect| Pen.use({ Pen.clip; ...

  2. README Quark

    ... s://github.com/supercollider-quarks/wslib) quark. ### Debouncer a debouncer for functions ### DebounceCounter A debounce counter -- good for double-click detection. ### ActionMenu Closes on click outside or on escape. ![ActionMenu](./Action ...

  3. defaultMapper Quark

    ... ultMapper; // default mapper does nothing. It could have been named 'identity' ~function = { |aziDeg = 0, eleDeg = 0, gainDB = -99, delayMs = 1, lpHz = 15000, hpHz = 5, spread = 0.01, nfIndex = 0| [[aziDeg, eleDeg, gainDB, delayMs, lpHz, hp ...

  4. integration Quark

    + Function { integrate { |a, b, d = 1| ^(a, a+d .. b).mean(this.value(_)) } // Simpson's rule integrateSimp { |a, b| ^absdif(a, b) / 6.0 * (this.(a) + this.(b) + (4.0 * this.(a + b / 2))) } // William M. McKeeman: Algorithm 145: Adaptive nu ...

  5. envfol Quark

    ... vfol; ~description = "Envelope follower (audio rate)"; ~channelLayout = \mono; ~function = {|in = 0, decaycoeff = 0.99, amp = 10.0, lpf = 20 | var env, out; in.scope; env = LPF.ar(PeakFollower.ar(in), lpf, mul: 50, add:-1); env.scope; env; ...

  6. zzzzz-core-modules-that-come-last Quark

    /* these function as effects on the input of the synth or sample (see SynthDefs in core-synths) they respond to the existence of a value for one of the tidal parameters // "to" is an internal superdirt audio routing bus index. So you play a ...

  7. GNUPlot Quark

    ... lastdata; // histogram: var <>histoMin, <>histoMax, <>histoSteps = 100; // This function takes an arbitrary array and plots the values *initClass{ Platform.case(\osx, { // on OSX, common "x11" term doesn't work by default (since SC not unde ...

  8. GNUPlot Quark

    ... lastdata; // histogram: var <>histoMin, <>histoMax, <>histoSteps = 100; // This function takes an arbitrary array and plots the values *initClass{ Platform.case(\osx, { // on OSX, common "x11" term doesn't work by default (since SC not unde ...

  9. UnitTest Quark

    ... od); } // run a single test method of this class runTestMethod { | method | var function; ("RUNNING UNIT TEST" + this.class.name ++ ":" ++ method.name).inform; this.class.forkIfNeeded { this.setUp; currentMethod = method; this.perform(metho ...

  10. extDict Quark

    ... fix ++ key); var val = this.at(key); var arglist, argNames; case { val.isKindOf(Function) } { arglist = ""; argNames = (val.def.argNames ? []).drop(1); if (argNames.size > 0) { arglist = "(" ++ argNames.collect { |name| name.asString ++ ": ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow