Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (6250) Code (55) Doc (3760) Help (348) Quark (2069) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. InstrSpawner Quark

    InstrSpawner : Patch { classvar <>latency=0.07; var <>deltaPattern, <deltaStream, <delta; var streams, sendArray, firstSecretDefArgIndex, spawnTask, <clock, <spawnGroup; *new { arg func, args, deltaPattern = 1.0; ^super.new(func, args).delt ...

  2. TestDate Quark

    ... } { |err| e = err }; // ERROR: year must be a valid Integer this.assertEquals(e.class, PrimitiveFailedError, "missing year"); d = Date(2017, 10, 25); this.assertEquals( [d.asSortableString, d.dayOfWeek], [ "20171025000000", 3], "dayOfWeek i ...

  3. XiiScale Quark

    ... = inTuning.asString; }, { ("Unknown tuning: " ++ inTuning).warn; tuning = this.class.calcDefault(inStepsPerOctave); name = this.class.defaultName(inStepsPerOctave); }) }); } cents_ { |cents| ^this.tuning_(cents / 100) } ratios { ^tuning.mi ...

  4. GamePad Quark

    ... es, with changeable tempo and direction, etc. To use a gamepad with the Gamepad class, it has to have: 2 analog joysticks, 4-direction compass, 4 numbered buttons, and 4 buttons on the shoulders. The Saitek company makes pretty good models; ...

  5. MoscaGUI Quark

    /* * Mosca: SuperCollider class by Iain Mott, 2016. Licensed under a * Creative Commons Attribution-NonCommercial 4.0 International License * http://creativecommons.org/licenses/by-nc/4.0/ * The class makes extensive use of the Ambisonic To ...

  6. SamplerQuery Quark

    //Query Functions for SuperSampler by Allen Wu SamplerQuery { classvar <> playing; //a temporary dictionary for all sounds that is playing for applying .set() to sounds after it's triggered, it is set by midi channels. *initClass { playing ...

  7. RedVector Quark

    ... Frik //--vector of any dimension RedVector[float] : FloatArray { species {^this.class} mag {^this.sum{|x| x*x}.sqrt} distance {|redVec| ^(this-redVec).mag} manhattan {|redVec| ^(this-redVec).abs.sum} dot {|redVec| ^(this*redVec).sum} normal ...

  8. Fracture Quark

    ... tSynchronous; //Use pitchIn control bus for pitch input if supplied if (pitchIn.class == Bus) { pitch = pitchIn.getSynchronous } { pitch = controlBus[3].getSynchronous.cpsmidi.round(1); }; currentcycle = controlBus[4].getSynchronous; if ((a ...

  9. snyderphonics-manta_mc.desc Quark

    ... ys has very low initial velocity value, -> better not use it. - The Manta quark class Manta has its own noteOn logic, which could be ported. /// TESTS: // start MantaCocoa app "/Applications/manta*" +/+ "MantaCocoa.app".openOS; // in MantaC ...

  10. BasicMIDIControl Quark

    ... llers do nothing Writing your own controllers All MIDI controllers should be subclasses of AbstractMIDIControl. The abstract class handles the details of initializing the MIDI channel and placing the controller into the hierarchy. The *new ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow