Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (206) Code (18) Doc (41) Help (11) Quark (136) SCDoc ↗ Forum ↗ Google ↗
  1. SCSlider Help

    ... e simplest version will give you a very long float ( w = Window .new.front; c = NumberBox (w, Rect (20, 20, 150, 20)); a = Slider (w, Rect (20, 60, 150, 20)) .action_({ c.value_(a.value) }); a.action.value; ) ( // change the bounds to becom ...

  2. SynthDefAutogui Doc

    ... have been previously added with .add . The GUI provides, for each arg: min/max NumberBoxes — define the mapping range on the fly a Knob — maps the value through a ControlSpec a NumberBox — shows and sets the current value a StaticText — ar ...

  3. Collapse Doc

    ... s:300@300).front.layout_( VLayout( ~slider = Slider(bounds:300@40), ~nowValue = NumberBox(bounds:200@60).value_(0), ~collapsedValue = NumberBox(bounds:200@60).value_(0), nil ) ); ~slider.action = { |v| ~nowValue.value = v.value * 100; ~setV ...

  4. synthDefAutogui Quark

    ... { this.startMonitor } }) .font_(Font(Font.defaultSansFace, fSize)) ; rateBox = NumberBox.new(window, Rect(hMod*3.5+hOff, hMod*5+vOff, hMod*1.25, h)) .value_(1/dur) .action_({|v| dur = 1/v.value ; }) .font_(Font(Font.defaultSansFace, fSize) ...

  5. SensorData Quark

    ... nds.height), 2@2, 2@2); }; labelColor = Color.white.alpha_(0.4); shortStd = GUI.numberBox.new( w, Rect( 10, 10, 40, 30 ) ); longStd = GUI.numberBox.new( w, Rect( 10, 10, 40, 30 ) ); if ( GUI.scheme.id == \swingosc, // why did I put \schwell ...

  6. ProxyPresetGui Quark

    ... ng_("targ").font_(font).align_(\center); flow.nextLine; // lower line setLBox = NumberBox(zone, Rect(0,0, 30, butHeight)) .background_(skin.foreground) .font_(font).align_(\center) .value_(-1).step_(1) .action_({ |box| var val = box.value % ...

  7. EZRanger Doc

    ... Z-GUI EZRanger : EZGui : Object A wrapper class for a label, a rangeslider, and numberboxes Source: EZRangerSC.sc See also: EZGui , StaticText , RangeSlider , NumberBox Description EZRanger is wrapper class which creates an (optional) Stati ...

  8. FoaAudition Quark

    ... } setPalette { var iter; win.view.palette_(palette); this.findKindDo(win.view, NumberBox, { |bx| bx.stringColor_(palette.baseText); bx.normalColor_(palette.baseText); bx.typingColor_(palette.windowText); } ); } // find a widget within a vi ...

  9. Spectrogram Quark

    ... (window, Rect(545, 42, paramW, 16)) .font_(font) .resize_(3) .string_("BusIn"); NumberBox(window, Rect(545, 60, paramW, 16)) .font_(font) .resize_(3) .action_({ arg view; view.value_(view.value.asInteger.clip(0, server.options.numAudioBusCh ...

  10. ProxyPresetGui Quark

    ... sets proxy too. object.morphVal_(1); }; flow.nextLine; // lower line setLBox = NumberBox(zone, Rect(0,0, 30, butHeight)) .background_(skin.foreground) .font_(font).align_(\center) .value_(-1).step_(1) .action_({ |box| var val = box.value % ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow