Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. 009-multiple-3d_synth Quark

    ... lip(0, 1), 0.75); Pen.fillOval(Rect.aboutRedObject3D(o, ss, ff)); }; }; w.play; CmdPeriod.doOnce({w.close}); w.onClose= {synths.do{|x| x.free}}; })

  2. cloth Quark

    ... ].position.x, particles[i][j].position.y)); }; //? Pen.stroke; }; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...

  3. extServerGui Quark

    ... liveThread; // dumping = true; // w.name = "dumping osc: " ++ name.asString; // CmdPeriod.add(stillRunning); // }; // stopDump = { // this.dumpOSC(0); // this.startAliveThread; // dumping = false; // w.name = label; // CmdPeriod.remove(stil ...

  4. PHelpSynth Quark

    ... k { |clock, quant, hsStop = false, hsPlay = true, newEnvir = true, removeCtrWithCmdPeriod = true| var envir, task, player = this, controller; envir = newEnvir.if { () }{ currentEnvironment }; task = envir.use { Task { 1e5.wait } }; controll ...

  5. TelepathicClock Quark

    ... TempoClock ). permanent - if true (default: false), the clock is not removed on cmdPeriod (or equivalent). addr - The address given is a NetAddr which serves as a message receiver, usually this is the local broadcast address. channel - For ...

  6. XiiPlayer Quark

    ... volume; var folderSounds, addedSounds, addedSoundNames, sounds, soundNames; var cmdPeriodFunc, group, openFolderButton; addedSounds = []; // Cocoa dialog will fill this. addedSoundNames = []; // folderSounds = Cocoa.getPathsInDirectory("sou ...

  7. remapping Quark

    ... }.play, { |freq=400| Pan2.ar( LPF.ar( WhiteNoise.ar, freq)*0.6, 1.0) }.play ]; CmdPeriod.add{ q.window !? _.close }; ENdef(\x, { var knobs = q.knobs.collect(_.enIn); var knobsSig = knobs.collect(_.hold(0.0)); var but = q.button.enIn.collec ...

  8. 049-pendulum-double Quark

    ... utPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; o= world.objects; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control o[0].angularVel= 0.1; o[1].angularVel= -0.1; o[0].angularVel= -0.2; o[1].angularVel= 0.2; o[0].theta= pi*0.9; ...

  9. gui_example_userview_fft Quark

    ... t), img); frameCounter= frameCounter+1; }; win.onClose= {img.free; board.stop}; CmdPeriod.doOnce({win.close}); board.dataAction= {|num, data, acc| channelData= board.buffer[~channel]; if(notchFilter.notNil, { channelData= notchFilter.filter ...

  10. switchActionsFRP Quark

    ... }.play, { |freq=400| Pan2.ar( LPF.ar( WhiteNoise.ar, freq)*0.6, 1.0) }.play ]; CmdPeriod.add{ q.window !? _.close }; ENdef(\test,{ // **** INPUTS **** var knobs = q.knobs.collect(_.enInES); var knobsSig = knobs.collect(_.hold(0.0)); var bu ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow