Re: [LAU] Robin Gareus' Ninjam jack transport fix

From: Robin Gareus <robin@email-addr-hidden>
Date: Thu Oct 13 2011 - 19:07:10 EEST

On 10/13/2011 02:49 PM, Andrew C wrote:
> Hey all,
>
> Dunno how many people use Ninjam, but to any that do (and are using
> Tobias Gehrig's/Robin Gareus' patches to the linux version),

The original patch is from Torben Hohn. I only fixed a float-double
conversion bug in there.

> are you
> experiencing the jack transport timer reseting itself to 0:00:000 when
> an interval finishes or is my jack version (0.120.1) going crazy?

I've not started ninjam for ages.. so no.

The timebase_callback in ninjam/audiostream_jack.cpp is pretty much a
kludge. It is known to not work correctly with slow-sync clients.
AFAIK hydrogen uses 'JackTransportStarting' and ninjam will not properly
sync with it.

> Downside to this is that hydrogen starts sounding out of time with the
> metronome.

Did you [try to] disable the "jack-transport master" setting in
hydrogen? IIRC ninjam needs to become jack-transport master for things
to work.

jack > 0.120 features a new API for calculating/compensating latency.
ninjam does not compensate for any latencies, but hydrogen may. - If
that is the case, you should experience a fixed delay.

Sorry no real solution. I suppose rewriting the ninjam-jack code is the
only way to fix this.

robin
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Oct 13 20:15:02 2011

This archive was generated by hypermail 2.1.8 : Thu Oct 13 2011 - 20:15:02 EEST