From: Eugene Petkevich Date: Tue, 16 Jan 2024 02:44:41 +0000 (+0100) Subject: experiment with level meters X-Git-Url: https://git.zuelum.org/?a=commitdiff_plain;h=c8e42201518f5544a02f8c6895287b351c4d6760;p=scprojects.git experiment with level meters --- diff --git a/temp.scd b/temp.scd index abef113..92b6f47 100644 --- a/temp.scd +++ b/temp.scd @@ -317,4 +317,17 @@ CmdPeriod.run; // or hit the Stop key command, Cmd-., or ctrl-. History.end; // Replays history, including a CmdPeriod, and keeps replaying history. -History.play; \ No newline at end of file +History.play; + +// gui stuff + +( +Window.closeAll; +w = Window.new("Server Levels"); +~l = ServerMeterView.new(s, w, 0@0, 17, 20); +w.width = ~l.width; +(0..13).do{|i| + ~l.view.children[0].children[i].visible = false; +}; +w.front; // show the window +) \ No newline at end of file diff --git "a/\320\232\320\260/\320\232\320\260\320\274\321\217\321\206 35.4.7.7 2024-01-14 \342\213\206 \320\216\321\215\322\221\320\260\322\231\321\216 \342\213\206 livecoding/\320\216\321\215\322\221\320\260\322\231\321\216-setup.scd" "b/\320\232\320\260/\320\232\320\260\320\274\321\217\321\206 35.4.7.7 2024-01-14 \342\213\206 \320\216\321\215\322\221\320\260\322\231\321\216 \342\213\206 livecoding/\320\216\321\215\322\221\320\260\322\231\321\216-setup.scd" index 9179f08..4720106 100644 --- "a/\320\232\320\260/\320\232\320\260\320\274\321\217\321\206 35.4.7.7 2024-01-14 \342\213\206 \320\216\321\215\322\221\320\260\322\231\321\216 \342\213\206 livecoding/\320\216\321\215\322\221\320\260\322\231\321\216-setup.scd" +++ "b/\320\232\320\260/\320\232\320\260\320\274\321\217\321\206 35.4.7.7 2024-01-14 \342\213\206 \320\216\321\215\322\221\320\260\322\231\321\216 \342\213\206 livecoding/\320\216\321\215\322\221\320\260\322\231\321\216-setup.scd" @@ -25,9 +25,9 @@ ServerTree.removeAll; ServerTree.add(~createGroupsBusses); ~drawWindows = { - s.plotTree + s.plotTree; }; -ServerBoot.removeAll; +//ServerBoot.removeAll; //ServerBoot.add(~drawWindows); )