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. 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 ...

  3. 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 ...

  4. 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 ...

  5. 6_mainFXPresets Quark

    ... | // if (char == $r) { // NTMI.mfx.pcpop.valueAction_(NTMI.mfx.pcpop.items.size.rand); // } // }; // // NTMI.mfx.pcpop = EZPopUpMenu(NTMI.mfx.win, Rect(0, 0, 200, 30), \, [\a, \b, \c], { |ezp| // NTMI.mfx.pcnum.value_(ezp.value); // "not wo ...

  6. wortwahl-library Quark

    ... ent = ~labels.at(wort).copy; if(event.isNil) { event = (freq: \rest, dur: 0.5pi.rand, wort: "(%)".format(wort)) } } { event = (type: \verb, wort: wort, verb: verb) }; events = events.add(event); }; events }; var sage = { |satz, kanal = \sta ...

  7. kraken Quark

    ... setRel, setAbs actions for whole array of knobs and ribons in one go. a = Array.rand(8, 0, 1023); bench { "[ 1000, 317, 888, 399, 551, 79, 674, 1011 ]".interpret }; bench { MFdef(\kr_pots).value(a.scramble) }; bench { MFdef(\setRelInf).( NT ...

  8. Blackboard Quark

    ... dForTest, { |t, r, msg| if(msg[1] == id) { test = true; } }).add ]; id = 100000.rand; this.waiting; this.makeGUI; fork { broadcastAddr.sendMsg(this.cmdForTest, id); 2.wait; if(test) { "Blackboard Broadcast is working." } { "Blackboard Broad ...

  9. SpeakerAdjust Quark

    ... terFX .clear(s.name); z = MasterFX (s, 24, [ \spkAdj ]); z.gui; ) ( // generate random data for 24 chans, 3 bands each, to test load: var data = { [ rrand(0.5, 1.0), // amp 0.01.rand ] // dt, max 10msec => 3.4m ++ ({ [ exprand(100, 10000), ...

  10. EventPlayerGui Quark

    ... ree binding }, { playingPatch.stop.free }); ActionButton(parent, "RND", { patch.rand }); beatEditor = NumberEditor(beat, [0, min(model.beatDuration ? 128, 128) + 512 ]); CXLabel(parent, "At beat"); beatEditor.gui(parent); ActionButton(paren ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow