Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (500) Code (36) Doc (222) Help (81) Quark (152) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. BoxMatrix Quark

    ... er is in the box default style individual box styling named styles (eg playing) mouse events / dragging styles Each box is an environment and stores variables. These are used to set display style and to hold sounds, patterns, players, funct ...

  2. UserViewObjectsManager Quark

    ... icon if no copy func keydown action enable/disable x/y dragging other modifiers mouse move action so control drag can be used to change size could do zooming as well but fonts do not scale well */ UserViewObjectsManager { var <>view,<>bound ...

  3. WFSPathGUI Quark

    ... hView.xyView ) .put( \select, { editView.selected = pathView.selected }) .put( \mouse_hit, { editView.apply( true ) }) .put( \edited, { |obj, what ...moreArgs| if( moreArgs.includes( \no_undo ).not ) { editView.object = pathView.object; }; ...

  4. extView Quark

    +SCView { normalizeXY { | x, y | // turn mouse in pixels to [0,1] range var b = this.bounds; x = (x - b.left)/b.width; y = 1 - ( (y - b.top)/b.height); ^[x, y] } } +SCEnvelopeView { addPointAtMouse { | x, y | var xs, ys, i, val; #x, y = thi ...

  5. Bang Quark

    // for those missing the PD GUI !!! Bang { var win, bounds; var mouseTracker, backgrDrawFunc; var background, fillmode, fillcolor; var state; var downAction, upAction; *new { arg w, bounds; ^super.new.initToggle(w, bounds); } initToggle { a ...

  6. KeyboardWindow Quark

    ... s velocity, which is visualized by the color of the key (amount of red). If the mouse is moved out of the key's area while pressed, the note will hold until clicked again. downAction, upAction these variables contain Functions to be execute ...

  7. 9a_ntmi_GUI Quark

    ... GUI, { var myTdef = Tdef(\NTDemo_GUI); var myName = myTdef.key; var playInfluxByMouse; "\n\n*** Tdef('%') starts!\n\n".postf(myName); NTMI.ndefs.do(_.end); NTMI.ndefs.do(_.vol_(0.25)); Butz.closeAll; Butz(\NTMI).run(\Main_NTMI); 0.2.wait; N ...

  8. Crear hints para los knobs Quark

    ... pal window = Window.new("Test Window", Rect(100, 100, 300, 100)) .front .acceptsMouseOver_(true); // Asegurar que la ventana acepta eventos mouseOver // Función para mostrar el tooltip showTooltip = { arg x, y, text; hideTooltipTask.notNil. ...

  9. 1_Interfaces_to_Instruments Quark

    ... ter. Most computer interfaces are bi-directional, but some, such as to a simple mouse or microphone, are uni-directional. */ /* **** INSTRUMENT **** A musical instrument is a device created or adapted for the purpose of making musical sound ...

  10. 063-angents-fm_synth Quark

    //agents. //with mouse controlling world gravity //with sound ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 4, objsFunc, fmbusses, rmbusses, delay, dist, drums; //--synthesis SynthDef(\teknoDrum, {|out= 0, t_trig= 0, fmb ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow