Quantcast
Channel: KVR Audio
Viewing all articles
Browse latest Browse all 6721

Controller Scripting • Send Color?

$
0
0
Some strange thing with sends not sending out a color if there isn't one assigned. I'm not sure why this is... Is something like this the way?

Code:

          final SettableColorValue sendColorValue = parameter.sendChannelColor();          sendColorValue.markInterested();          Supplier<Color> supplier = () -> {            if (sendColorValue.get().toHex().equals(Color.nullColor().toHex())) {              if (parentTrackColor.get().toHex().equals(Color.nullColor().toHex())) {                return Color.whiteColor();              } else {                return parentTrackColor.get();              }            } else {              return sendColorValue.get();            }          };          
Is there a repo with known issues on the API? I thought somehow I've seen this issue in one of those github issue lists somewhere... maybe was just an issue with some ones extension.

Statistics: Posted by Kirkwood West — Mon Jan 15, 2024 7:23 pm — Replies 0 — Views 16



Viewing all articles
Browse latest Browse all 6721

Trending Articles