Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nilTolerance; } { nilTolerance = nilTolerance - 1; }; }; inval }; ~asStream = { Routine { |inval| ~embedInStream.(inval) } }; ~asPattern = { Prout(e { |inval| ~embedInStream.(inval) }) }; ~play = { |clock, protoEvent, quant| ~asPattern.().p ...

  2. SGUI Quark

    ... %:%".format(files[index].key, key).postln; }); banks[index].put(key, List.new); Routine({ include.pairsDo{|name, item| banks[index][key].add((name->item.value(Condition(true)))); }; banks[index].writeArchive(path+/+files[index].value); }).p ...

  3. TESTING Quark

    ... is script: - The body of the script which runs all of SATIE's tests **must be a Routine** (aka fork) scheduled on the `AppClock`. - `SatieUnitTest.runAll` looks up all subclasses of `SatieUnitTest` and calls `run` on each of them in turn. S ...

  4. SFPlayer Quark

    ... ing.postln; isStarting.not.if({ //prevent starting if we're already in the play routine isStarting = true; Routine.run({ lastStart = startTime; // clock.sched(sf.duration - startTime + 0.1, {this.stop}); if(bufferPreloaded.not && isPlaying, ...

  5. WFSV2 Quark

    ... em).makeDefault; server.hostNames_( hostName ); server.boot; server.makeWindow; Routine({ var allTypes, defs; while({ server.multiServers[0].servers .collect( _.serverRunning ).every( _ == true ).not; }, { 0.2.wait; }); //allTypes = WFSSynt ...

  6. kraken Quark

    ... ,0] for 4 ribbons, also 10bit. ( try{NTMI.kraken.rout.stop}; NTMI.kraken.rout = Routine({ var byte, str, res; var t0 = Main.elapsedTime; var t = t0; inf.do { |i| if(NTMI.kraken.serial.read==10, { var key, array; str = ""; while({byte = NTMI ...

  7. startup01-events Quark

    ... nilTolerance; } { nilTolerance = nilTolerance - 1; }; }; inval }; ~asStream = { Routine { |inval| ~embedInStream.(inval) } }; ~asPattern = { Prout(inEnvir { |inval| ~embedInStream.(inval) }) }; ~play = { |clock, protoEvent, quant| ~asPatter ...

  8. CtkControl Quark

    ... , group, bus1, bus2, env, freq, control, task; var cond; cond = Condition .new; Routine .run({ pnotes = CtkProtoNotes ( SynthDef ( \test , { arg dur, freq, amp; var env, envgen, src; env = Control .names([ \env ]).kr( Env .newClear(8)); env ...

  9. openbci_gui_fftplot Quark

    ... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(channels[0].data.size>=fft.fftSize, { usr.refresh; }); (nextTime-Main ...

  10. RedGIF Quark

    ... Method==3 restore previous".postln} ); }; if(images.size>1, { //if animated gif Routine({ while({win.isClosed.not}, { //TODO check userinputflag here (images.wrapAt(index).control.duration*0.01/rate).max(0.01).wait; index= index+1; win.refr ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow