experiment with level meters
authorEugene Petkevich <nasedil.genio.code@gmail.com>
Tue, 16 Jan 2024 02:44:41 +0000 (03:44 +0100)
committerEugene Petkevich <nasedil.genio.code@gmail.com>
Tue, 16 Jan 2024 02:44:41 +0000 (03:44 +0100)
temp.scd
Ка/Камяц 35.4.7.7 2024-01-14 ⋆ Ўэґаҙю ⋆ livecoding/Ўэґаҙю-setup.scd

index abef113..92b6f47 100644 (file)
--- 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
index 9179f08..4720106 100644 (file)
@@ -25,9 +25,9 @@ ServerTree.removeAll;
 ServerTree.add(~createGroupsBusses);
 
 ~drawWindows = {
-  s.plotTree
+  s.plotTree;
 };
-ServerBoot.removeAll;
+//ServerBoot.removeAll;
 //ServerBoot.add(~drawWindows);
 )