Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Document Doc

    ... load // record: type some text ( var time = Main.elapsedTime; a = List.new; r = Routine { |char| loop { a = a.add([char, Main.elapsedTime - time]); char = 0.yield; } }; Document.new("type some text") .keyDownAction = { |doc, key| r.value(ke ...

  2. SCMultiSliderView Help

    ... etProperty( \showIndex , true ); // cursor mode b.readOnly= true ; w.front; r = Routine ({ 0.1.wait; 30.do({ arg i; b.index_(i%size); b.doAction; 0.1.wait; }); 20.do({ arg i; b.index_(b.size.rand); b.doAction; [0.1,0.2].choose.wait; }); 1.w ...

  3. Window Doc

    ... _(Color.new255(153, 255, 102).vary); string = "gui ".dup(24).join; w.drawFunc = Routine { var i = 0; var size = 40; var func = { |i, j| sin(i * 0.07 + (j * 0.0023) + 1.5pi) * much + 1 }; var scale; var font = Font("Helvetica", 40).boldVaria ...

  4. XiiBufferPool Quark

    ... rks/"++filename++".wav"; }, { file = "sounds/ixiquarks/"++filename++".aif"; }); Routine.run({ buffer = Buffer.read(server, file); server.sync(cond); f = SoundFile.new; f.openRead(file); filesize = f.numFrames * f.numChannels * 2 * 2; ram = ...

  5. XiiSoundSculptor Quark

    ... , sampleFormat: XQ.pref.bitDepth); recorder.start( filepath ); playSound.value; Routine({ (selBuffer.duration+0.1).wait; recorder.stop; 0.1.wait; XQ.globalWidgetList.do({arg widget; // search and see if a SoundSculptor Bufferpool exists if( ...

  6. EnvelopeView Doc

    ... .value_([(0.0, 0.1 .. 1.0), (0.0, 0.1 .. 1.0)]) .setEditable(0, false); ) ( r = Routine({ var j = 0; 20.do({ |i| b.selectIndex((b.size - 1).rand.abs); 0.1.wait; b.x_(1.0.rand.abs); b.y_(1.0.rand.abs); }); b.selectIndex(-1); }); AppClock.pla ...

  7. News-3_13 Doc

    ... thub.com/supercollider/supercollider/pull/4709 Make it possible to reschedule a Routine, Task or EventStreamPlayer transparently by @jamshark70 in https://github.com/supercollider/supercollider/pull/5038 Handle langPort startup error descri ...

  8. Mx Quark

    ... revUnit.handlers }; prevUnit = u }; } } allUnits { arg includeChanUnit = true; ^Routine({ channels.do({ arg c; if(includeChanUnit, { c.myUnit.yield; }); c.units.do({ arg u; if(u.notNil, { u.yield }) }) }) }); } ////////// private ////////// ...

  9. startup15-contrapunct Quark

    ... s child.".format(bp.asCompileString).warn; }); }; // this is sufficient because routine will not refresh the child in the queue // if it can't find it in the ~children dictionary ~removeChild = { |key, freeing| var bpwrap = ~children.remove ...

  10. startup15-contrapunct Quark

    ... s child.".format(bp.asCompileString).warn; }); }; // this is sufficient because routine will not refresh the child in the queue // if it can't find it in the ~children dictionary ~removeChild = { |key, freeing| var bpwrap = ~children.remove ...

prev 81 82 83 84 85 86 87 88 89 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow