-
... { browseWindow = nil; "sample browser has been closed".postln; }); browseWindow.view.decorator = FlowLayout(browseWindow.view.bounds, 5@5, 5@5); alphabeticalSamples.do({ |key| Button(browseWindow, 100@25) .states_([ [key, Color.black, Color ...
-
... second row: a horintal slider, a vertical slider (style:2) //also a text input view on the second row, any text typed in sends that text back to supercollider a.addControl( \slider ,3,6,1,2); a.addControl( \slider ,3,6,2,2,style:2); a.addC ...
-
HrButton midi aware button widget. Inherits from: Object : SCViewHolder HrButton inherits all the functionality of the standard Button but is midi aware (can do midi learn). Midi Learn: Make sure your midi gear is connected, when the button ...
-
... ,minWidth=150; var new; path = path.asString; path.dump; new=super.new; new.makeView(layout,minWidth,GUI.skin.buttonHeight); new.view.action_({new.doAction}); new.path_(path); ^new } path_ { arg p; subject = p.asString; this.initOneState(Pa ...
-
... annel, <bounds; var <activeKeys, <lastVelo, <notesDict; var <window = nil, <userView = nil; var <>downAction, <>upAction; var <>hold = false; *initClass { blackKeysStructure = [0,1,1,0,1,1,1]; allWindows = []; } *new { |nKeys = 36, startOct ...
-
... Node, skippy, comp; w = Window("Scale Graph", Rect(100, 0, 1300, 800)).front; w.view.background_(Color.black); instNames = VGTuning.mulTrees[scale].branches.keys.asArray.sort; comp = CompositeView(w, Rect(0,0,80,800)) .background_(Color.gre ...
-
// wslib 2007 // Pen-based plot view PlotView : SCUserView { var <value; var <lineColor, <lineWidth = 1; var <dotColor, <dotSize = 0; var <fillColor, <fill = false; var <border = 1, <borderColor; var <minVal = 0, <maxVal = 1; var orientatio ...
-
... Pwhite(-1,1), ).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.s ...
-
... \toggle, style:( row:4.5+i, column:18+j, height:0.75 ) ) ) } ) ) } ), // detail view, rec/quantization, midi overdub, metronome ( elements: (62..65).collect{ |num, i| MKtlDesc.notePair( key:['view', 'r_quant', 'ovDub', 'metron'][i], midiNum ...
-
... EDITOR ///////////////////////////////////////////////////////////////// WFSRectView : WFSBasicEditView { defaultObject { ^Rect.aboutPoint( 0@0, 5, 5 ) } mouseEditSelected { |newPoint, mod| var pt; // returns true if changed if( mod.isKindO ...