[Jack-Devel] Avoiding spinlocks in a parallel sequencer
johannes89 at mailueberfall.de
Sat Apr 11 12:26:05 CEST 2015
Am Donnerstag, 9. April 2015, 09:00:38 schrieben Sie:
> Speaking entirely personally, I think this design is just plain nuts. I
> know there are some JACK-ecosystem developers who disagree with me, but I
> think that using JACK clients for this purpose is just wrong and is pushing
> the design scope for JACK.
Ok, let's say I'll do what multiple people proposed here: one jack client per effect + only data exchange between effects via jack ports.
Then see this example:
piano roll ----- (notes) -----> synthesizer
How should one transfer notes using a jack buffer? Of course, one could make a structure to transfer notes, cast this structure to const char*, and *hope* it fits into the port buffer. Is there any better way? Maybe a "custom port type"?
More information about the Jackaudio