Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... neg; }; if( height.isNegative ) { top = top + height; height = height.neg; }; } linlin { |inMin, inMax, outMin, outMax, clip| ^Rect.fromPoints( this.leftTop.linlin( inMin, inMax, outMin, outMax ), this.rightBottom.linlin( inMin, inMax, outM ...

  2. extRect-asControlInput Quark

    ... neg; }; if( height.isNegative ) { top = top + height; height = height.neg; }; } linlin { |inMin, inMax, outMin, outMax, clip| ^Rect.fromPoints( this.leftTop.linlin( inMin, inMax, outMin, outMax ), this.rightBottom.linlin( inMin, inMax, outM ...

  3. PMacUGens Quark

    ... ct("NSEvent", "mouseLocation").x; if(warp==0 or:{warp==\linear}, { inval= mouse.linlin(0, screenBounds.width, minVal, maxVal).yield; }, { if(warp==1 or:{warp==\exponential}, { inval= mouse.linexp(0, screenBounds.width, minVal, maxVal).yield ...

  4. orbit Quark

    ... = n; var eccentricity, eccentAngle; clockwise = f.get( \clockwise ).binaryValue.linlin( 0,1,-1,1); startAngle = (f.get( \startAngle ) / 360) * 2pi; center = f.get( \center ); radius = f.get( \radius ); periods = f.get( \periods ); close = f ...

  5. PlayBufCF Quark

    ... igger = Trig.ar( trigger, lag - SampleDur.ir ); }; ffp = ToggleFF.ar( trigger ).linlin(0,1,-1,1); slew = Slew.ar( ffp + 1, 2/lag, 2/lag ) - 1; }, \control, { if( safeMode.booleanValue ) // eat triggers faster then lagtime { trigger = Trig.k ...

  6. polygon Quark

    ... ds; var close, nn = n; var polygon; clockwise = f.get( \clockwise ).binaryValue.linlin( 0,1,-1,1); sides = f.get( \sides ); orientation = f.get( \orientation ); startAngle = (orientation / sides) * 2pi; center = f.get( \center ); radius = f ...

  7. openbci_gui_fftplot_with_neurofeedback-2ch Quark

    ... ub.width, 6)); horizontalScale.do{|freq, i| var str= freq.asString; var x= freq.linlin(0, maxFreq, 0, ub.width-1); Pen.stringAtPoint(str, Point(x-(str.bounds(f2).width/2), 12), f2); Pen.line(Point(x, 6), Point(x, 10)); Pen.line(Point(x, 0), ...

  8. pressure_and_steam Quark

    ... ustain), doneAction:2); var son; son = Resonz.ar(WhiteNoise.ar(0.5.dup), energy.linlin(1, 0, freq, freq * 0.2), 0.4); Out.ar(out, son * energy) }).share ); ( SynthDef(\press2, { |out, amp = 0.1, p0 = 1, p1 = 0, sustain = 10, freq = 4000, ra ...

  9. add-several-tracks 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 ...

  10. ColorPickerUI Quark

    ... .width - (margin * 2)).do( { |index| Pen.strokeColor_( this.hsvToColor( [ index.linlin( 0, (view.bounds.width - (margin * 2)), 0, 360 ), hsv[1], hsv[2] ]; ); ); Pen.moveTo( Point(index + margin, margin) ); Pen.lineTo( Point(index + margin, ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow