Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    Ctk - The Composition Tool Kit A set of Object classes to aid specifically in the creation of fixed pieces through the use of a Score-like structure. To make general usage easier, the Ctk Objects also support real-time control through the . ...

  2. DimpleWorld Quark

    ... rld Represents the world in a dimple Inherits from: : Object : DimpleThing This class represents the world within dimple. It holds lists of all objects and their constraints. Properties you can set and get are 'gravity' (x,y,z) and 'collide ...

  3. TestSatieJson Quark

    TestSatieJson : SatieUnitTest { var jsonPath; setUp { var dataDir = this.class.filenameSymbol.asString.dirname +/+ "data"; jsonPath = ( valid: dataDir +/+ "valid.json", invalid: dataDir +/+ "invalid.json", ); } test_SatieJson_stringify_bool ...

  4. NonAmbiDef Quark

    /* * Mosca: SuperCollider class by Iain Mott, 2016 and Thibaud Keller, 2018. Licensed under a * Creative Commons Attribution-NonCommercial 4.0 International License * http://creativecommons.org/licenses/by-nc/4.0/ * The class makes extensiv ...

  5. Rational Quark

    ... reduce { var d; if (numerator.frac == 0 and: denominator.frac == 0) { d = this.class.gcd(numerator, denominator); numerator = numerator / d; denominator = denominator / d; if (denominator < 0) { numerator = numerator.neg; denominator = den ...

  6. Validation Quark

    ... d more type instances by adding the functions directly to the dict from the initClass function of the class that one wants to make an instance of some type class. Validation -> Functional Error Handling */ // Validation[E, X] Validation { m ...

  7. JSONlib Quark

    ... "Can only convert a Dictonary/Event/Array to JSON but received %".format(object.class)).throw }; ^this.new(postWarnings, customEncoder: customEncoder).prConvertToJson(object) } *convertToSC {|json, customDecoder=nil, useEvent=true, postWarn ...

  8. extClass-instVarDict Quark

    + Class { instVarDict { var dict = (); instVarNames.do({ |varname, i| dict.put( varname, iprototype[ i ] ); }); ^dict; } } + Object { instVarDict { var dict = (); this.getSlots.pairsDo({ |varname, item| dict.put( varname, item ); }); ^dict; ...

  9. Fomus Quark

    ... r paths.".warn } ); eventList = Array.new; this.newTag; (that.size > 0 or: that.class == Routine).if({ this.put(that, n) }); } put { arg that, n=1; this.add(that, n)} add { arg that, n=1; case {that.class == Event} { eventList = eventList.a ...

  10. MxQuery Quark

    ... it) }, MxUnitApp: { arg app; all.add(app) } ); this.do { arg obj, i, app; h[app.class.name].value(app) }; ^MxQuery(all.as(Array), mxapp) } channels { var chans; chans = this.units.collect({arg obj, i, app; app.channel }).as(IdentitySet); ^M ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow