-
... icker = SCLOrkEmojiMenu.new(SCLOrkEmoji.trie.dictionary, "", true); ~showButton.string = "show"; ~showButton.action = { ~picker.front }; ~hideButton.string = "hide"; ~w.front; )
-
// 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| ...
-
... 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 ...
-
... funcnr.postln; // if(funcnr > 0, { // synthesis = true; // try{pitchSampleField.string_("prey pitch :")}; // }, { // synthesis = false; // try{pitchSampleField.string_("prey sample :")}; // }); // [\synthesis, synthesis].postln; // ateFunc ...
-
... AteFunc_ {arg funcnr=0; if(funcnr > 0, { synthesis = true; try{pitchSampleField.string_("prey pitch :")}; }, { synthesis = false; try{pitchSampleField.string_("prey sample :")}; }); ateFunc = switch (funcnr, 0, { { var selStart, selEnd; // ...
-
// wslib // number testing + String { couldBeNumber { //test if a string could be converted to number using .interpret ^this.every({ |item, i| ((item.isDecDigit) or: (item == $.)) or: ((item == $-) && (i == 0)) }); } couldBeHex { ^this.ever ...