-
... MANAGEMENT */ loadPreset { var defaultEvents = JSONlib.convertToSC(File.readAllString((presetPath ++ presetFile).resolveRelative, "r")); defaultEvents.do({ arg defaultEvent, index; defaultParentEvent.keysValuesDo({|key, val| if (defaultEve ...
-
SCLOrkEmojiMenu : Menu { var trieNode; var searchString; var isPopulated; var pickerCallback; *newRoot { |pickerCallback| SCLOrkEmoji.load; ^SCLOrkEmojiMenu.new(SCLOrkEmoji.trie.dictionary, "", pickerCallback, true); } // For the root menu ...
-
... var timeInSeconds = 0; var mm = 0, ss = 0, updateMinSec, to_seconds; var formatString; var font, t; var blinkFunction, blinkTimer, blinkDuration = 5; var <>blinkList; var blinkEndAction; *new { arg list; ^super.new.init(list); } init { arg ...
-
... clockBut, fontt; fontt = Font("Monaco", 66); sliders = { |i| [ // StaticText(p).string_(q.ndefs[i].key) // .maxHeight_(50).font_(Font("Monaco", 40)), // EZPopUpMenu(p, 200@50, "*", q.allSoundNames, {|mo| mo.postln}, i), PopUpMenu(p, Rect(0, ...
-
// updated curl method stack based on wslib String:curl // if you have wslib installed: check whether this functionality is already implemented there, if not, replace the file extString-curl.sc with this one. // if you don't have wslib inst ...
-
... { if( hasParent ) { labelView = StaticText( view, bounds.width @ labelHeight ) .string_( label ); bounds.height = bounds.height - ( labelHeight + gap.y ); } { view.parent.findWindow.name = label; }; }; RoundView.pushSkin( UChainGUI.skin ); ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\strings, { arg out, freq=440, amp=0.8, gate=1, pan, freqLag=0.2; var env, in, delay, f1, f2; f1 = freq.lag(freqLag); f2 = freq.lag(freqLag * 0.5); delay = 0.25 / f2; env = Env.asr(0, 1, ...
-
... prefix("m"), meters| var phrases = [[prefix], (0 .. n-1)].flop.collect(_.join), strings, stepForward, doc, pos, method; meters = meters.asArray; strings = phrases.collect { |phrase, i| "/%.% = %\"\";".format(key, phrase, meters.wrapAt(i) ?? ...
-
... `new Buffer(number)`, replace it with `Buffer.alloc(number)`. - For `new Buffer(string)` (or `new Buffer(string, encoding)`), replace it with `Buffer.from(string)` (or `Buffer.from(string, encoding)`). - For all other combinations of argume ...
-
... revision RoundButton : RoundView { // requires a version of SuperCollider where String:prBounds is working (after april 2007?) var <value = 0; var <font, <states; var <pressed = false, <>changeStateWhenPressed = true; var <radius, <border = ...