Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

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

  4. 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({ ...

  5. PSPdiv Quark

    ... timing of one or several layers of event patterns by a single pulse pattern. In every layer single pulse durations or integer multiples ('division bases') of pulse durations can be divided by Integers or proportionally. For every layer the ...

  6. TransportWindow Quark

    ... u (window is refreshed by this rate) counterAction an action to be eveluated at every counter step w.counterAction = { |wnd| wnd.pos.postln; };

  7. WFSPointGroup Quark

    ... s not copy positions = positions.collect( func ); this.changed( \positions ); } every { |func| ^positions.every( func ); } copySelection { |indices | // indices should not be out of range! var pos, tim; indices = indices ?? { (..positions.s ...

  8. SWPlotterMonitor.help Quark

    ... e ]}, 200, //nr of points to plot 2, // channels 0.25, // plot dtime 1 // write every n data points ).start; ) // stop and restart the data r.stop r.reset.play // stop and restart the plotter m.stop; m.start; // you can access Plotter and s ...

  9. AutoBackup Quark

    ... "scd"; // keeps a backup of all opened and edited files // this will save your every move and keep them when sc freezes or unexpectedly quits // - deletes file after closing document // - duplicate filenames not supported *initClass { curr ...

  10. 4a_Connecting_interfaces Quark

    ... Butz.run(\inphlux); // connect sliders 0-6 to NTMI.inphlux inputs 9-15: // now every slider introduces a complex change in the sound // by influencing every parameter to some degree /////// note that this is absolute control mode! MKtl('te ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow