Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ip, wrap, fold, linlin, linexp, etc.) operators are all valid with patterns. // Random integers, 1-5 Pwhite(1, 5, inf).asStream.nextN(10); // Random integers 1-5, multiplied by two gives even integers 2-10 (Pwhite(1, 5, inf) * 2).asStream.n ...

  2. Scale Doc

    ... for modification ⧉ ✔ Scale. choose ( size: 7 , pitchesPerOctave: 12 ) Creates a random scale from the library, constrained by size and pitchsPerOctave if desired. Scale.choose; // could be anything Scale.choose(7); // will be a seven-note s ...

  3. scaleStream Quark

    ... is a FloatArray a stream of scales is a sequential series of these arrays ( // random pentatonics p = Instr("scaleStream.randpentas"); // returns a pattern when valued x = p.value(4,16,0); Pbind ( \degree , Pseq([1,3,5,7,9,11,3,2],inf), \s ...

  4. blaplop by 0-2U (grirgz) Code

    ( SynthDef(\bla, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; var tab; tab = \tab.kr(1 ! 15); sig = LFSaw.ar(freq * tab.abs); sig = sig.sum; sig = RLPF.ar(sig, Rand(10,freq*2) + 100 * SinOsc.ar(tab ...

  5. p_midi Quark

    ... highest velocity value 'softest': use the note with the lowest velocity value 'random': randomly pick a note from the currently playing notes 'arp_up': index through the currently playing notes from low to high 'arp_down': indext through t ...

  6. Plprand Help

    Plprand random values that tend toward lo superclass: Pattern Plprand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a, c, w; a = Plprand (0. ...

  7. Phprand Help

    Phprand random values that tend toward hi superclass: Pattern Phprand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a, c, w; a = Phprand (0. ...

  8. IBVAfake Quark

    ... plingRate(rate); this.setFilterCutoff(cutoff); data= {1024.rand}!4; //fill with random data inf.do{ if(mute.not, { data= (data+({0.gauss(10)}!4)).asInteger.clip(0, 1023); action.value(*data); }); (1/sr).wait; }; }).play(SystemClock); } clos ...

  9. 03_shared_coding_sound Quark

    ... nstrument: \glisson, freq: envir.freq ).play; 1.wait; }; }); // set a range for random freq values: Tdef(\tink).set(\minfreq, 400); Tdef(\tink).set(\maxfreq, 4000); Tdef(\tink, { |envir| 32.do { var freq = exprand(envir.minfreq, envir.maxfr ...

  10. SequenceableCollection Help

    ... 32 with step 2. *rand(size, minVal, maxVal) Fill a SequenceableCollection with random values in the range minVal to maxVal. Array .rand(8, 1, 100); *rand2(size, val) Fill a SequenceableCollection with random values in the range -val to +va ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow