From 9e5ce22ef540a294f93ed20f40c8c74b07cd5201 Mon Sep 17 00:00:00 2001 From: Kenneth Flak Date: Sun, 5 Sep 2021 07:53:55 +0300 Subject: [PATCH] added solo method to DMX --- DMX.sc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/DMX.sc b/DMX.sc index 9a909db..5270997 100644 --- a/DMX.sc +++ b/DMX.sc @@ -83,6 +83,12 @@ DMX{ }); Tdef( \dmxfade ).play; } + + solo { arg channel=0, level=0.8, fadeTime=0.1; + var cue = DMXCue.new; + cue[channel] = level; + this.fade(cue, fadeTime); + } } DMXMap{ @@ -177,4 +183,4 @@ DMXSubCue{ at{ |id| ^data.at( id ); } -} \ No newline at end of file +}