Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1251) Code (12) Doc (469) Help (111) Quark (658) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. CmdString Quark

    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 ...

  2. TestAutomaticDifferentiation Quark

    ... 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 ...

  3. Func Quark

    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 ...

  4. Func Quark

    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 ...

  5. extGradient-fill Quark

    ... .0, fromRect| Pen.use({ Pen.clip; this.value( rect, alpha, fromRect ); }) } } + Symbol { penFill { |rect| Pen.use({ Pen.clip; DrawIcon.symbolArgs( this, rect ); }) } }

  6. sndFile Quark

    ... 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 ...

  7. SequenceNoteMathExtensions Quark

    ... t.if({ ^false }); }); ^true }) } isValidVoicerArg { ^this.isValidSynthArg } } + Symbol { isValidSynthArg { ^this.asString.isValidSynthArg } isValidVoicerArg { ^this.asString.isValidSynthArg } }

  8. MKtl Quark

    ... 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, ...

  9. emptySource Quark

    ... 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 ...

  10. ENdef Quark

    ... 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow