Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Bark below 220 hz barkToHz { ^1960 / (26.81 / (this + 0.53) - 1) } // gives the size (in Hz) of the critical bandwidth given in barks criticalBW { ^52548 / (this.squared - (52.56 * this) + 690.39)} // freqs to ERB (Equivalent Rectangular Ba ...

  2. MultiSplineGui Quark

    ... play / focus a point pointSelector = NumberEditor(-1, [-1, model.spline.points.size-1, 'lin', 1]); pointSelector.action = { if(pointSelector.value >= 0, { model.focusedPoint = pointSelector.value; this.update; }, { model.focusedPoint = nil ...

  3. extPlotTreeScale Quark

    /* // added tabSize param to fit larger trees when needed s.boot; s.plotTree (tabSize: 20); g = Group.new.isPlaying_(true); 10.do { |i| Ndef(i.asSymbol).parentGroup_(g).put(0, { Silent.ar }).play }; fork { 100.do { ().play; 0.3.rand.wait } ...

  4. extArray-interpolation Quark

    ... is.foldAt( index ) } ); } allSplineIntControls { |amt, clipMode = 'wrap'| ^this.size.collect({ |i| this.modeAt( (-1..2) + i, clipMode ).splineIntControls( amt ); }).flop; } splineIntFunction { |i, x1, x2| ^this.splineIntPart1( x1, x2 ).spli ...

  5. WFSPoint Quark

    ... = this.storeArgs; newArgs = deltaWFSPoint.asWFSPoint.storeArgs.extend( oldArgs.size, 0 ); ^this.class.new( *( oldArgs + newArgs ) ) } - { arg deltaWFSPoint; var oldArgs, newArgs; oldArgs = this.storeArgs; newArgs = deltaWFSPoint.asWFSPoint ...

  6. Log Quark

    ... printedLine.split(Char.nl); logOutput = log.unprintedLine[0..(log.unprintedLine.size - 2)].collect({ |line| "[%] ".format(log.name.asString().toUpper()).padRight(12) ++ line; }).join("\n"); log.unprintedLine = log.unprintedLine.last; logOut ...

  7. USessionGUI Quark

    ... arView; var font = Font( Font.defaultSansFace, 11 ); var topBarHeigth = 40; var size = 16; var margin = 4; var gap = 2; bounds = bounds ? Rect(100,100,700,400); this.newWindow(bounds, "USession - "++session.name, { if(USessionGUI.current == ...

  8. sLauncher Quark

    ( //--settings var size= 700; //--images var images= [ \sCluster -> Image(SInstruments.rootDir+/+"images/sCluster-screenshot.png"), \sDrone -> Image(SInstruments.rootDir+/+"images/sDrone-screenshot.png"), \sFormant -> Image(SInstruments.roo ...

  9. HistoryMeter Quark

    ... .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 ); Pen.lineTo( 0 @ height ); if( hi ...

  10. TimeStretch2 Quark

    ... (\pb_monoStretch2_Overlap2, { |out = 0, bufnum, stretch = 100, startPos = 0, fftSize = 8192, fftMax = 65536, hiPass = 0, lowPass=0, amp = 1, gate = 1| var trigPeriod, sig, chain, trig, trig1, trig2, pos, jump, trigEnv, fftDelay, bigEnv, win ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow