Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1669) Code (209) Doc (505) Help (220) Quark (722) Plugin (13) SCDoc ↗ Forum ↗ Google ↗
  1. ProxyPresetGui Quark

    ... { |options| var butHeight = skin.headHeight; var flow = zone.decorator; // top line StaticText(zone, Rect(0,0, 30, butHeight)).string_("curr") .background_(skin.foreground) .font_(font).align_(\center) .mouseDownAction = { var name = setLP ...

  2. Install_Tips Quark

    ... ith the nano text editor: sudo nano /etc/udev/rules.d/99-hid.rules ### put this line in the file: KERNEL=="hidraw*", SUBSYSTEM=="hidraw", OWNER="root", GROUP="plugdev", MODE="0660" ### and save with control-o, cntrol-x ### to make it work i ...

  3. Simple_Pendulum Quark

    ... x, y| p.makeFree; }; usr.drawFunc= { physics.tick; Pen.color= Color.black; Pen.line(Point(p.position.x, p.position.y), Point(anchor.position.x, anchor.position.y)); Pen.stroke; Pen.fillOval(Rect.aboutPoint(Point(anchor.position.x, anchor.p ...

  4. AutoBackup Quark

    ... those nasty infinite loops one sometimes gets when coding. It is wise to put a line "AutoBackup.start" in your startup.rtf file. Backups are saved as .sc files, named after the title of the document. Creation AutoBackup.start starts AutoBa ...

  5. ProcessTools Quark

    ... o help interact with *n*x processes Quick intro to the main functions (run each line, watch the post window, wait for a bit): "sleep 3" .unixCmd "sleep 3" .unixCmdInferPID({ |pid| ( "The PID is" + pid).postln}) "sleep 3" .unixCmdThen({ |pid ...

  6. HowToSetupOnRaspi Quark

    ... . then StartupFile.openDir // copy a file, rename it to "ntmi.scd", // put this line in the file and save it NTMI.run; // should be true: StartupFile.pathsDict.keys.includes('ntmi'); // write startup.scd that points to ntmi startup file: St ...

  7. MP3 Quark

    ... process. start { |lameopts=""| var cmd, prepids, postpids, diff, cmdname, pipe, line, lines, khz; if(sampleRate.isNil){ sampleRate = Server.default.sampleRate; }; khz = sampleRate * 0.001; // cmd is the command to execute, cmdname is used t ...

  8. 171-springs_more Quark

    ... ; sprs.do{|spr| spr.update; //--render springs Pen.strokeColor= Color.grey; Pen.line(spr.object.loc.asPoint, spr.target.loc.asPoint); Pen.stroke; }; objs.do{|obj| obj.addForce(world.gravity); obj.update; world.contain(obj); //--render objec ...

  9. imuUV Quark

    ... Color.yellow; Pen.width = 3; star.wrapExtend(10).doAdjacentPairs { |p1, p2| Pen.line(p1, p2); }; Pen.stroke; star.do { |p1| Pen.line(p1, center); }; Pen.color = Color.white; Pen.width = 1.5; Pen.stroke; }; }); // NTMI.g.main.imuUV.refresh; ...

  10. RezonPing Quark

    ... g; ~description = "Saw synth ping through resonating high-pass filter and delay line"; ~channelLayout = \mono; ~function = { | freq = 440, rq = 1 | var snd; snd = sum({|i| var saw1, saw2, reson; saw1 = LFSaw.ar(1/9.round(1/8)**2*8); saw2 = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow