Page 1 of 1

Feature Request

Posted: Sat Feb 05, 2022 9:13 am
by UrbanCyborg
There should really be some means of passing arbitrary data between modules. I tried doing it with poly jacks, but of course, you know the problem with that. How about adding a new jack type, doesn't even have to look like a poly jack, just so long as it allows passing, say eight doubles to another similar jack. With a new base class to do that, it wouldn't be much trouble for different developers to derive new jack types from it, leveraging the code base. This strikes me as a win-win scenario. I halfway suspect that there is such a class, and that polyJack derives from it. If so, just expose that base class to developers via an appropriate interface.
Okay, whinge mode off. But this thing would be terrifically useful. I know at least one other established developer thinks so, and I'll be there are others who'll weigh in.

Re: Feature Request

Posted: Wed Feb 09, 2022 6:40 pm
by UrbanCyborg
Really? No one?

Re: Feature Request

Posted: Mon Feb 14, 2022 8:03 pm
by TimShoebridge
Yes I agree, that would be useful. But what I'd really like to see as a first step is the ability just to detect which module is connected to which other via a cable. This is functionality that doesn't look finished or else is not fully documented. I'd also like to be able to restrict the number of cables that can be connected to a single jack.

Regarding data transfer between modules, I'm currently experimenting with storing data in a common file that is accessed by multiple modules simultaneously. This works fine in principle but then I need to synchronise access between modules, eg. Module A saves a piece of data to the file for Module B to subsequently read. I can perform this synchronisation by sending a simple signal via a cable between those modules but it's not an ideal way of passing data around, especially if both modules want to write as well as read...!