rust-jack icon indicating copy to clipboard operation
rust-jack copied to clipboard

JACK transport

Open xlambein opened this issue 4 years ago • 6 comments

First of all, I'd like to thank you all for this crate, it's really nice :-)

For a personal project, I need to have JACK transport functionalities, which are not implemented yet here. I might be able to contribute this feature to the crate myself, but I'm not exactly sure where to begin? Anyone knows what needs to be done, in order to add transport?

xlambein avatar Nov 26 '19 14:11 xlambein

Is this the same as #50, if so, then the issue was that jackctl functions weren't linked into the version of jack that I had. If not, then I'm not familiar with JACK transport.

wmedrano avatar Dec 06 '19 17:12 wmedrano

Not super familiar with the inner workings of JACK in general, but from looking at the doc it seems that transport is not the same thing as jackctl. Transport is the tool that's used to synchronize the clocks of multiple JACK clients (e.g. Ardour with Hydrogen), whereas jackctl seems to be about starting and managing a JACK server.

xlambein avatar Dec 09 '19 08:12 xlambein

Seems like I just missed it, so its fine to go ahead and add the feature to rust-jack.

Jack reference: https://jackaudio.org/api/group__TransportControl.html And the functions do indeed seem to be part of the ffi in the jack-sys crate.

wmedrano avatar Dec 09 '19 19:12 wmedrano

I'm working on some bindings for the query and control: https://github.com/x37v/rust-jack/tree/xnor/transport

I'm not planning to do slow sync or 'master' bindings at this time. Will submit a PR once I test out the control as at this point I've only tested the query.

x37v avatar Nov 14 '20 17:11 x37v

https://github.com/RustAudio/rust-jack/pull/134

x37v avatar Nov 16 '20 15:11 x37v

#134 has been merged, this provides transport query/control.

Transport timebase master is not implemented yet.

x37v avatar Dec 29 '20 03:12 x37v