-
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 . ...
-
... 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 ...
-
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 ...
-
/* * 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 ...
-
... 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 ...
-
... 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 ...
-
... "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 ...
-
+ 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; ...
-
... 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 ...
-
... 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 ...