-
// part of wslib 2005 // // conversion String <-> SequenceableCollection + SequenceableCollection { toString { ^this.collect(_ ? " ").join } asAscii { ^this.collect({|x| {x.asInteger.asAscii}.try ? "" }).join } asDigit { ^this.collect({|x| ...
-
... b = WsSimpleButton.new(a, Rect(0.5, 0, 0.2, 0.05)); //button with one "state" b.string_("string"); b.font_(Font.new(\Georgia).size_(24)); b.background_(Color.green); b.stringColor_(Color.red); b.action_({"bu1".postln}); //just a function b. ...
-
... ], sliders = Dictionary.new; var layout = HLayout([ left = VLayout(StaticText().string_("List of Windows").maxHeight_(50).align_(\topLeft)), stretch: 1 ], [ VLayout( mid = CompositeView(), StaticText().string_("Time Domain").maxHeight_(50). ...
-
... dy Shane. SynthDef(\guitar2, { arg freq, amp, pan = 0; var out, pluck, period, string; freq = freq * [0.99,1,2,0.98]; pluck = PinkNoise.ar(Decay.kr(Line.kr(1, 0, 0.05), 0.05)); period = freq.reciprocal; string = CombL.ar(pluck, period, ...
-
... = 123; x.postln; this.clearAll; x.postln; ⧉ ✔ Compile & Interpret . interpret ( string ... args ) Compile and execute a String . this.interpret("(123 + 4000).postln"); ⧉ ✔ . interpretPrint ( string ... args ) Compile and execute a String , ...
-
... idBox.value+1; } .resize_(3); GUI.staticText.new(window, Rect(400, 30, 10, 20)).string_("id").resize_(3); idBox = GUI.numberBox.new(window, Rect(415, 30, 60, 20)).value_(100).resize_(3); GUI.staticText.new(window, Rect(400, 50, 10, 20)).str ...
-
... Rohrhuber, 2007 Modified by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef(\strings, { arg //Standard Definitions out = 0, freq = 440, amp = 1, gate = 1, pan = 0, freqLag = 0.2, att = 0.001, dec = 0.1, sus = 0.75, rel = 0.3, //Other Con ...
-
+ String { asTimeline { arg clock, options; ^Timeline.newFromPath(this, clock, options); } } + Array { asTimeline { arg clock, options; ^Timeline.newFromArray(this, clock, options); } } + Object { asTimeline { "----------------------------- ...
-
... |nr| "http://static1.grsites.com/archive/textures/blue/blue%.jpg" .format( nr.asStringToBase( 10 , 3 ) ); }); w = Window ( "pictures" , Rect ( 200 , 200 , 316 , 210 ) ).front.decorate; 7 .do({ |i| i = i* 3 ; RoundSlider ( w, 40 @ 200 ) .kno ...
-
... Map }; ^fileClassMap[file.asSymbol] ?? [] } *docsForFile { |file| file = file.asString; ^SCDoc.documents.values.select { |doc| doc.fullPath == file } } *selectorsForFile { |file| var classSelectorsList = IdentitySet(); var methodSelectorsLi ...