Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. 090-livecoding Quark

    ... World3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--loop ~win.draw{ Pen.strokeColor= Color.white; ~world.objects.do{|o| o.addForce(o.world.gravity); o.update; o.world.contain(o); //--render Pen.strokeRect(Rect.ab ...

  2. Phrase Plugin

    ... y data responds to the operation methods and what section of // the phrase will loop when it's streamed. Phrase{ var <initialPhrase, <>phrase; var <returnProbs, <returnBools, <>loopReturns; var <regionStart, <regionLength, <pos, <seed; var ...

  3. LemurClient Doc

    ... a fader", "Fader1", 600, 200, 100, 724); // Automate to move p = 0; t = Task({ loop { l.fader("Update a fader", "Fader1", p); p=p+50%924; 0.2.wait; }}).play; t.stop; // Add 30 faders to Lemur on a new page. l.page("Bunch of faders"); 30 do ...

  4. PV_MagSquared Doc

    ... 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); chain = PV_MagSquared(chain); Out.ar(out, 0.003 * IFFT(chain).dup); }).play(s, [\out, 0, \bufnum, b.bufnum, \soundBufnum, c.b ...

  5. PhasorTJ-test Quark

    ... bufnum: buf, phase: PhasorTJ.ar(BufDur.ir(buf).reciprocal) * BufFrames.ir(buf), loop: 1, interpolation: 2 ); }.play; x.free SCDoc.indexAllDocuments(true)

  6. p_sine Quark

    ... Timer; if( timeBase.next === \seconds ) { i = freq.next * UPattern.startPos; }; loop { (((i % 1) * 2pi) + phase.next).sin.linlin(-1,1,min.next,max.next).yield; switch( timeBase.next, \events, { i = i + freq.next; }, \seconds, { i = i + (fre ...

  7. SpeechRender / SpeechBuffer by rukano (rukano) Code

    ... // string, voice b.play; play{ PlayBuf.ar(1, b, BufRateScale.kr(b) * 0.5, loop:1)!2 } And you have to clean up your rendering directory with: SpeechBuffer.cleanUp // or: SpeechRender.cleanUp If maybe someone want, this could ...

  8. SPList Doc

    ... litHalf splitAfter splitBefore splitNextMax splitNextMin splitN Transformations loop internalloop internalloopcopy env interleave sortBy reverse Export and Playback play write Helper methods nodecount parent flat length howDeep performOnPer ...

  9. 170-spring Doc

    ... 0, 0], 1.5, 10); trg= RedObject(world, RedVector2D[width*0.5, height*0.5]); //--loop w.draw{ if(mp!=w.mouse, { //just to keep target in middle if no mouse input trg.loc= w.mouse; }); obj.spring(trg, 0.1, 0.9, 50); //target, stiffness, dampi ...

  10. 082-function_plot_image2 Doc

    ... ; resolutionX= 160; resolutionY= 120; img= Image(resolutionX, resolutionY); //--loop w.draw{ cnt= cnt+speed%width; resolutionX.do{|i| x= i/resolutionX*2-1; resolutionY.do{|j| y= j/resolutionY*2-1; rad= x.sumsqr(y).sqrt*sin(cnt)*magnitude; t ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow