Using a midi keyboard with minimum latency in Ubuntu 16.04
The synth i'm using is sunvox, and i've got a Samson Graphite 49 Keyboard (5 keys are not functional after a year of only using it occasionally, don't buy). I work on Ubuntu 16.04 and the best minmal latency audio driver is JACK, which is also supported by sunvox. There are two additional pieces of software that are needed to get cracking: a2jmidi and qjackctl. The a2jmidi program provides a midi bridge between alsa and jack, which is required to use any midi signal sending sources in JACK. All this software is availabile to get with apt-get. Once you've installed everything, here's how you get a basic minimum latency midi keyboard-to-sunvox setup running: Open sunvox settings, set the driver to "JACK". Leave everything else on auto. Close sunvox. Then open qjackctl, it's a GUI for the JACK audio driver. Here in the settings you need to experiment with the buffer sizes and sampling freq, they are the two components influencing the latency. ...