Hi Julien,

I work on Linux as well, using Jack as audio core. there's a specific setup I've got that uses ChucK as slave (an external hardware sends MIDI clock to it and Pure Data). I have to say I've never experienced  anything like this, but honestly this specific ChucK script I'm using is in sync with everything, but doesn't need to be super accurate. So I've never measured if performance in this situation. could you provide some info more about your settings? how are you setting latency? buffer size on Jack, ChucK?

cheers,
Mario

2018-03-19 11:11 GMT+00:00 Julien Saint-Martin <julien.saintmartin@googlemail.com>:
Hi there,

I am trying to synchronize my ChucK Loops and Synth with a friend.
We use midi messages and I am Slave.
I use Linux with Jack server.

To ensure ChucK processing without glitches I play with latency (usually 186 ms).
But I noticed that perdiodic midi messages are randomly delayed (kind of jitter of about 80ms) when received in ChucK.
I also noticed that the jitter decrease when I reduce Latency.

Latency is not a problem for me, and it is needed for Chuck to compute without glitches (XRun in Jack server).

Do you know where the Jitter comes from (Linux, Jack, ChucK) ?
Is  there a solution to reduce it keeping some latency ?

Happy Chucking,

Julien

_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users