@koooch good that it works, sounds great!
Just had a look at the code again, as Andy said, SEQ v4+ can support up to 32 CV outputs. The above routine will allow a “cv_port” variable from 0…3, with each cv_port having eight individual CV outs.
Further looking at the pitchbend code above, it should indeed send out the pitchbend parameter layer depending on package.chn, which is the configured track channel to CV-out jack 1-8 of an AOUT module and use cv_port (0-3), which is the configured port of the track and send it to your AOUT module 0…3.
I know there are some users using more than one AOUT module, but i am not sure if they’ve ever really tried sending non-note CC or pitch-bend data to the CV ports after the first eight ports. I think it should work, but cannot 100% guarantee it, as it probably was not tried out before 🙂. You would probably be ok with two AOUT modules instead of four, as SEQ v4+ “only” has 16 different tracks that can be set to individual ports and channels. But then, on the other hand, you might want to leave some cables connected or load a different session, that uses a different set of AOUT modules - that’s why a power user might want to have a full set of 32 CV- and Gate-outs in the system 🙂.
Enjoy and have a good weekend!
Best regards,
Peter