Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (692) Code (80) Doc (247) Help (48) Quark (306) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. PresetManagerGUI Quark

    ... utton( view, viewHeight @ viewHeight ) .radius_( viewHeight/2 ) .label_( 'arrow_pi' ) .action_({ presetManager.undo( object ); }); views[ \apply ] = SmoothButton( view, viewHeight @ viewHeight ) .radius_( viewHeight/2 ) .label_( 'arrow' ) . ...

  2. WFSPlane Quark

    ... ative from the center (0@0) var <>radianAngle, <>distance; var <>radianWidth = 2pi, <>radianOffset = 0, <>curve = 10; // experimental, not finished // angle is stored internally as radian for optimization reasons *new { |angle = 0, distance ...

  3. midSideSaw Quark

    ... g in a SynthDef format. Mid/side processing splits a stereo signal into two new pieces; instead of a left and right channel, you now have a channel full of the same parts between the left and right (mid), and a channel full of the different ...

  4. Camera2D Quark

    ... arrive, <>rotation, <>friction = 0.6, >motionAmount = 1.6, >rotationAmount= 0.01pi; *new{ arg world, position= RealVector2D[15,15], radius = 0.2, mass = 0.05, velocity = RealVector2D[0, 0], collisionType = \mobile, heading, side, maxSpeed = ...

  5. MantaGUI Quark

    ... 8}!48; selected = Set[]; navigateIdx = 0; fac = 0.8660254037844388; // (0.5/tan(pi/6)).asCompileString; this.createRects; parent.isNil.if{ parent = Window.new(\Manta, Rect(100, 100, 345, 235)).decorate; parent.front; }; this.createView(pare ...

  6. NB_more_examples Quark

    ... splayImage ) /* ----- ----- ----- ----- */ /* ----- ----- ----- ----- */ ( // copied very literally from the nodebox demo of the same name n = NB .new( "HowCurvesWork" , 200, 200); n.publishAndDisplayCode( "# This boring example demonstrate ...

  7. XiiLiveCoder Quark

    ... 0); sig = Mix.fill( 6, { |i| SinOsc.ar( (36 + ((line + (i*12)) % 60)).midicps, 2pi.rand, (sin((((line*0.083333333333333)+i)%5)*(0.2*pi)).abs)*0.2 ); }); sig }.play ----------- { SinOsc.ar( Stepper.kr( Impulse.kr(XLine.ar(10, 120, 20, doneAc ...

  8. WFSPoint Quark

    ... ypot(x, y) } //2D only - distance theta { ^atan2(y, x) } //2D only - azimuth - 2pi (watch out: turned a quarter) dist { arg aWFSPoint; //ws - optimized calculation aWFSPoint = aWFSPoint.asWFSPoint; ^(sqrdif(x, aWFSPoint.x) + sqrdif(y, aWFSP ...

  9. SmoothSlider Quark

    ... oks of SCSlider. Next to that it has a lot of extra options. SmoothSlider is inspired and partly based upon blackrains Knob . SmoothSlider was designed to use alongside SmoothButton and SmoothNumberBox . Also see: RoundSlider , EZSmoothSlid ...

  10. FilterCoef Quark

    ... Plane // An allpass filter example. ( a = FilterCoef .new([ Polar .new(0.8, 0.25pi), Polar .new(0.8, -0.25pi)], [ Polar .new(0.8.reciprocal, 0.25pi), Polar .new(0.8.reciprocal, -0.25pi)]).postln; a.calc.postln; a.calcImpResp.real.plot( "Imp ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow