Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ar fbNode = FbNode ( 2 , 1.0 ); var signal = Mix .fill( 10 ,{fbNode.delay( 1.0 .rand)}); fbNode.write(in + (signal* 0.1 )); // if you want, you can use FbNode as a normal multi-tap delay, just by not adding in the // feedback signal here. s ...

  2. AutomationClient Quark

    ... te.stamp; while({File.exists(backupname)},{ backupname = filename ++ "_" ++ 999.rand; }); ("mv" + filename + backupname).systemCmd; }; // now write it out. f = File(filename, "wb"); if (f.isOpen.not) { ("Automation: FAILED to open `" ++ fil ...

  3. Wavetable Builder with GUI by txmod (txmod) Code

    ... var pt; if (i == 0 or: {i == (size - 1)}, { pt = Point( // add 6% randomness item.x, (item.y + 0.03.rand2).clip(0.0, 1.0), ) }, { pt = Point( // add 6% randomness (item.x + 0.03.rand2).clip(0.0 ...

  4. MIDIPort Quark

    ... nect(2, MIDIClient.externalSources[1]) *init { |sourceInports| var srctemp; var randsrc; var extSources; // now set up MIDIIn // if a MIDI message is on a channel not defined, it will be passed // to whatever function was in MIDIIn before i ...

  5. compose_complex_view Doc

    ... ews have likely // been created before. var tab = UserView() .background_(Color.rand); buttonLayout.add(button); stackLayout.add(tab); }); // Allows to specify the starting tab stackLayout.index_(0); tabView.layout_( VLayout() .add(buttonLa ...

  6. Ambisonics Plugin

    ... B2A.ar(w, x, y, z); #a, b, c, d = DelayN.ar([a, b, c, d], 0.001, Array.fill(4, {Rand.new(0.0, 0.001)})); #ar, al = GVerb.ar(a, roomsize, revtime, damping, inputbw, 45, drylevel, earlyreflevel, taillevel, maxroomsize, mul); #br, bl = GVerb.a ...

  7. Collection Help

    ... ax is not given, the smallest (or largest value respectively) is used. { 1.0.linrand }.dup(10000).histo(1000).plot; { 8.rand }.dup(10000).histo(8).plot(discrete: true ); printOn(stream) Print a representation of the collection to a stream. ...

  8. Object Doc

    ... ntentsCopy crash debug deepCollect deepDo defaultArgs dereference dereferenceOperand doOnCmdPeriod dumpBackTrace dumpDetailedBackTrace dumpStack envirCompileString envirKey equals eventAt falseAt finishEvent first flatSize free freeze gcDum ...

  9. CtkBuffer Quark

    ... uffer (size: 2048); a.load(sync: true ); a.set(0.0, 0, Array .fill(1024, {-1.0.rrand(1.0)})); b = { PlayBuf .ar(1, a, loop: 1)}.play(s); // change the values in the buffer a.set(0.0, 1024, Array .fill(1024, {-1.0.rrand(1.0)})); // zero it o ...

  10. Buffers Help

    ... 0, 3, { |msg| msg.postln}); // get them b.setn(0, Array .fill(b.numFrames, {1.0.rand})); // fill the buffer with random values b.getn(0, b.numFrames, { |msg| msg.postln}); // get them b.free; There is an upper limit on the number of values ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow