[LAU] midi triggering delay

andy baxter andy at earthsong.free-online.co.uk
Tue Sep 8 05:14:24 EDT 2009


andy baxter wrote:
> Hi all,
>
> I'm trying to get my usb midi keyboard (an edirol PCR 800) working with 
> my good laptop (a 1400 MHz core 2 thinkpad X61s). I have jackd running 
> with 8 msec latency and no xruns using an onboard intel HDA sound card. 
> When I hook up qsynth (fluidsynth) to the keyboard's alsa midi output, 
> the notes are triggered with a slight (<0.1s?), and variable time delay. 
> Sometimes the note plays immediately on pressing the key; sometimes 
> there is a noticeable delay. This does not happen when I use the same 
> setup on my old laptop (a 1400 Mhz single core dell).
>
>   
OK, I have tried the following:

- using a program which turns the computer keyboard into a virtual midi 
device. This makes the sound much more immediate. Having tried this, the 
contrast makes it obvious that there is still a problem with delays from 
the edirol keyboard.
- running qsynth using the alsa driver. No difference - when I play from 
the edirol keyboard there are still noticeable and annoying delays.
- running qsynth as root (using alsa). Again no difference.
- using zynaddsubfx instead of qsynth (again with alsa). Again, there 
are noticeable delays.

This makes me think that the problem is to do with the usb midi driver 
or the usb hardware on my new laptop - maybe an interrupts issue? I'm 
not sure how to get round this though. I'm wondering if getting a 
cardbus usb adapter would help?

andy




More information about the Linux-audio-user mailing list