Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ion { var <a, <b, <c, <d; *new { |a, b, c, d| ^super.newCopyArgs(a, b, c, d) } *rand { |min, max| ^this.new(*{ rrand(min, max) } ! 4); } coordinates { ^[a, b, c, d] } * { |other| var a2, b2, c2, d2; if(other.isKindOf(Quaternion).not) { ^oth ...

  2. OSCBundle Doc

    ... is finished. x = SynthDef("test", { OffsetOut.ar(0, BPF.ar(Impulse.ar(4) * 10, Rand(9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare(["/d_recv", x.asBytes]); // add is used with synchronous operations, like starting s ...

  3. TabbedView2 Doc

    ... scroll: true)}; q.tabViews[0].flow({ arg w; 78.do({ arg 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]]; }); }); GUI.slider.new(q.tabVie ...

  4. Streams-Patterns-Events3 Help

    ... impleSine , { arg freq, sustain=1.0; var osc; osc = SinOsc .ar( [freq,freq+0.05.rand] ) * EnvGen .ar( Env .perc, doneAction: 2, levelScale: 0.3, timeScale: sustain ); Out .ar(0,osc); }).add; ) /////////////////////////////////////////////// ...

  5. Basic Ableton Push control with Modality by lfsaw (LFSaw) Code

    ... eq: 100)) Splay.ar(Gendy3.ar(3,5,1.0,1.0, ( Array.fill(5,{ LFNoise0.kr(Rand(0, 1.3) * changespeed,1,2) }) * wiggle ), ampscale: ampScale, durscale: durScale, initCPs: 5, mul:0.1 ))}) ) Ndef(\myGendy).gui q ...

  6. Eternal Elevator Ensemble by 56228375 (56228375) Code

    ... F.ar( in: LFSaw.ar( freq:LFNoise1.kr(0.5.rrand(1.0)).range(freq*(1-width), freq*(1+width))*multiplier, iphase:0.0.rrand(2pi)), rq: LFNoise1.kr(0.5).range(0.1,0.6), ...

  7. MotifCutProc Quark

    ... 1.0]]]); //pass motiflist as argument to choice indexfunc= if ? {motiflist.size.rand}; //adding additional level of hierachy myself motifpos=0; motifsize=0; currmotif=0; motifindex=0; } chooseblock { var temp,temp2,temp3; //new phrase to ca ...

  8. LaTeX Quark

    ... e bar's index to a shade number (numbers 1 through 8). // LaTeX.barChart({100.0.rand}.dup(10).collect{|item, index| (("Item"+index) -> item) }, precision: 3) *barChart { |vals, min=0, max, interval, shades=false, precision, extras| var str ...

  9. Pchain Doc

    ... terns = value Examples ( Pchain( Pbind(\detune, Pseq([-30, 0, 40], inf), \dur, Prand([0.2, 0.4], inf)), Pbind(\degree, Pseq([1, 2, 3], inf), \dur, 1) ).trace.play; ) // also events can be used directly: ( Pchain( Pbind(\degree, Pseq([1, 2, ...

  10. FractureSynth Quark

    ... ); if (panin.isNumber) {basepan = panin} { switch (panin, 'scatter', {basepan = Rand(-1, 1)}, 'pos', {basepan = pos/bufsize * 2 - 1}, 'pitch', {basepan = (pitch - fracnotes[0])/(fracnotes[fracnotes.size-1] - fracnotes[0]) * 2 - 1}, {basepan ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow