Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    /* FILENAME: ScrollViewFactory DESCRIPTION: Factory class AUTHOR: Marinus Klaassen (2021Q4) */ ScrollViewFactory { *createInstance { |caller, class| var newInstance = ScrollView(); newInstance.canvas = View(); class = class.asString(); ^new ...

  2. Gen Quark

    /* This is still experimental and not fully developed. Gen is a base class for referentially transparent streams. A Gen is an object that contains both the current value in the stream and a 'next' method for generating the next Gen. Unlike ...

  3. extQuarks Quark

    + Quarks{ *findClassPackage{|class| var result; Quarks.installed.do{|quark| var classes = Quarks.classesInPackage(quark.name.asSymbol); if(classes.indexOfEqual(class).notNil, { result = quark }); }; ^result } }

  4. SatieOSC-nodeHandlers Quark

    ... ynthName, groupName, synthArgs; if(satie.debug) { "→ %: message: %".format(this.class.getBackTrace, args).postln }; if(args.size < 3) { "→ %: message: bad arg count: expects at least 2 values: nodeName, pluginName, and optionally: groupName ...

  5. Writer 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. Writer Monad */ Writer { var <a, <w; // ( A, W ) //a is the main value //w is ...

  6. Satie-rendererCtl Quark

    ... ientationDegHandler { ^{ |args| if(satie.debug) { "→ %: message: %".format(this.class.getBackTrace, args).postln }; if(args.size != 3) { "→ %: message: bad arg count: expects 2 values: azimuth and elevation".format(this.class.getBackTrace). ...

  7. QuarkEditor Quark

    DependencyWalker { classvar fileMethodMap, fileClassMap; *generateFileMap { var classes; fileClassMap = IdentityDictionary(); fileMethodMap = IdentityDictionary(); classes = Class.allClasses; classes.remove(QMetaObject); classes.remove(QObj ...

  8. Class Quark

    /* * FILENAME: Class * * DESCRIPTION: * Class extension methods. * * AUTHOR: Marinus Klaassen (2021Q2) * */ +Class { classVarValueByName { | name | var result = nil; var index = this.classVarNames.indexOf(name); if (index.notNil, { result = ...

  9. LinTrans Quark

    ... ,cos(theta)]])) } value{ |vector| ^(matrix*vector.asMatrix).getCol(0).as(vector.class) } det{ ^matrix.det } inverse{ ^LinTrans(matrix.inverse) } +{ |lintrans| ^this.class.new(this.matrix+lintrans.matrix) } -{ |lintrans| ^this.class.new(this ...

  10. LiftedFunc Quark

    ... lue( *args2 ) }; ^(f <%> args.sequence) } composeUnaryOp { arg aSelector; ^this.class.new( func.composeUnaryOp( aSelector ) ) } composeBinaryOp { arg aSelector, something, adverb; ^this.class.new( func.composeBinaryOp(aSelector, something.f ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow