-
... eNumber -> NSNumber. SequenceableCollection -> NSArray with each item converted String -> NSString Symbol -> NSString Char -> NSString Nil -> NSNull Boolean ->NSNumber (numberWithBool:) equivalent to a CFBoolean Dictionary ->NSDictionary (e ...
-
... Slider = Slider(window, Rect(width: 190, height: 20) ).background_(Color.fromHexString("#A0A0A0")); spec = ControlSpec(0.ampdb, 2.ampdb, \db, units: " dB"); volSlider.value = spec.unmap(0); volSlider.canFocus = false; volSlider.action = { a ...
-
... t.add(nil); layout.add(VLayout(indicator)); layout.add(VLayout(StaticText().string_("0.0dB"), nil, StaticText().string_((maxReduc/2.0).asString ++ "dB"), nil, StaticText().string_((1.0*maxReduc).asString ++ "dB") )); layout.add(nil) ...
-
... c OSC types, so integers, floats and symbols. (SC's OSC implementation converts Strings to Symbols.) It functions similarly to a IdentityDictionary in its basic operation (i.e. you can use at and put). Class Methods . new Create a new OSCDa ...
-
... lue(item.key,modifier,buttonNum); // do function at key }; (item.value.isKindOf(String) || item.value.isKindOf(Symbol)).if{ (item.value!="-").if{// do defaultFunction at key with arg l.value defaultAction.notNil.if{ defaultAction.value(item ...
-
... 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 ...
-
... ~env_editor.new(self).make_window; }, label: \bla ); ~env_to_string = { arg env; var prec = 5; "Env(%, %, %)".format( env.levels.collect({ arg x; x.asFloat.asStringPrec(prec)}), env.times.collect({arg x; x.a ...