Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2777) Code (150) Doc (909) Help (255) Quark (1451) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. ConnectCVToViews Quark

    CVSync { classvar <>all; var <>cv, <>view; *initClass {all = IdentityDictionary.new } *new { | cv, view | ^super.newCopyArgs(cv, view).init } init { this.linkToCV; this.linkToView; this.update(cv, \synch); } linkToCV { cv.addDependant(this) ...

  2. Key Quark

    ... ot %\n".postf(newRoot); }); changes = changes ++ newRoot; this.root_(newRoot); "changed".postln; } ); } freqToDegree { | freq, base = 440, round='nearest', gravity = 1| var tempArray, func, g; func = { |f| var ratio, degree, result, semiton ...

  3. VarDiffString Quark

    /* Alternative to DiffString. Different approaches to matching characters between the source and target strings are implemented. An approach is selected with methods uncharismatically named "diff0, diff1, diff2" { | char, sourceIndex, targe ...

  4. Position Quark

    ... 0; value { ^current } value_ { arg val; previous = current; current = val; this.changed; } next { previous = current; current = current + 1; this.changed; ^current } wrapNext { arg min,max; previous = current; current = (current + 1).wrap(m ...

  5. Position Quark

    ... 0; value { ^current } value_ { arg val; previous = current; current = val; this.changed; } next { previous = current; current = current + 1; this.changed; ^current } wrapNext { arg min, max; previous = current; current = (current + 1).wrap( ...

  6. RedMixerChannel Quark

    ... om archive osc= OSCFunc({|m| var arr= m[3..]; cvs.levels.value= arr; cvs.levels.changed(\value); if(arr.any{|x, i| x>cvs.peaks.value[i]}, { cvs.peaks.value= cvs.peaks.value.collect{|x, i| x.max(arr[i])}; cvs.peaks.changed(\value); }); }, \l ...

  7. hyperdisco_loadMe Quark

    /*** HyperDisCo Quark - EXAMPLE LOADME FILE: - ///////////// Personalize this file as follows: -- change q.myID to your preferred ID name! // VERY IMPORTANT !! -- change q.hyperFolder to where you have your hyperfolder. // VERY IMPORTANT !! ...

  8. Slots Quark

    ... on if (methodString.find("(").isNil) { methodString = methodString ++ "(object, changed, *args)"; }; if (reciever.respondsTo(methodName).not && reciever.tryPerform(\know).asBoolean.not) { Exception("Object of type % doesn't respond to %.".f ...

  9. Standalone Quark

    ... elete(this.lockupPath); "Standalone is unlocked now.".postln; } *activate { var changed = false; if (this.isInClassLib(false).not) { this.moveToClassLib; changed = true; }; if (this.locksOnStartup.not) { this.lock; changed = true; }; if (th ...

  10. runner Quark

    ... tWeight = anOffsetWeight ; name = aName ; startTime = thisThread.seconds ; this.changed(this, [\handling, \initRunner]) ; } // test me please /* Storing/retrieving in internal format */ // MEMENTO: // the following doesn't work with task (a ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow