Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (84) Code (9) Doc (35) Help (10) Quark (30) SCDoc ↗ Forum ↗ Google ↗
  1. satie Quark

    ... .string_(("%/%%".format("azi".asSymbol, "ele".asSymbol, i).asSymbol)); orient = Slider2D.new(container, Rect(0, 0, 100, 100)); orient.action_({|sl| ~satie.groupInstances[\default][nodeName.asSymbol].set(\aziDeg, aziSpec.map(sl.x), \eleDeg, ...

  2. InfluxKtlLoop Quark

    ... 2, Rect(200, 0, 160, 20)) .align_(\center).string_("Change inputs:"); q.sl2d1 = Slider2D(q.comp2, Rect(200, 30, 170, 170)).x_(0.5).y_(0.5) .background_( Color.new255(200, 100, 0) ) .action_({|sl| // recording into KtlLoop here k.recordEvent ...

  3. SampleGui Quark

    ... lors = Array.fill(model.numChannels,model.spec.color); layout.startRow; d = GUI.slider2D.new(layout, size@30) .action_({|sl| var y; v.zoomToFrac(y = sl.y * 0.9 + 0.1); v.scrollTo(sl.x); //d.thumbSize = size * y; }); layout.startRow; CXLabel ...

  4. SampleGui Quark

    ... ors = Array.fill(model.numChannels, model.spec.color); layout.startRow; d = GUI.slider2D.new(layout, size@30) .action_({|sl| var y; v.zoomToFrac(y = sl.y * 0.9 + 0.1); v.scrollTo(sl.x); //d.thumbSize = size * y; }); layout.startRow; CXLabel ...

  5. GUIEvent Quark

    ... rect| rect = rect ?? ~tdsliderRect; cv.asArray.do({ | cv | CVSyncProperties(cv, Slider2D(win,rect), #[x, y]) }); }, popup: { |win, name, cv, rect | rect = rect ?? ~popupRect; cv.asArray.do({ | cv | SVSync(cv, PopUpMenu(win,rect)) }); }, lis ...

  6. DimpleGUI Quark

    ... ; positionLayout = HLayoutView(parent, Rect(0,0,sliderHeight+40,sliderHeight)); Slider2D(positionLayout, Rect(0,0,sliderHeight,sliderHeight)) .x_(initialX.linlin(min,max,0,1)) .y_(initialY.linlin(min,max,0,1)) .action_{ |slider| xNumberBox. ...

  7. Knob Doc

    ... A rotary controller view Source: QKnob.sc Subclasses: QKnob See also: Slider , Slider2D Description Knob displays a value from 0.0 to 1.0 in rotary fashion, and allows to control it with either circular or linear mouse motion. It also disp ...

  8. SCWindow Help

    ... w = Window (scroll: true ); // you must set this when the window is created c = Slider2D (w, Rect (0, 0, 1500, 300)); d = Slider (w, Rect (0, 310, 20, 300)); c.background = Color .grey.alpha = 0.6; d.background = Color .grey.alpha = 0.6; w. ...

  9. Neuromodule Doc

    ... ex] = val * 2 - 1; module.theta.postln; }; w.layout = h; w.front; h.add( twod = Slider2D().action_({ |v| xsl.do { |i| update.(i, v.x) }; ysl.do { |i| update.(i, v.y) }; }); ); sliders = module.theta.collect { |x, i| var sl = Slider(); sl.ac ...

  10. MixerSkin Quark

    ... PanWidget : MixerWidgetBase { var yspec; makeView { |layout, bounds| view = GUI.slider2D.new(layout, bounds); spec = try { mixer.controls[\xpos].spec } ?? { \bipolar.asSpec }; yspec = try { mixer.controls[\ypos].spec } ?? { \bipolar.asSpec ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow