-
... vetica", 9)) .action_({arg slider; vol = slider.value; params[2] = vol; }); GUI.button.new(win, Rect(260, 700, 14, 14)) .states_([["k", Color.black, Color.clear]]) .canFocus_(false) .font_(GUI.font.new("Helvetica", 9)) .action_({arg butt; f ...
-
// W. Snoei 2006 // a button with ++ functionality and rounded border // SCv3.3.1 revision RoundButton : RoundView { // requires a version of SuperCollider where String:prBounds is working (after april 2007?) var <value = 0; var <font, <sta ...
-
... ogrammers can still call or override these as needed. mouseUp (x, y, modifiers, buttonNumber, clickCount, clickPos) Normally not called directly. Used by the primitive. selectedString_ (str) Normally not called directly. Examples ( w = Wind ...
-
XiiRecorder { var <>xiigui; var <>win, params; var numChannels; var recButton; // allowing for outside start of record (Function:record) var inbus, recBussesPop, ampAnalyserSynth; var openInEditor; // makes Function:record result in sound o ...
-
... _from, in: { ~dirt.audioRoutingBusses.wrapAt(~from ? 0).index } ) ) ); // panic button - equivalent of ctrl-. ( ~dirt.soundLibrary.addSynth(\superpanic, (play: { ~dirt.orbits.do(_.freeSynths) })) ); // pitch shifted live audio input ( Synth ...
-
... (bounds.width - (scrollerMargin+6))@18, collapsed[ cat ] ? true ); views[ cat ].button.background = nil; views[ cat ].addFlowLayout( 0@0, 4@4 ); StaticText( views[ cat ], (bounds.width - (18 + scrollerMargin + 6))@18 ) .string_( " " ++ cat. ...
-
... ); StaticText(w, 200@15) .string_("interpolation") .resize_(9) .align_(\right); Button(w, 40@20) .states_([["off"],["on"]]) .value_(interpolate.binaryValue) .resize_(9) .action_({ |butt| interpolate = butt.value.booleanValue; action.value; ...
-
... ); StaticText(w, 200@15) .string_("interpolation") .resize_(9) .align_(\right); Button(w, 40@20) .states_([["off"],["on"]]) .value_(interpolate.binaryValue) .resize_(9) .action_({ |butt| interpolate = butt.value.booleanValue; action.value; ...
-
... nt = 0, <mainLayout, prevClickedSelector, stepsLayout, stepLayouts, <selectors, buttonSteps, <proxySteps, sliders, numberBoxStepCount, popupMode; var <mainLayoutView, prevSlider, <sliderView, <labelView, <sequencerMode, <numberBoxView, unit ...
-
... .gui(20); // "analog" bend: pass in bendFunc directly ( { var bypass = 1 - MouseButton .kr; // press mouse button to bypass Bend ({ |original, argName, ugen| var res = original; argName.postln; if(#[ \freq , \delaytime ].includes(argName)) ...