8 ms·
I recently connected a midi keyboard to our Pi3 and ran Timidity for synthesis. It worked, but unfortunately the notes happen about half a second after you pre
by mixmastamyk 7y ago
I recently connected a midi keyboard to our Pi3 and ran Timidity for synthesis. It worked, but unfortunately the notes happen about half a second after you press a key, making it rather useless. Strange, since if you dump the midi events themselves to the console they appear to happen immediately.
I tried teaking alsa and pulseaudio settings, no luck. Also installed jack but never got sound from it. Eight hours on the weekend wasted with nothing to show for it. Any ideas on how to fix this?
- danShumway 7y agoI installed a low-latency kernel on my desktop machine with a midi keyboard over USB, got horrible performance until I got off of Pulseaudio. I had some difficulty with Jack, but Alsa worked great. The main thing is you can't run Alsa and Jack at the same time. Once I was no longer using Pulseaudio, a lot of my problems went away -- I think it's just a really slow interface. I mostly worked off of http://www.tedfelix.com/linux/linux-midi.html http://www.tedfelix.com/linux/linux-midi.html
- mixmastamyk 7y agoThanks. I got the feeling there was some buffering happening somewhere, but couldn't turn it off. Wonder how much applies to Rasbian.