Cable Colour Key announcement

Introducing Cable Colour Key: a module that enables you to change the colour of the currently selected cable using your keyboard.

Cable Colour Key also allows easy editing of user assignable keyboard shortcuts and cable colours (up to 16 colours).

Find it on the VCV Library, here: VCV Library - Inklen Cable Colour Key

24 Likes

Version 2.0.1 of Cable Colour Key is now available in the VCV Library. I’ve updated it with a few new features that I hope you will find useful:

  • Port hover mode: When enabled, hover your mouse cursor over any input or output port, press one the mapped hot-keys, and this will change the colour of any connected cables.
  • Batch cable replacement functions: From the context menu you now have the option to replace all cables of a single colour, or all cables in the patch, with either a single colour, random colours, or sequenced colours.
  • Key mappings always active: When enabled, hot-keys are active even when not dragging a cable.

Find it on the VCV Library, here: VCV Library - Inklen Cable Colour Key

The full list of changes can be found here: Rack Modules Change Log

9 Likes

This module just made it into my Startup Template.

2 Likes

Glad to hear it :slight_smile:

Yes! You did it! Thank you so much @nickfeisst :smiley: The one handed mode seems to be working great on my end, and I’m definitely interested to check out the other features you added. This is also going to wind up in my template patch now.

1 Like

Wow, that was fast. The replace cable colour function is even more satisfying than I anticipated, and it works great as a menu option. Thanks! Also the hover and key mappings always on options are welcome additions.

The module really makes cable colour management simple. The workflow instantly has become totally natural and intuitive.

One suggestion for a relatively minor improvement. Currently if you have the hover option enabled, it supersedes any cable that you may have selected. It would be nice if when you have a cable selected that only that cable changes colour, even if you are hovering over the port and the hover option is enabled. The hover option would only have an effect if you do not have a cable selected.

2 Likes

I have to admit, that I was a little sceptical of the replacement function when I started coding it, but I’m very happy with how it ended up. :slight_smile: Thanks for the suggestion.

Yes, good point - I missed that. It should be a simple fix (from what I can see, a single “else” in the code should fix this), and I’ll get that in the next update.

2 Likes

I have to say this best cable color thing in the game. when i mess up a cable color its so easy and simple to correct it.

Has anyone tried to use this in the VST version of Rack2 in Bitwig Studio or Live? Its greyed out if the is multiple instances of Rack2 but only 1 instance of the module in the Rack.

I know i can work around it… but maybe this could be fixed in the module? or maybe its an issue with Rack?

It looks like there is an issue with the way I’m handling multiple instances of the module. I’ll see if there is an easy(-ish) way to improve this.

1 Like

Both of these are fixed in version 2.0.2, which is available now.

I’ve also added drag and drop rearrangement of the cables, faster key mapping (left-click a cable on Cable Colour Key’s module panel, and then push the new key to map), and much more.

4 Likes

Hi Nick,

would you be interested to expand the Cable Color Key module with this feature?

imho it would be a great addition.

I’m not sure. Just looking into this quickly, the simplest way to do this (by altering the opacity values of the cables) isn’t really a great solution for a few reasons. Opacity values of zero don’t appear to be saved and restored correctly from the file, and setting the opacity to zero also hides the port (so the connection becomes completely invisible).

Thanks for your answer Nick,
imho the “invisible cables” opacity doesn’t need to be zero,
maybe a value of 3 or 5 would be enough to have the desired effect.

You could try something like this yourself already with a Cable Colour Key preset.

For example, you could edit a preset to have the following colour data and then load this into Cable Colour Key:

    "cableColors": [
      "#f3374b7f",
      "#ffb4377f",
      "#00b56e7f",
      "#3695ef7f",
      "#8b4ade7f"
    ]

The 7f at the end of the colour code sets the opacity to half for each of the colours (it seems to be able to handle the RGBA colour format).

You could also create a preset that contains both your regular colours and then the same colours repeated with lower opacity. Doing this would allow you to use the cable replacement function of Cable Colour Key to quickly replace all cables of a certain colour with their transparent counterpart.

1 Like