Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. particle_system_with_sound Quark

    ... 0, x= 0, y= 0, a= 1, d= 0| var freq= y.linexp(0, height, 2000, 50); var amp= a.linlin(0, maxAge, 0.1, 0).lagud(0, 0.1); var pan= x.linlin(0, width, -1, 1); var src= SinOscFB.ar(freq+d, (d*0.01).clip(0, 1), amp); DetectSilence.ar(src, doneA ...

  2. cube Quark

    ... ar aziSin; var aziCos; var eleFact; aziSin = aziDeg.degrad.sin; aziSin = aziSin.linlin(-1.0, 1.0, -1.0 + spread, 1.0 - spread); aziCos = aziDeg.degrad.cos; aziCos = aziCos.linlin(-1.0, 1.0, -1.0 + spread, 1.0 - spread); eleFact = (eleDeg.cl ...

  3. HistoryMeter Quark

    ... ounds.height; width = this.bounds.width.asInteger; Pen.moveTo( 0 @ history[pos].linlin(0,1,height,0) ); (history.size).do({ |item, i| Pen.lineTo( (i+1) @ history.wrapAt(pos+i).linlin(0,1,height,0) ); }); Pen.lineTo( history.size @ height ); ...

  4. Vocal Clouds (work in progress) by emergent (emergent) Code

    ... , val.linexp(1,127,0.02,0.3), //velocity detection \gate, 1, \bend, ~bend.linlin(0,16383,-2,2), \basedur, ~mod.linlin(0,127,0.07,2), \detune, 0.025, \dens, 12, \out, ~revBus ], ~src ); }); MIDIdef.noteOff(\off, { ...

  5. add-tracks-and-buses Quark

    ... me=0, mute=0, solo=1; (Ndef.ar('inTrack3', 1) * volume.dbamp.lag(lagTime) *mute.linlin(0,1,1,0).lag(0.1)*solo.lag(0.1) )}); Ndef('inMaster').source = {arg trim=0, lagTime=0; ([Ndef.ar('spaceTrack1', 2) * 1, Ndef.ar('spaceTrack2', 2) * 1, Nd ...

  6. Re: Recursion-toy-like vines with Pen by vividsnow (vividsnow) Code

    ... Change freq //that.sy.set(\freq, sqrt(that.ox.squared + that.ox.squared).linlin(0,sqrt(350.squared * 2),50,350)); that.sy.set(\freq, that.ox.linlin(0,350,10,550)); that.sy.set(\mod_freq, that.oy.linlin(0,350,10,550)); ...

  7. test UPattern Quark

    ... f( \p_step, { |unit, lo = 0.0, hi = 1.0, steps = 12| { var current = 0; current.linlin( 0, 1, lo.next, hi.next ).yield; inf.do { |i| current = (current + ((1/steps.next).clip2( 1.0e12 ))).wrap( 0.0, 1.0 ); current.linlin( 0, 1, lo.next, hi. ...

  8. test UPattern Quark

    ... f( \p_step, { |unit, lo = 0.0, hi = 1.0, steps = 12| { var current = 0; current.linlin( 0, 1, lo.next, hi.next ).yield; inf.do { |i| current = (current + ((1/steps.next).clip2( 1.0e12 ))).wrap( 0.0, 1.0 ); current.linlin( 0, 1, lo.next, hi. ...

  9. GMZZ2DSlider Quark

    ... 1; var values = [0, 0]; var min; if(thisPolarities[0] == \uni) { values[0] = x.linlin( super.interactionRect.left, super.interactionRect.right, 0, (nDivX - 1) ); } { nDivX = (nDivX * 2) - 1; values[0] = x.linlin( super.interactionRect.left ...

  10. NRect Quark

    ... 0], ab[1]) } } mapVector { |v| ^this.constrain( this.prDoFlopWith(v){ |a,b,x| x.linlin(0, 1, a, b, \none) } ) } unmapVector { |v| ^this.prDoFlopWith( this.constrain(v) ){ |a,b,x| x.linlin(a, b, 0, 1, \none) } } asNRect { ^this } moveBy { |v ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow