Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (52) Code (10) Doc (23) Help (11) Quark (7) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. RedAutoScale Doc

    ... use button reset range a= {SinOsc.ar(RedAutoScale.kr(MouseX.kr, 200, 400, reset:MouseButton.kr).round(25), 0, 0.2)}.play a.free //predefined minimum input range a= {SinOsc.ar(RedAutoScale.kr(MouseX.kr(-10, 10), 200, 400, -5, 5, MouseButton. ...

  2. PV_MagSmooth Doc

    ... n this demo, mouse left/right controls the amount of smoothing, // and when the mousebutton is down you hear the "original" // (otherwise you hear the "cleaned" version). d = Buffer.alloc(s, 1024); ( x = { var son, chain, chainorig, chainsm ...

  3. Dfsm Doc

    ... ///////////////////////////////////// // tests // reset test. ( { var a, trig = MouseButton.kr > 0.5; a = Dfsm([[0], Dseq([-2, -3], inf), [1, 7], Dseq([0.1, 0.2], inf), [0, 1], Dseq([900], inf)]); Demand.kr(trig, 0, a); // should end after ...

  4. MouseX Help

    ... al' lag lag factor to dezipper cursor movement. (Default 0.2) see also MouseY , MouseButton //example { SinOsc .ar( MouseX .kr(40, 10000, 1), 0, 0.1) }.play; //same but with a 2sec lag { SinOsc .ar( MouseX .kr(40, 10000, 'exponential' , 2), ...

  5. MouseY Help

    ... al' lag lag factor to depipper cursor movement. (Default 0.2) see also MouseX , MouseButton //example { SinOsc .ar( MouseY .kr(40, 10000, 1), 0, 0.1) }.play; //xy example { SinOsc .ar([ MouseX .kr(40, 10000, 1), MouseY .kr(40, 10000, 1)], 0 ...

  6. Spring Doc

    ... ouse y controls damping ( { var inforce, outforce, freq, k, d; inforce = K2A.ar(MouseButton.kr(0, 1, 0)) > 0; k = MouseY.kr(0.1, 20, 1); d = MouseX.kr(0.00001, 0.1, 1); outforce = Spring.ar(inforce, k, d); freq = outforce * 400 + 500; // mo ...

  7. PMouseButton Quark

    PMouseButton UGenPatterns quark library superclass: Pattern based on MouseButton NOTE: mac osx only, lag is not implemented only osx, and only sc3.4 or sc3.5 in 32bit mode (i.e. something is broken under 64bit sc3.5) PMouseButton(minval, ma ...

  8. GUI-Classes Doc

    ... y. MouseY MouseY JMouseY MouseY UGen. JMouseY for backward compatiblility only. MouseButton MouseButton JMouseButton MouseButton UGen. JMouseButton for backward compatiblility only. KeyState KeyState JKeyState KeyState UGen. JKeyState for b ...

  9. UDragSource Quark

    ... case( \osx, { StartUp.defer({ SynthDef( "UDragSource_mouseState", { var state = MouseButton.kr( 0, 1, 0 ); FreeSelf.kr( HPZ1.kr( state ) < 0 ); }).writeOnce }) } ); } *viewClass { ^DragSource } *new { |parent, bounds| ^super.new.view_( this ...

  10. UDragSource Quark

    ... er({ if( GUI.id == \cocoa ) { SynthDef( "UDragSource_mouseState", { var state = MouseButton.kr( 0, 1, 0 ); FreeSelf.kr( HPZ1.kr( state ) < 0 ); }).writeOnce }; }) } ); } *viewClass { ^DragSource } *new { |parent, bounds| ^super.new.view_( t ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow