Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (84) Code (9) Doc (35) Help (10) Quark (30) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

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

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

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

  6. XiiSoundFileView Quark

    ... vol]); }); }); this.startTimeCursor; }); }); soundfile.close; zoomSlider = GUI.slider2D.new(win, Rect(60, 195, 176, 40 )) // scroll w/zoom x - felix! .canFocus_(false) .action_({|sl| var y; sndfileview.zoomToFrac(y = sl.y * 0.95 + 0.05); s ...

  7. mobile-objects Quark

    ... ght + ~gap.x, out[17].bounds.bottom + ~gap.y, ~xyExtent.x, ~xyExtent.y), class: Slider2D, init: inEnvir { |view| view.background_(~yellowFor2D).knobColor_(~yellow) }, updater: { |view, x, y| view.setXY(x, 1.0 - y) } )); out }.value, "Tab2", ...

  8. grids_poc Quark

    ... ("SC grids", Rect(100, 100, 400, 580)); ["hh", "sd", "k"].do({|instrument, num| Slider2D(w, Rect(20, 20 + (180*num), 150, 150)) .x_(0.5) .y_(0.5) .action_({|sl| q[\pattern]["%X".format(instrument).asSymbol] = sl.x; q[\pattern]["%Y".format(i ...

  9. CVWidget Quark

    ... heChanger.value[0], { // connect sliders switch(this.class, CVWidget2D, { [this.slider2d, this.rangeSlider].do({ |view| sliderConnection ?? { sliderConnection = () }; switch (view.class, Slider2D, { sliderConnection.put(\td, [widgetCV.lo, w ...

  10. AssemblageGUI Quark

    ... .maxWidth_(10) ); }); hlay = HLayout(sliderText, levelText); //panning knob(s)/slider2D(s) panKey = ("space" ++ mixTrackNames[index].asString.capitalise).asSymbol; panKeyValues = Ndef(panKey).getKeysValues.reject({|item| item.asString.cont ...

prev 1 2 3

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow