Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (229) Code (26) Doc (44) Help (34) Quark (125) SCDoc ↗ Forum ↗ Google ↗
  1. ObjectGui Doc

    ... n be updated later. Arguments: layout Usually a FlowView : a parent view with a FlowLayout to add views to. bounds nil or a Rect. ... args More args may be passed here. Returns: this . update ( theChanged , theChanger ) From superclass: Obj ...

  2. Granular Sampling GUI Demo 1 by bruno (Bruno Ruviaro) Code

    ... (20, 225, 560, 360)) // .background_(Color.red(0.4)) ; subwin.decorator = FlowLayout(subwin.bounds, margin: 0@0, gap: 5@10); centerPosSlider = RangeSlider(subwin, 560@50) .lo_(0.1) .hi_(0.3) .action_({ |v| var lo, hi, siz ...

  3. Stethoscope Doc

    ... it: w = Window.new("my own scope", Rect(20, 20, 400, 500)); w.view.decorator = FlowLayout(w.view.bounds); c = Stethoscope.new(s, view: w.view); w.onClose = { c.free }; // don't forget this w.front; ⧉ ✔ helpfile source: /usr/local/share/Sup ...

  4. VGScaleRetune Quark

    ... compSCT = CompositeView(w, Rect(0 ,0, compSCTWidth, 300)); compSCT.decorator = FlowLayout(compSCT.bounds); // get RefFreqs and convert them refKey = VGScale.refNoteKey; refKeyFreq = [refKey, VGScale.refScales[laras][refKey]]; scaleKeys = V ...

  5. zkarpluck1P Quark

    ... .play; ) w=Window.new("sheefa", Rect(30, 30, 400, 200)).front; w.view.decorator=FlowLayout(w.view.bounds); w.view.decorator.gap=8@2; g = EZSlider(w, 380@20, "pitch ", ControlSpec(40, 110, \lin, 1, 60)); g.action_({ |ez| ( a.set(\note, [ ez. ...

  6. CVWidgetSpecsEditor Quark

    ... ).div(2), 745, lines * 25 + 65 ), scroll: true); window.view.decorator = flow = FlowLayout(window.bounds.insetBy(5)); flow.margin_(4@0); flow.gap_(2@2); flow.shift(0, 0); StaticText(window, cNameRect) .font_(staticTextFont) .string_(" argna ...

  7. PG_06f_Server_Control Doc

    ... window = Window.new("mixers", Rect(10, 100, 320, 60)); ~window.view.decorator = FlowLayout(~window.view.bounds, 2@2); EZSlider(~window, 310@20, "low part", \amp, { |ez| ~vbus1.set(ez.value) }, 0.5); ~window.view.decorator.nextLine; EZSlider ...

  8. PopUpTreeMenu Quark

    ... d bug in bounds getter //rewrote positioning. should now work inside views with flowlayout decorators, tabbedview etc //this also fixed the swingosc offset issues //--080825 //initial release PopUpTreeMenu : SCViewHolder { var <>tree, <valu ...

  9. rewriteString Quark

    ... =0; w = SCWindow ( "test" , Rect (40, 240, 200, 200)).front; w.view.decorator = FlowLayout (w.bounds.copy.left_(30).top_(30)); b = { |i| { |j| var c = ({ "abcd" .choose } ! 3).join; SCButton (w, Rect (0,0, 30,25)) .states_([[c, Color .black ...

  10. PitchCircle Quark

    ... ow can be passed in, default is a new window. PitchCircle expects win to have a FlowLayout decorator for positioning. num - an Integer. Default is 1; the number of PitchCircles in the default window. // example p = PitchCircle .new(num: 2); ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow