-
CmdString { var <>cmdSymbol, <>args, <>cmdString; var <>comma = ", "; *new { arg cmdSymbol ... args; ^super.newCopyArgs(cmdSymbol, args).init } init { var firstWord; var numArgs; args = args.reject({ arg item, i; item == nil }); // convert ...
-
... main); var automaticDerivative = curve.(dualDomain).collect { |x| x.dual }; var symbolicDerivative = derivative.(domain); var error = absdif(automaticDerivative, symbolicDerivative); var fine = error.flat.every(_ < 0.000001); this.assert(fi ...
-
Func(\symbol) -- Function -- automatic A global repository of shared functions that may be used for any purpose. #{ |notes| notes.scramble } => Func ( \random ); Func ( \random ).value([60, 62, 64, 65, 67]); If there is no function for the ...
-
Func(\symbol) -- Function -- automatic A global repository of shared functions that may be used for any purpose. #{ |notes| notes.scramble } => Func ( \random ); Func ( \random ).value([60, 62, 64, 65, 67]); If there is no function for the ...
-
... .0, fromRect| Pen.use({ Pen.clip; this.value( rect, alpha, fromRect ); }) } } + Symbol { penFill { |rect| Pen.use({ Pen.clip; DrawIcon.symbolArgs( this, rect ); }) } }
-
... inition Each audio plugin should define the following global variables: ~name: (symbol) name of the spatializer ~description: (string) a short description ~function: the actual definition of the plugin */ ~name = \sndFile; ~description = "S ...
-
... t.if({ ^false }); }); ^true }) } isValidVoicerArg { ^this.isValidSynthArg } } + Symbol { isValidSynthArg { ^this.asString.isValidSynthArg } isValidVoicerArg { ^this.asString.isValidSynthArg } }
-
... dName = prodName.replace("__", "_"); }; ^"%_%_%".format(prefix, id, prodName).asSymbol } /////////// everything related to specs *prAddDefaultSpecs { // general this.addSpec(\cent255, [0, 255, \lin, 1, 128]); this.addSpec(\cent255inv, [255, ...
-
... inition Each audio plugin should define the following global variables: ~name: (symbol) name of the spatializer ~description: (string) a short description ~function: the actual definition of the plugin */ ~name = \emptySource; ~description ...
-
... f | //object is a function var check = this.checkArgs(\ENdef, \new, [key, f], [Symbol, [Function,Nil]]); var endef = all.at(key); endef = endef ?? { var x = this.basicNew( key, nil); all.put(key, x); x }; f !? { endef.setSource(f) }; ^ende ...