Reduce / identify latency in Linux sampler
Posted: Tue Sep 11, 2012 7:43 pm
Hi,
I have a M-Audio Keystation Pro 88 hooked up to a Linux system (Debian Squeeze) via USB and run Linux Sampler with a Bösendorfer B290 instrument. A friend played on the piano and told me that there is murderous high latency when playing. I have not noticed it, but problaby got used to it. I have noticed that in some ways, I enjoy playing on e-pianos much more, although they don't sound a third as good as my Bösendorfer Linux sampler duo.
Now I was wondering how to be able to measure latency, my mind is playing tricks on me when I play and sometimes I think I see the latency, sometimes I don't.
I also don't know where to start, as USB should not introduce any latency at all and neither should Jackd and Linux Sample. Where is the delay?
My friend told me that it seems to happen more when many voices are playing . I run this on a dual core 2.6 ghz system, with 8 GB of RAM and on a M-Audio 2496 Soundcard, which should be pretty high performance.
Since the Keystation Pro 88 does not have any instruments on board it self (no speakers, it is just a midi controler keyboard), there is no way to check it like that. Do you know any other ways? I am not currently using a real time kernel for Linux, would that help? But I figure the system should be fast enough for it.
Any pointers or ideas would be appreciated.
Markus
I have a M-Audio Keystation Pro 88 hooked up to a Linux system (Debian Squeeze) via USB and run Linux Sampler with a Bösendorfer B290 instrument. A friend played on the piano and told me that there is murderous high latency when playing. I have not noticed it, but problaby got used to it. I have noticed that in some ways, I enjoy playing on e-pianos much more, although they don't sound a third as good as my Bösendorfer Linux sampler duo.
Now I was wondering how to be able to measure latency, my mind is playing tricks on me when I play and sometimes I think I see the latency, sometimes I don't.
I also don't know where to start, as USB should not introduce any latency at all and neither should Jackd and Linux Sample. Where is the delay?
My friend told me that it seems to happen more when many voices are playing . I run this on a dual core 2.6 ghz system, with 8 GB of RAM and on a M-Audio 2496 Soundcard, which should be pretty high performance.
Since the Keystation Pro 88 does not have any instruments on board it self (no speakers, it is just a midi controler keyboard), there is no way to check it like that. Do you know any other ways? I am not currently using a real time kernel for Linux, would that help? But I figure the system should be fast enough for it.
Any pointers or ideas would be appreciated.
Markus