github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

koppi / alsa-midi-latency-test

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 1
  • Source
  • Commits
  • Network (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

alsa midi latency test — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

updated gm5x5x5 benchmark. 
koppi (author)
Sun Nov 01 07:08:12 -0800 2009
commit  c8d1db2cff62b30cde0f55ac043772296c5b56e5
tree    7a2c8f2d04f9b3fd40d13ce3bcb2d5b4a4cc93c6
parent  7b67ecb6e5d9ff5d43bcc84e7f5a552a9b90e8a4
alsa-midi-latency-test /
name age
history
message
file Makefile.am Wed Mar 11 06:23:38 -0700 2009 +mkinstalldirs, 'make dist' work [koppi]
file README Tue Oct 20 15:18:28 -0700 2009 added benchmark results by Frank Neumann. [koppi]
file TODO Wed Mar 11 04:08:37 -0700 2009 first commit [koppi]
file aclocal.m4 Wed Oct 14 14:55:00 -0700 2009 Removed -ldl and -lm dependency. [koppi]
file autogen.sh Tue Oct 13 10:10:20 -0700 2009 removed obsolete mkinstalldirs. Added -i -f opt... [koppi]
directory benchmarks/ Sun Nov 01 07:08:12 -0800 2009 updated gm5x5x5 benchmark. [koppi]
file config.rpath Wed Mar 11 04:08:37 -0700 2009 first commit [koppi]
file configure.ac Tue Oct 13 03:25:35 -0700 2009 added test for rt library to configure.ac. [koppi]
directory debian/ Tue Oct 13 10:58:48 -0700 2009 removed quilt build dependency. [koppi]
directory include/ Sun Sep 27 02:23:42 -0700 2009 fixed automake and autoconf files, added docume... [koppi]
directory m4/ Sun Sep 27 02:23:42 -0700 2009 fixed automake and autoconf files, added docume... [koppi]
directory src/ Tue Oct 13 03:25:35 -0700 2009 added test for rt library to configure.ac. [koppi]
README
== 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:

 * debhelper (>= 5)
 * autotools-dev
 * automake
 * libasound2-dev (>= 1.0.13)

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:

 * elektron-tm1.txt:    PC -> Elektron TM-1 -> PC
 * gm5x5x5.txt:         PC -> Polytec GM5 www.midibox.org -> PC
 * ua25ex.txt:          PC -> Edirol UA-25EX -> PC
 * midisport2x2ann.txt: PC -> MidiSport 2x2 'Anniversary Edition' port B -> PC
 * mpu401.txt:          PC -> MPU-401-Port on motherboard -> PC
 * um2ex.txt:           PC -> Edirol UM-2EX -> PC
 * yamaha-ux256.txt     PC -> Yamaha UX256 (6-Port) -> PC

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 ==

 * to Arnout Engelen for initial testing and giving feedback.
 * to Clemens Ladisch for a number of fixes with the high precision timer and
   alsa midi event handling.

== BUGS and AUTHORS ==

This is an early release.  Please report bugs to the authors.

 * Jakob Flierl <jakob.flierl@gmail.com>

-- November, 2009
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server