-
... params[1] = slValues; slIndex = xb.index; volMsl.index = xb.index; freqTextView.string_(soundFuncArray[xb.index].freq.round(0.01).asString); soundFuncPop.value_( soundFuncArray[slIndex].playFunc ); bufferPop.value_( soundFuncArray[slIndex]. ...
-
... erClass, slider2DClass; var tmpWin; background ?? { background = Color.white }; stringColor ?? { stringColor = Color.black }; synchKeys ?? { synchKeys = [\default] }; setupArgs !? { (setupArgs.class !== Event).if{ Error( "a setup for a CVWi ...
-
+ String { cleanAlphaNum { var cleanName = this.collect { |char| if (char.isAlphaNum, char, $_) }; ^cleanName; } }
-
... , $# : #[941, 1477], $D : #[941, 1633] ) } *new {|char| ^dict[char] ? [0, 0] } *string {|str| ^Array.fill(str.size, {|i| this.new(str[i])}) } *ar {|char, mul= 1| ^Mix(FSinOsc.ar(this.new(char), 0, mul*0.5)) } *kr {|char, mul= 1| ^Mix(FSinOs ...
-
... r, labelWidth @ viewHeight ) .applySkin( RoundView.skin ) //.font_( boldFont ) .string_( unit.unitArgName.asString ) .align_( \right ); StaticText( header, Rect( labelWidth + 4, 0, (bounds.width - labelWidth), viewHeight ) ) .applySkin( Rou ...
-
... llengeAuth'| ^super.newCopyArgs(challenge, oscPath).init; } init { // OSC sends Strings as Symbols, which is a minor pain, so convert Strings to Arrays of ASCII here if(challenge.isKindOf(String), { challenge = challenge.ascii }); challInds ...
-
... lse and file exists // - closes the file afterwards // - function can also be a string arg pathName, function, overwrite = false, ask = true, mode = "w", doneAction; var theFile; var renameFunc, writeFunc, newNameFunc, savePanelFunc; pathNa ...
-
// wslib 2005 / 2007 // utils for name conversion + String { capsToSpaces { arg space = " ", toLower = true; // convert "BlahBlah" to "blah blah" // or "blah_blah" when 'space' is set to "_" // or "Blah Blah" when 'toLower' is false var new ...
-
... 4 ); StaticText( views[ cat ], (bounds.width - (18 + scrollerMargin + 6))@18 ) .string_( " " ++ cat.asString ) .applySkin( RoundView.skin ? () ); udefs.do({ |udef| var hasFile = false, wd = 36; if( GUI.id == \qt ) { wd = 44 }; if( udef.isKi ...
-
... umbSize_(2) .value_(array) .step_(step) .action_({ |a| array = a.value; display.string_( super.map(ms.currentvalue).asString ); action.value; }); StaticText(w, 30@15) .string_("size") .resize_(7) .align_(\right); NumberBox(w, 40@15) .value_ ...