Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. LinRand Help

    LinRand linear distribution single random float value ugen LinRand(lo, hi, minmax) Generates a single random float value in linear distribution from lo to hi , skewed towards lo if minmax < 0, otherwise skewed towards hi. See also: Rand , E ...

  2. sort Quark

    ... ble, { if( f.environment[ \seed ].isNil ) { f.environment[ \seed ] = 1569325056.rand; }; thisThread.randSeed = f.environment[ \seed ]; obj.scramble; }, \nearest, { old = obj.deepCopy.reverse; sorted = Array( old.size ); sorted.add( old.pop ...

  3. SCMSliderView Quark

    ... "test").front().action_({ |v| v.postln; }).labelText_("Label test").value_(1.0.rand).value.postln; a.value = 0; * SCMSliderView() * * AUTHOR: Marinus Klaassen (2012, 2021Q3) */ SCMSliderView : SCMViewBase { var <spec, <labelText, <value = ...

  4. Pitch Doc

    ... oise1.kr(0.3, 0.1, 0.1), amp)); 6.do { sound = AllpassN.ar(sound, 0.040, [0.040.rand, 0.040.rand], 2) }; Out.ar(out, sound); }).play ) ⧉ ✔ ( SynthDef("pitchFollow2", { |out| var in, amp, freq, hasFreq, sound; in = Mix.new(SoundIn.ar([0, 1]) ...

  5. hommage à l'impressionnisme by pyoungryangko (prko) Code

    An example of iterating randomly filtered pink noise with envelope controls. // example 1: Klank with 16 Ringzes: ( fork{ SynthDef(\aKlank16, { arg atk, rls, frqs = #[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], amps = #[0,0,0,0,0,0,0,0,0 ...

  6. SoundBlock Quark

    ... e saw the first marker of the 0th red cube: b.faceSeen(w, v); //b.faceSeen(w+ 2.rand, v) }}); Tdef ( \simulation ).play; Tdef ( \observation , {loop{ 0.1.wait; "upFace(%) vis(%) states: %\n" .postf(b.upFace, b.visible, b.faceStates); }}); T ...

  7. randochestra by vividsnow (vividsnow) Code

    ... tries - there are possibly interesting ones ( Ndef(\ro_v19, { var freq = 40.rrand(90).debug('base freq'); var seed = thisThread.randSeed = 1000000000.rand.debug('seed'); var gen = [LFNoise2,LFNoise0,SinOsc,LFPulse,LFSaw]; var sig = ...

  8. MedianTriggered Doc

    ... l, t_trig, 3).poll(t_trig, "Median of recent 3 values"); }.play; x.set(\val, 10.rand.postln, \t_trig, 1); // Execute this repeatedly x.free; // Same but with 4 values - note the way medians behave with even-sized sets x = {|val=1, t_trig=0| ...

  9. Instr Quark

    ... 00))}; ActionButton(l, "respawn", { ~respawn.value }.inEnvir); ActionButton(l, "rand", { ~patch.rand }.inEnvir); l.startRow; ~patch.gui(l); InstrGui(~patch.instr).sourceGui(l, 500); if(layout.isNil, { l.resizeToFit }) } ));

  10. Pdefn Help

    ... - Pdefn ( \a )); // (re)define Pdefn(\c) 8.do { t.value.postln }; Pdefn ( \a , Prand ([1, 4, 2], inf )); // (re)define Pdefn(\a) Embedding Pdefn in other patterns Pdefn ( \x , Pseq ([1, 2, 3], inf )); x = Pseq ([0, 0, Pdefn ( \x )], inf ).a ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow