Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (556) Code (37) Doc (146) Help (56) Quark (314) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. FileWriter Quark

    ... option: \gm) Example 1 f = TabFileWriter .new( "testfile2.txt" , "w" , true ); Task ({ 20.do{ f.writeLine( Array .fill( 10, { 1.0.rand })); 1.0.wait; }; "done" .postln; }).play; f.close; This helpfile was created with the class HelpFile2

  2. startup_republic_abc Quark

    ( Task { var myname = 'abc'; "\n\n *** Republic - startup file for %.\n".postf(myname); r = Republic.default ?? { Republic.new.makeDefault }; z = RepublicGui(r, 8); // 8 is number of participants z.switchSize(1); // hide chat area try { z.m ...

  3. NMLClock Quark

    ... this; scheduler.advance(beatDelta); thisThread.clock = saveClock; } play { arg task, quant = 1; this.schedAbs(quant.nextTimeOnGrid(this).postln, task) } beatDur { ^1/tempo; } beats { ^scheduler.seconds; } nextTimeOnGrid { arg quant = 1, ph ...

  4. GettingStartedWithChucklib Quark

    ... kind of playable Pattern. But, if you're more accustomed to writing Routines or Tasks, you can use the Prout Pattern, which, for playing purposes, behaves just like a Task.) Proto ({ ~asPattern = { Pbind ( \degree , Pn ( Pseries (0, 1, 8), ...

  5. GettingStartedWithChucklib Quark

    ... kind of playable Pattern. But, if you're more accustomed to writing Routines or Tasks, you can use the Prout Pattern, which, for playing purposes, behaves just like a Task.) Proto ({ ~asPattern = { Pbind ( \degree , Pn ( Pseries (0, 1, 8), ...

  6. Sketch Pad by elifieldsteel (eli.fieldsteel) Code

    ... AINT! //select all and compile var point, red, green, blue, win, view, colorTask; var redChange, greenChange, blueChange; //rate of change of each color component //mess around with these values for fun //zero results in no color ...

  7. Crear hints para los knobs Quark

    ... tooltipWindow, tooltipText, showTooltip, hideTooltip, updateTooltip, hideTooltipTask; // Crear la ventana principal window = Window.new("Test Window", Rect(100, 100, 300, 100)) .front .acceptsMouseOver_(true); // Asegurar que la ventana ace ...

  8. extString-getPathsInDirectory Quark

    ... ed to use of pathMatch // added find functionality -- watch out with big search tasks; these are recursive functions // so they might freeze your system for a while. But they will always work (tested with up to // apx. 70000 files at once / ...

  9. OscGroup Quark

    ... s.add(peerName); peerCheckers[peerName].isNil.if({ peerCheckers.add(peerName -> Task({ // timeout of 10 seconds to check for peer's ping 10.wait; peerCheckers[peerName] = nil; peers.remove(peerName); }); )}); peerCheckers[peerName].stop; pe ...

  10. PitchCollection Quark

    ... the type of tonic and a link to its help file. Default value is nil. Doing Some Task (optional) A short bit of prose explaining something about the task. init Short prose description of method. // inline example g = PitchCollection .init; g ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow