[Solved!] M-Track Plus Mk II
Moderators: MattKingUSA, khz
Re: M-Track Plus
Thanks @eric71. I may have tried that already, but will remember to try it again when I get back to jack2.
Re: M-Track Plus
Bummer. KXStudio uses jack2 and cadence, and I'd forgotten that cadence calculates latency differently from qjackctl. For example for this setting:
Sample rate: 96000
Buffer size: 256 samples
Periods/buffer: 4
cadence reports a block latency of 2.7 ms whereas qjackctl (which is what I'd settled on) reports 10.7 ms. So my initial reaction to the lower latency when running kxstudio was misplaced. Also, xruns were still there, with or without Server Synchronous Mode in jack2. Darn!
Sample rate: 96000
Buffer size: 256 samples
Periods/buffer: 4
cadence reports a block latency of 2.7 ms whereas qjackctl (which is what I'd settled on) reports 10.7 ms. So my initial reaction to the lower latency when running kxstudio was misplaced. Also, xruns were still there, with or without Server Synchronous Mode in jack2. Darn!
Last edited by kinleyd on Thu Oct 29, 2015 6:14 pm, edited 1 time in total.
Re: M-Track Plus
Thanks for the clarification, falkTX. I did notice that changing the number of periods in cadence didn't have any effect on the latency calculation.falkTX wrote:the cadence reported latency is the *roundtrip* one, qjackctl gives a hw approximate (takes in account number of periods and extra latency).
both values are correct, they display different things.
A quick question for you: Is the latency that is commonly talked about, for example the <10 ms latency that is generally recommended, also based on roundtrip calculations alone as calculated in cadence? I'm hoping it is, because then the latency I'm getting isn't too bad, even if I get the odd xrun.
Re: M-Track Plus Mk II
Tried a number of additional things (including upgrading my BIOS, on the off-chance) but without too much headway. So I've had to settle on this:
Sample rate: 96000
Frames/period: 64
Periods/buffer: 16
For this setting qjackctl reports a latency of 10.7 ms, and I experience 1 xrun every 5 minutes on average, which it seems I'll have to settle for. I will now return focus to learning how to play the guitar better!
Over and out.
Sample rate: 96000
Frames/period: 64
Periods/buffer: 16
For this setting qjackctl reports a latency of 10.7 ms, and I experience 1 xrun every 5 minutes on average, which it seems I'll have to settle for. I will now return focus to learning how to play the guitar better!
Over and out.
[Solved!] Re: M-Track Plus Mk II
Well, darn. After all that I've finally discovered that the problem was with setting qjackctl to use hw:Plus (the m-track plus) as the capture device, AND hw:PCH (the Intel HDA) as the playback device in Duplex mode:
Including the playback device appears to work, except for the xruns.
Setting it as capture only: and creating an alsa_out device to direct playback to in a script following the load of qjackctl: with some configuration in patchbay to persist the alsa_out device did the job. No more xruns at normal loads even at a latency of 2.67 to 4 ms! I'm not sure why duplex mode doesn't work properly but at least I've banished the xruns. And learnt a lot of stuff in the process.
Setting it as capture only: and creating an alsa_out device to direct playback to in a script following the load of qjackctl: with some configuration in patchbay to persist the alsa_out device did the job. No more xruns at normal loads even at a latency of 2.67 to 4 ms! I'm not sure why duplex mode doesn't work properly but at least I've banished the xruns. And learnt a lot of stuff in the process.