Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. extGeneralHID Quark

    ... ou could also only search by locID if ( [vendorID, productID, locID, versionID].every( _.isNil ) ){ ^nil; }; ^this.deviceList.detect { |pair| var dev, info; #dev, info = pair; vendorID.isNil or: { info.vendor == vendorID } and: { productID. ...

  2. TestAutomaticDifferentiation Quark

    ... error = absdif(automaticDerivative, symbolicDerivative); var fine = error.flat.every(_ < 0.000001); this.assert(fine, "parametric curve 1: automatic and symbolic differentiation should match" ); } test_parametricSurface_1 { var r1 = 0.4; v ...

  3. extVarGui_2 Quark

    ... r; modSynthCtrNums = synthCtrNum; forBy(0, varCtr.size - 2, 2, {|i| varCtr[i+1].every(_.isSequenceableCollection).if { varCtr[i+1].do({|item,j| if ((k <= (varCtrNum - minPartitionSize)) && ((k == 0) || (allowVarsBreak && (((j == 0) && (k >= ...

  4. PG_01_Introduction Help

    ... classes Why patterns? Patterns describe calculations without explicitly stating every step. They are a higher-level representation of a computational task. While patterns are not ideally suited for every type of calculation, when they are a ...

  5. 9_BinaryOp_synthesis Help

    ... me result. { Mix .arFill(3, { arg i; Saw .ar(500 + (i * 100), 0.05) }) }.scope; Every time the function is evaluated, the argument i is incremented. So i equals 0 the first time the function is evaluated, i equals 1 the second time, i equal ...

  6. Adverbs Help

    ... am ends. The cross adverb allows you to pair each item in the first stream with every item in the second stream. p = ( Pseq ([10, 20]) +.x Pseq ([1, 2, 3])).asStream; Array.fill(7, { p.next }); the result is: [ 11, 12, 13, 21, 22, 23, nil ] ...

  7. lcmExtensions Quark

    ... rnNil = false; (args.size == 0).if { ^(this == 0).if { 0 }{ this.abs } }; (args.every { |i| i.isKindOf(Integer) }).not.if { "lcmByGcd requires Integers".error }; args.any(_ == 0).if { ^0 }; lcm = args.inject(this, { |x, y, i| // z must be f ...

  8. CutBPF1 Doc

    ... also be anything that responds to .value. In the latter case, .value is called every block, with the current block as an argument. Class Methods . new Arguments: cfreqfunc Cutoff frequency. rqfunc Reciprocal of Q value. drqfunc Common rati ...

  9. MassEditU Quark

    ... Units.asCollection; defs = inUnits.collect(_.def); firstDef = defs[0]; if( defs.every({ |item| item == firstDef }) ) { def = firstDef; if( def.isKindOf( MultiUdef ).not or: { dkey = def.defNameKey; dval = units[0].get( dkey ); units.every({ ...

  10. CutRev1 Doc

    ... also be anything that responds to .value. In the latter case, .value is called every block, with the current block as an argument. Class Methods . new Arguments: amount Reverb amplitude. send Reverb pre-gain. Inherited class methods Instan ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow