-
... ither as a path or as a string. a Document in sc can only exist if the document window is open, so this container allows it to be evaluated even from disk or if being edited by another app */ var >path, >content; var document; *new { arg pa ...
-
... },{ if(matches.size == 1,{ matches.first.openCodeFile; if(close ? true,{layout.window.close; }); },{ matches.sortMap({|c| c.name }).do { arg class; var b; layout.startRow; b = ActionButton(layout,class.name.asString,{ class.openCodeFile; i ...
-
... r numChan= 4; var chanHeight= height/numChan; var win, usr, frameCount= 0; win= Window("gui example userview", Rect(100, 100, width, height)).front; usr= UserView(win, Rect(0, 0, width, height)); usr.background= Color.black; usr.clearOnRefr ...
-
... cursorLag= 0.2; cursorPosition= cursorPosition ?? {Point(0, 0)}; screenBounds= Window.screenBounds; SkipJack({ var cp= QtGUI.cursorPosition; cursorPosition= cursorPosition+(cp-cursorPosition/(cursorLag+1)); }, updateRate, false, \PMouse, A ...
-
... *n*x processes Quick intro to the main functions (run each line, watch the post window, wait for a bit): "sleep 3" .unixCmd "sleep 3" .unixCmdInferPID({ |pid| ( "The PID is" + pid).postln}) "sleep 3" .unixCmdThen({ |pid| ( "The PID was" + p ...
-
... tmi') /// reboot interpreter .... /// if the server boots and you get a big GUI window that says NTMI: // DONE! //
-
... String); dv.string = "% sec".format(currentBuffer.duration.round(0.01)); }; w = Window("dirt sample browser"); w.layout = VLayout(); w.front; w.view.keyDownAction = { |doc, char, mod, unicode, keycode, key| var i; switch(keycode, 126, { p.v ...
-
... 863, 0.3843137254902, 1)]; name = "- eq meter -"; point = if(setting.isNil, {XiiWindowLocation.new(name)}, {setting[1]}); xiigui = nil; // not using window server class here params = if(setting.isNil, {[4,0,0,1,0,0,0]}, {setting[2]}); inbus ...
-
... n editor for trajectories, can be called up via the [edit] button in the UChain window. This umap is intended for use on units with PointSpec or WFSPointSpec based args. trajectory: a WFSPathBuffer object. This object creates and points to ...
-
... asString ++ "," ++ (targetFreeIn[1] + 1).asString; }); }); }); }); }); //create window win = Window("Comma separated \"in,out\" pairs:", Rect(400, 400, 300, 50)); field = TextField(win, Rect(10, 20, 280, 20)).string_(preBakedStr) .action_ ( ...