Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (52) Code (10) Doc (23) Help (11) Quark (7) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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 ...

  3. 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 ...

  4. Bend Quark

    ... les ).gui(20); // "analog" bend: pass in bendFunc directly ( { var bypass = 1 - MouseButton .kr; // press mouse button to bypass Bend ({ |original, argName, ugen| var res = original; argName.postln; if(#[ \freq , \delaytime ].includes(argNa ...

  5. Bend Quark

    ... les ).gui(20); // "analog" bend: pass in bendFunc directly ( { var bypass = 1 - MouseButton .kr; // press mouse button to bypass Bend ({ |original, argName, ugen| var res = original; argName.postln; if(#[ \freq , \delaytime ].includes(argNa ...

  6. MoscaGUI Quark

    ... zNumBox; var drawEvent, ctlEvent, loopEvent, sourceNameEvent, lastGui = 0; var mouseButton, furthest, sourceList; var originDragStart, mouseDragStart; // For Control-drag origin movement var graphicWidth, graphicHeight, drawOnImage; var dr ...

  7. GamelanSynthDefs Quark

    ... le: MouseX.kr(0.5, 2, 1), // freqoffset: MouseY.kr(1000, 10, 1), // decayscale: MouseButton.kr(1, 1.5)) * env, // pan) // ); // }).store; // ("gamelan synthdef " ++ name ++ " written").postln; // }; // } { |err| err.postln }; // ----- end i ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow