Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    code:: // simple random keyboard player ( s.boot; s.latency = nil; // make sure we respond quickly thisThread.randSeed = 2014; k = KeyPlayer(\rand); "qwertzuiopasdfghjklyxcvbnm".do { |char| var note = (midinote: rrand(36, 96), dur: rrand(0. ...

  2. p_choose_8 Quark

    ... of history buffer; the amount of steps before a value can repeat itself. seed: random seed The 'value0'..'value7' arg ranges are mapped to that of the parameter to which the UMap is connected -- this is an UMapDef definition file part of t ...

  3. 034-wave-system Quark

    //example using the RedWaveSystem class. angluar velocity changes at random ( var width= 300, height= 300, w, wgrav, world, n= 50, sys, spook= 0; //--world w= RedWindow("wavesystem test", Rect(128, 64, width, height)).front; wgrav= RedVecto ...

  4. p_choose_8 Quark

    ... of history buffer; the amount of steps before a value can repeat itself. seed: random seed The 'value0'..'value7' arg ranges are mapped to that of the parameter to which the UMap is connected -- this is an UMapDef definition file part of t ...

  5. that-intro Quark

    ... asArray.sum; var outAmp = if(ampSum > 0.1) { 0 } { 1 }; // each time also set a random frequency Ndef(\x).set(\freq, rrand(300.0, 800.0)) }, { Impulse.kr(15) } ); ) ~that_freeDef.(\ampTrack); Ndef(\x).clear; // if you want to externally tri ...

  6. PLgeom Quark

    ... prepare current Environment ( ~start = 100; ~grow = 1.1; ) // from ascending to random x = p.play; // replace ~grow = 0.99; ~grow = 1.4; x.stop;

  7. Uc4_RelSet_example Quark

    ... , \amp ) }; // now try that it works by moving knobs // ... // then set Ndef to random values Ndef(\a).set(* ~ckeys.collect ([_, 1.0.linrand]).flat); // and move knobs again, should continue smoothly // from where they are now.

  8. sGliss Quark

    ... string_("Amplitude control").fixedWidth_(120), *ampSelectButtons= #["targets", "random", "ramp", "wave", "lines"].collect{|x| Button().states_([ [" "++x, palette.buttonText, palette.button], ["•"++x, palette.buttonText, palette.highlight] ] ...

  9. shifting_buttons Quark

    ... *** rshift 4 action: slot1 PREV ndef --- right bottom button \touchMove selects random new ndef on a slot --- TEST: hold down bottom right \touchMove, then click on any left button -> posts *** rshift ? action: slot1 RAND ndef 3. LEFT SIDE: ...

  10. cymbalic_mcld Quark

    ... bal ratio: scale factor for the frequencies (0.25-4) amp: amplitude (0-1) seed: random seed (positive whole number). The same seed will always result in exactly the same signal on any computer. -- this is an Udef definition file part of the ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow