Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Mem Doc

    ... ist of recent items (or keys), so one can avoid close repetitions of items with random choices. First code examples: // make a Mem with 50 entries: ~mem = Mem(0); ~degrees = (0..7); // occasional direct repetitions... Pdef('mem', Pbind( \de ...

  2. Array2D Doc

    ... rray(100, 100, a.flat); // Accessing a[15][22] b[15, 22] // Speed comparison 1: random access bench { 100.do(a[100.rand][100.rand]) } bench { 100.do(b[100.rand, 100.rand]) } // Speed comparison 2: iteration bench { 100.do(a.do { |row| row.d ...

  3. extSpec-massEdit Quark

    ... ) .originalSpec_( this ) .operations_( [ \invert, \reverse, \sort, \scramble, \random, \line, 'use first for all', \rotate, 'move item', \resample, \curve, \smooth, \flat, \sine, \square, \triangle, 'code...', \post ] ) } massEditValue { | ...

  4. extEventArrayMatching Quark

    ... // set is recognised if any element matches. // as a rule value it represents a random choice. + Set { recognise { arg list, index = 0; ^this.any(_.recognise(list, index)) } transform { arg list, index=0; ^this.choose.transform(list, index) ...

  5. VoicerMIDISocket Doc

    ... ynth arguments. Uses: Map note number or velocity onto Voicer synth parameters. Randomize, or otherwise algorithmically generate, parameter values per note. For example, each note could play at a random pan position. // assuming 'k' is a Vo ...

  6. extDeepFindRule Quark

    ... eepDoAssoc { |assoc| size = max(size, assoc.keySize) }; ^size } } // set is for random choice. + Set { deepFindRule { arg list, index=0; var randomElements = this.select { |assoc| assoc.recognise(list, index) }; "randomElements: %\n".postvg ...

  7. Tuning Help

    ... te list of available tunings, execute Tuning .directory *choose(size) Creates a random tuning from the library, constrained by size (which defaults to 12). Scale .major( Tuning .choose).tuning.name; *new(tuning, octaveRatio, name) Creates a ...

  8. Collective Quark

    ... YPERLINK "SC://TempoClock" TempoClock. If not set explicitly, return one with a randomly generated name. \ \ *makeName \ \ returns a random name, with the last byte of the hostname attached to it\ \ \ \ newAddrAction_(func) - an optional ac ...

  9. 062-angents-fm_synth Doc

    ... _(1.2).wchange_(0.9).wdistance_(5).wradius_(10); obj.state= ( //init state with random values \fmamount: 0, \fmsend: 1, \rmamount: 0, \rmsend: 1, \freq: 128.rand.midicps, \atk: 0.1.rand, \dec: 0.4.rand, \pitchatk: 0.1.rand, \pitchdec: 0.3.r ...

  10. 062-angents-fm_synth Quark

    ... _(1.2).wchange_(0.9).wdistance_(5).wradius_(10); obj.state= ( //init state with random values \fmamount: 0, \fmsend: 1, \rmamount: 0, \rmsend: 1, \freq: 128.rand.midicps, \atk: 0.1.rand, \dec: 0.4.rand, \pitchatk: 0.1.rand, \pitchdec: 0.3.r ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow