-
UdefsGUI { classvar <>current; var <view, <composites, <udefView, <umapDefView1, <umapDefView2; *new { |parent, bounds, makeCurrent = true| if( parent.isNil && { current.notNil && { current.view.isClosed.not } } ) { ^current.front; } { ^sup ...
-
UdefsGUI { classvar <>current; var <view, <composites, <udefView, <umapDefView1, <umapDefView2; *new { |parent, bounds, makeCurrent = true| if( parent.isNil && { current.notNil && { current.view.isClosed.not } } ) { ^current.front; } { ^sup ...
-
... ; UMIDIDict.addDependant( this.class ); UMIDIDict.start( false ); ^learnFunc; } viewNumLines { ^2 } *formatDeviceString { |inString| case { inString.size == 0 } { ^"*/*"; } { inString.find( "/" ).isNil } { ^inString ++ "/*"; } { inString == ...
-
The Scale Listener is a simple GUI that previews every scale provided in SC, except Ascending/Descending ones. Can also serve as a template for a graphical scale selector, or for didactic purposes. ( // Not refenrencing Ascending/descend ...
-
SimpleLabel : SCViewHolder { *new { arg layout,string,bounds,font; var new; new = this.prNew(layout,string,bounds,font); new.background_(Color(0.9843, 0.9843, 0.9843, 1.0)) .align_(\left); ^new } *prNew { arg layout,string,bounds,font; var ...
-
... times, env.curves].flop.flop[1]; value = env; this.changed(\synch, this); } evToView { | view | var t, l, c, env; env = value; t = env.times.asFloat.addFirst(0).integrate; // convert deltas to absolute times t = t/duration; // rescale to [0 ...
-
... p; if(port.notNil, { port.close; }); }; }).play(AppClock); buttons[0].action= {|view| if(view.value==1, { sendOsc.value([]); }); }; buttons[1].action= {|view| if(view.value==1, { sendOsc.value([]); }); }; [$,, $m, $n, $b, $v, $c, $x, $z].do ...
-
... eight));\ \ w.onClose = \ sync.stop; chat.stop; if(log) \ file.close \; \;\ \ w.view.decorator = FlowLayout (w.view.bounds);\ w.view.background = Color .grey(0.8);\ \ w.view.decorator.shift(10, 0);\ \ SCButton (w, Rect (0,0, 60, 35)).states ...
-
... //abstract class classvar currentPalette, <>font, <>themes, <currentTheme; var <view, >action; *initClass { themes= ( dark: QPalette.dark.highlight_(Color.green(1, 0.75)), light: QPalette.light.highlight_(Color.green(0.5, 0.5)), default: QP ...
-
... se SwingOSC for proper umlauts in visualization ( var win, extX, extY, winRect, view, fontName, strings, numbers, countSpec, sizeSpec, alphaSpec, colorSpec, sFactor = 0.25; #numbers, strings = (d.flop); strings = strings.collect{|str| var y ...