Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. 178-springs_coupled Quark

    ... rightSpr.update; ~centerSpr.update2; ~leftObj.update; ~rightObj.update; if(list.size>height.div(2), {list.pop}); list.addFirst([~leftObj.loc[0], ~rightObj.loc[0]]); //store x positions //--render Pen.strokeColor= Color.red; Pen.line(~leftOb ...

  2. IndexL Doc

    ... ing into a changeable table t = [200, 300, 400, 500, 600, 800]; b = Buffer(s, t.size, 1); // alloc and set the values s.listSendMsg(b.allocMsg(b.setnMsg(0, t)).postln); SynthDef(\help_index, { |out = 0, bufnum = 0| Out.ar(out, SinOsc.ar( In ...

  3. PingPong Help

    ... dex of a multi channel buffer . inputArray - an array of audio inputs, the same size as your buffer. delaytime - delay time in seconds.. feedback - feedback coefficient. rotate - default 1: which rotates the inputArray by one step. (left -> ...

  4. MultiChannelRecorder Quark

    ... oc(b.server, 65536, b.numChannels,{ arg buf; var chanNum="",chanPath; if(busses.size > 1,{ chanNum = "_" ++ i; }); chanPath = path ++ chanNum ++ "." ++ recHeaderFormat; chanPath.debug("Preparing:"); buf.writeMsg(chanPath, recHeaderFormat, r ...

  5. MultiChannelRecorder Quark

    ... (b.server, 65536, b.numChannels, { arg buf; var chanNum="", chanPath; if(busses.size > 1, { chanNum = "_" ++ i; }); chanPath = path ++ chanNum ++ "." ++ recHeaderFormat; chanPath.debug("Preparing:"); buf.writeMsg(chanPath, recHeaderFormat, ...

  6. WFSPathBuffer Quark

    ... wfsPath.asWFSPath2 }; if( wfsPath.isWFSPath2 ) { numFrames = wfsPath.positions.size; } { numFrames = nil; }; this.changed( \wfsPath, wfsPath ); } filePath { ^if( wfsPath.isWFSPath2 ) { wfsPath.filePath } { wfsPath }; } filePath_ { |new| va ...

  7. RedMandelbrot Doc

    ... he default is Rect(-2.5, -1, 3.5, 2) . bounds A Rect specifying the plot window size and position. colorFunc A Function for colourising pixels with an iteration count greater than the threshold. It is passed two Integer arguments ( iteratio ...

  8. RedSystems Quark

    ... moveAction.value(o); o.world.remove(o); false; }, {true}); }; } alive {^objects.size>0} } //--keeping waves RedWaveSystem : RedObjectSystem { var <length, <>freqs, <>phases, <>amps, <>angularVel, <>theta= 0, <wave; *new {|length, freqs, pha ...

  9. fraction2basimal by elirosenkim (eli.rosenkim) Code

    ... x, base; var message = "max iterations computed", messageList = List.newClear(size: 0), a = 0, d=x, c, maxIterations=15, i=0, cList = List.newClear(size: 0), dList = List.newClear(size: 0); d = d - d.floor.asInteger; //removes integer c ...

  10. HowToGetToAllServers Quark

    ... ).trace, \instrument, \xxy).play; // pick one randomly Pbind(\where, r.nameList.size.rand, \instrument, \xxy).play;

prev 241 242 243 244 245 246 247 248 249 250 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow