Alsa-midi-latency-test is a project mainly written in C and SHELL, it's free.
alsa midi latency test
== Intro ==
alsa-midi-latency-test measures the roundtrip time of a MIDI message in the alsa subsystem of the linux kernel using a high precision timer. It calculates the worst case roundtrip time of all sent MIDI messages and displays a histogram of the rountrip time jitter.
== Compiling, installing and running ==
The following libraries are required to build alsa-midi-latency-test:
Compile and install alsa-midi-latency-test as follows:
$ sh autogen.sh $ ./configure $ make $ sudo make install
Run alsa-midi-latency-test as follows:
$ alsa-midi-latency-test -l
Lists available MIDI input and output ports.
$ alsa-midi-latency-test -i [input port] -o [output port]
This runs the benchmark with the given input and output port. Note, that the input and output ports have to be connected using a MIDI cable in the real hardware to loop the MIDI message back.
$ man alsa-midi-latency-test
The man page contains documentation for all available command line switches.
== Results ==
Results of some benchmarks created with alsa-midi-latency-test can be found in the benchmarks/ sub-directory. The setup of the MIDI-chains of the results is as follows:
If you have an interesting setup, please send us you results so we can include them here for further reference.
== See also ==
http://www.linuxaudio.org/mailarchive/lat/
The linux-audio tuning (LAT) mailing list is to help GNU/Linux distribution maintainers and other interested users to share information on system performance tuning matters, especially with regard to real-time Linux kernels.
http://www.alsa-project.org
The Advanced Linux Sound Architecture.
== Website ==
The project is hosted at github.com:
http://github.com/koppi/alsa-midi-latency-test/tree/master
== Thanks ==
== BUGS and AUTHORS ==
This is an early release. Please report bugs to the authors.
-- November, 2009