Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2444) Code (153) Doc (746) Help (140) Quark (1399) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. SynthDefGraph Quark

    ... ,uv,pen; var font,black,h,w; *new { arg def,parent,bounds; ^super.new.def_(def).gui(parent,bounds) } gui { arg parent,bounds; if(parent.notNil,{ parent = parent.asFlowView(bounds); uv = UserView(parent,bounds ?? {parent.indentedRemaining}); ...

  2. osc_patternmatch Quark

    ... ; MKtlDevice.allAvailable // now also shows the opened 'osc device' // create a gui for the osc device: m.gui; // post incoming data m.trace; n = NetAddr.new( "127.0.0.1", NetAddr.langPort ); // send messages: n.sendMsg( "/button/off" ); n. ...

  3. runner Quark

    ... ns that the graph sequence is finished. No loop {this.removeActant(more[4]) } } gui { arg step = 35, controlNum ; RunnerGUI.new(this, step, controlNum: controlNum).connectAllActants } clock { arg x = 0, y = 120 ; GeoClock.new(this, x, y) } ...

  4. akai-mpkmini2.desc Quark

    // contributed by gil fuser /* * todo: * test on osx * add gui layout MKtl(\x, "*mpk*2").gui; MKtl(\x).trace; */ ( deviceName: "MPKmini2", protocol: 'midi', deviceType: 'midiKeyboard', elementTypes: [\knob, \key, \pad, \bend], status: ( lin ...

  5. MxTimeGui Quark

    MxTimeGui : ObjectGui { var <from, <to, <maxTime, zoomCalc, playZoomCalc; var xScale; var <>laneHeight=150; var zoom, timeRuler, updater, units; guiBody { arg parent; var i = 0, width, focusColor, kdr, makeSidebar; var sidebarSize = 100, bu ...

  6. UDragSource Quark

    ... var <>beginDragAction; *initClass { Platform.case( \osx, { StartUp.defer({ if( GUI.id == \cocoa ) { SynthDef( "UDragSource_mouseState", { var state = MouseButton.kr( 0, 1, 0 ); FreeSelf.kr( HPZ1.kr( state ) < 0 ); }).writeOnce }; }) } ); } ...

  7. degreeStream Quark

    ... ( \degree , x.trace, \octave , 0, \dur ,0.25 ).play; ) By using a Patch you get gui sliders to try out different settings. You should examine the source code at the same time. ( Sheet ({ arg f; Instr .leaves( 'degreeStream' ).do({ |instr| A ...

  8. TestFlowView Quark

    ... ; a = FlowView(w,Rect(0,0,200,200)); b = FlowView(b,Rect(0,0,200,200)); "hello".gui(b); b.background = Color.blue; a.background = Color.white; // the blue view disappears b.remove(true); // now reflow b.decorator.reflow; // bounds checking ...

  9. ScatterView Quark

    ... parent, bounds, data, specX, specY) returns a new ScatterView parent the Parent GUI element bounds the bounds (a Rect) data the data; format: [[aX, aY],[bX, bY],[cX, cY],[dx, dy], ... ] specX the ControlSpec indicating the Specification of ...

  10. 01_open_editor Quark

    ... ncher.scd. Everything the launcher did // by hand — server options, load order, GUI start — is now in the Dorota // class, so this file is just a demonstration. /////////////////////////////////////////////////////////////////////////////// ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow