Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (229) Code (26) Doc (44) Help (34) Quark (125) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

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

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

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

  6. 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); ...

  7. SCLOrkSynths Quark

    ... ight: windowHeight ), resizable: false ); window.front; window.view.decorator = FlowLayout.new( bounds: window.view.bounds, margin: Point.new(margin, margin), gap: Point.new(gap, gap) ); // header is just the area where drop down menu sits ...

  8. XiiEffectGUI Quark

    ... , 310, (param[0].size * 20) + 50), resizable:false); win.view.decorator = lay = FlowLayout(win.view.bounds, 5@5, 5@5); GUI.staticText.new(win, 12 @ 15).font_(GUI.font.new("Helvetica", 9)) .string_("in").align_(\right); inbuspop = GUI.popUpM ...

  9. XiiClassExtensions Quark

    ... 1, -4); a = SCWindow("envelope", Rect(200 , 450, 250, 100)); a.view.decorator = FlowLayout(a.view.bounds); b = SCEnvelopeView(a, Rect(0, 0, 230, 80)) .drawLines_(true) .selectionColor_(Color.red) .drawRects_(true) .resize_(5) .action_({arg ...

  10. minbox Quark

    /* ( w = Window.new("test", Rect(0,0, 800, 600)).front; w.view.decorator = FlowLayout.new(w.view.bounds); b = { var spec = Spec.specs.select({|x| x.isKindOf(ControlSpec)}).keys.choose; MinBox.new(w, (0@0)@([rrand(20,100)@rrand(20,100)].choo ...

prev 11 12 13 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow