Apologies if this has already been covered, but I think the ability to create custom port types would be really really useful.
@lokki and I are working on a set of objects that require the connection of many parameters in order for them to work.
@lokki hit on the idea of using red Audio Buffer ports to roll all the parameters into one multiplexed signal, using each of the 16 items in the buffer array to hold one parameter.
This is great, but, obviously, it's not audio data, and connecting the output of one of our objects to an audio output will produce a painful blast of noise, or at least nothing useful.
It would be great to be able to define a custom array type, and have ports of that type only be able to be connected to other ports of the same type. That way, you can save time for your users, patching up lots of ports, by multiplexing several parameters, but avoid the issue of eg ports meant to carry non-audio data being accidentally connected to audio outputs.
I'd envisage being able to:
- Choose any existing data-type/representation for the port (so avoiding the issues associated with allowing arbitrary port types)
- Choose a colour for the ports
- Choose whether the port should be allowed to be connected to ports of other types
Cables connecting custom ports could be visually distinguished by eg being striped.