Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... inote, Pkey(\val).collect {|x| Array.series(x.round, 60 - (x * 1.2), 5) + Array.rand(x.round, -0.8, 0.8) }, \legato, 0.6, \amp, 0.05] ).play; ) // cleanup (freeing buses and nodes) by pressing Cmd-. or explicitely p.free; ////////////////// ...

  2. sKeyboard Quark

    ... ue; usrView.refresh; }); }; maxNumber.value= range[1]; presetsPop.items= #["", "random notes", "Octaves", "Overtones", "Overtones2", "Cmaj7", "D#m"]; presetsPop.action= {|view| switch(view.value, 0, { keys.do{|key| key.put(\isClicked, false ...

  3. Collection-extensions Quark

    ... .if { ^this[index] } { ^nil } } oneOfTop { arg num; ^this.at(num.min(this.size).rand) } mapMode { arg mode, scAccidentals = false; ^this.collect({ |item| item.mapMode(mode, scAccidentals) }); } unmapMode { arg mode, scAccidentals = false; ^ ...

  4. Quant Doc

    ... ded for that calculation should also be present in the Event. // schedule for a random number of beats after the next integer Pfuncn({ thisThread.clock.beats.debug("scheduled for"); nil }, 1) .play(quant: ( nextTimeOnGrid: { |self, clock| c ...

  5. ChuckHacking Quark

    ... out of the box pattern classes). Proto ({ ~event = (eventKey: \default ); ~startRand = 10; ~lengthLow = 3; ~lengthHi = 12; ~step = #[1]; ~scaleSeg = #{ Pseries (~startRand.rand, ~step.choose, rrand(~lengthLow, ~lengthHi)); }; ~asPattern = # ...

  6. ChuckHacking Quark

    ... out of the box pattern classes). Proto ({ ~event = (eventKey: \default ); ~startRand = 10; ~lengthLow = 3; ~lengthHi = 12; ~step = #[1]; ~scaleSeg = #{ Pseries (~startRand.rand, ~step.choose, rrand(~lengthLow, ~lengthHi)); }; ~asPattern = # ...

  7. Window Doc

    ... my name is... panel", Rect(128, 64, 340, 360)); 32.do({ |i| b = Button(w, Rect(rrand(20, 300), rrand(20, 300), 75, 24)); b.states = [["Start "++i, Color.black, Color.rand], ["Stop "++i, Color.white, Color.red]]; }); w.front; ) ⧉ ✔ Using Dec ...

  8. Latency Doc

    ... that does nothing runs really fast bench({ nil }); // filling a big array with random numbers takes a while longer. bench({ Array.rand(100000, 0.0, 1.0) }); // different operations may take different times bench({ 100000.do { 3.hypot(2) } ...

  9. Color Doc

    ... ay fromHexString black white clear gray grey red green blue cyan magenta yellow rand hsv Inherited class methods Instance methods red green blue alpha hexString == scaleByAlpha blend vary complementary multiply divide subtract add symmetric ...

  10. Block Quark

    ... nt, \perkysine, {arg freq=400, amp=1; var osc; osc = SinOsc.ar( [freq,freq+0.05.rand] ) * EnvGen.ar( Env.perc, doneAction: 2) * 0.2; osc*amp; } ); SynthFile.postAll(\block); ////////// //BLOCKS!!!! //patterns Radicles.document; ( Block.cloc ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow