Hi
I record quite a lot of vocals with renoise, and normally have autoseek on for all vocal samples. However it seems that autoseek doesn’t go well with low latency settings.
Example: A song with 16 tracks of backing vocals, all with autoseek enabled. If I start playback after one or more samples with autoseek enabled is triggered, I get either an xrun and a click when playback is started. It seems that the more samples with autoseek enabled that are triggered before the point I start playback, the more pronounced the problem is. Also a click + xruns is produced when renoise has to jump to the beginning of looped section of the song.
Here’s a video (no sound, couldn’t figure out how to capture audio from jack) that shows the problem in the test song: autoseek_xruns.ogv
In this particular test song (all playback is started in the same spot, the “outro” where all vocal samples have been triggered) I measured which jack settings would produce xruns with two versions of the song, only difference was that one had all autoseek disabled. I should not that it’s fairly consistent, the measurements was done by starting/stopping playback at the exact same spot 10 times, and all results were 100%, so either 0 xruns in 10 playbacks start/stops or 10 xruns in 10 playback start/stops.
- with autoseek enabled ------------------------------
Settings that doesn’t generate xruns:
1024 frames/period and 2 periods/buffer (46ms latency)
Settings that generates xruns:
512 frames/period and 2 periods/buffer (23ms latency)
512 frames/period and 3 periods/buffer (34ms latency)
- with autoseek disabled -----------------------------
Settings that doesn’t generates xruns:
128 frames/period and 3 periods/buffer (8.7ms latency)
128 frames/period and 2 periods/buffer (5.8ms latency)
Settings that generates xruns:
64 frames/period and 2 periods/buffer (2.9ms latency)
64 frames/period and 3 periods/buffer (4.3ms latency)
A little bit about my system:
I’m running Ubuntu 12.10 with my own patched kernel on a lenovo x61s, cpu frequency govenor is set to performance (max frequency) when running jack. Renoise is version 2.8.1.
atte@blokhus:~$ uname -r
3.6.5-rt14
atte@blokhus:~$ jackd --version
jackdmp 1.9.9
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
jackdmp version 1.9.9 tmpdir /dev/shm protocol 8
atte@blokhus:~$ cat /etc/security/limits.d/audio.conf
@audio - rtprio 99
@audio - memlock unlimited
I’d be more than happy to supply any additional information, including xrns of the song with/without autoseek enabled.