Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. IBVArecorder Quark

    ... us file= File(filePath, "wb"); file.write(IBVAfile.generateHeaderString(ibva)); CmdPeriod.doOnce({this.stop}); } record { if(file.notNil and:{file.isOpen}, { "%: recording to %".format(this.class.name, filePath).postln; func= {|...args| fil ...

  2. AbstractSController Quark

    ... Channels, target, args| var name; bus= Bus.control(target.server, numChannels); CmdPeriod.doOnce({bus.free}); args= (args?()).asKeyValuePairs++[\sController_bus, bus]; name= this.defName; forkIfNeeded{ if(SynthDescLib.at(name).isNil, { this ...

  3. Require Quark

    ... unScript(); } *initClass { roots = List(); requireTable = IdentityDictionary(); CmdPeriod.add(this); ServerTree.add(this); ServerBoot.add(this); } *prClearCache { |cacheKey| requireTable = requireTable.reject { |item| item.cacheOn.includes( ...

  4. gui_example_scrolling_fft Quark

    ... .value= f.fft[i].dbamp-1*0.1; }; (1/60).wait; //framerate }; }).play(AppClock); CmdPeriod.doOnce({win.close}); ) ~ibva.setSamplingRate(200); ~ibva.setFilterCutoff(0.5); ~ibva.setFilterCutoff(0.25); ~ibva.setFilterCutoff(0.75);

  5. 070-lsystem Quark

    ... olor= Color.white; Pen.translate(width*0.5, height*0.8); lplot.draw; }; w.play; CmdPeriod.doOnce({w.close}); )

  6. 071-lsystem_grow Quark

    ... .white; Pen.translate(width*0.5, height*0.667); lplot.draw; }; w.play(2); //fps CmdPeriod.doOnce({w.close}); )

  7. ClockAudioMulch Quark

    ... -2011 //todo: use SkipJack for permanent clocks or just recreate the routine at cmdperiod? ClockAudioMulch : TempoClock { var <>addr, <>tick= 0, <>shift= 0, task; *new {|tempo, beats, seconds, queueSize= 256, addr| ^super.new.initClockAudio ...

  8. SatieStatusWatcher Quark

    ... ver.waitForBoot ^{ ServerTree.add(satie, server); ServerQuit.add(this, server); CmdPeriod.add(satie); satie.postBootExec; status = \running; booted = true; // for backwards compatibility } } satieReboot { switch(status) {\initialized} { thi ...

  9. 100-particle-system Quark

    ... olor.grey((o.age/50), 1); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  10. 002-multiple Quark

    ... = Color.grey(o.mass/4); Pen.strokeRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow