Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. timeline-overview Quark

    ... cmd there is now a user signal defer(e { ~window = GUI .window.new( "signal" , Rect (10, 300, 100, 50)); GUI .button.new(~window, Rect (5, 5, 90, 30)) .font_( GUI .font.new( "Helvetica" , 20)) .states_(#[[ "stop" ]]) .action_(e { ~done.val ...

  2. PageLayout Doc

    ... self or a new FlowView . bounds inner bounds of the top level view. Returns: a Rect . asPageLayout ( name , bounds ) Similar to asFlowView, this message converts nil and various other objects to a PageLayout. This is already a PageLayout, ...

  3. KeyCodeResponder Doc

    ... 123 , { "command <-".postln; }); w = GUI.window.new.front; v = GUI.slider.new(w,Rect(10,10,100,100)); v.keyDownAction = k; v.focus; ) ⧉ ✔ Any player's gui can have its keyDownAction set ( p = Patch({ arg freq=440; SinOsc.ar(freq,mul: 0.1) } ...

  4. GrainExplorer Quark

    ... ing )); defFile.close; filePath.postln; } edit {|elHeight = 20| this.makeWindow(Rect(0, 0, 620, Window.screenBounds.height - 20), elHeight) } makeWindow {|bounds, elHeight = 20| var playButton, saveButton, codeView; var pad = 10; var width; ...

  5. WFSSpeakerConfEditor Quark

    ... }; if( parent.class == String ) { parent = Window( parent, bounds = bounds ?? { Rect(128 rrand: 256, 64 rrand: 128, 342, 400) }, scroll: false ).front; }; this.makeViews( bounds ); } speakerConf_ { |newSpeakerConf| controller.remove; speake ...

  6. Wavetable Builder with GUI by txmod (txmod) Code

    ... uiData.window.isNil, { guiData.window = Window( "Wavetable Builder", Rect(0, 0, d.windowWidth, d.windowHeight) ).front; w = guiData.window; w.view.resize_(5); w.view.background_(d.colWindow); w.alwaysOnTop = d.alw ...

  7. MultiSplineGui Quark

    ... l.spline.points.last[0]}; splineGui = this.make2DSpline(focusedDim).gui(layout, Rect(0, 0, layout.bounds.width, 150), model.spec, ControlSpec(0, maxTime)); splineGui.onSelect = { arg i; pointSelector.activeValue = if(i.isNil, {-1}, {i}); }; ...

  8. CtkPMod Quark

    ... unds; var id, ins, slots; spec = [-120, 12, \db].asSpec; bounds = argBounds ?? {Rect(400, Window.screenBounds.height - 120, 1200, 60)}; parent.notNil.if({ win = parent; width = parent.bounds.width; dec = parent.view.decorator; }, { width = ...

  9. Generating Graphics and Music From The Dragon Curve by 56228375 (56228375) Code

    ... nterpreted graphically ( var win = Window("Example Graphical LSystem", bounds:Rect(0,0,1000,700)); var view = UserView(win, win.view.bounds.insetBy(50,50)); var lsys = LSystem( iterations:12, axiom:"FX", constants:Set[], ...

  10. MenuAction Doc

    ... ; Pen.fill; }); ~stopIcon = Image(40).draw({ Pen.fillColor = Color.red; Pen.fillRect(Rect(10, 10, 20, 20)); }); ~startAction = MenuAction("start") .action_({ ~playSynth.() }) .icon_(~startIcon) .toolTip_("Start playing synth.") .shortcut_(" ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow