[LAD] MIDI monitor

Pedro Lopez-Cabanillas pedro.lopez.cabanillas at gmail.com
Fri Oct 31 21:53:42 UTC 2008

Nobody has answered yet?

Ralf Mardorf wrote:
> I'm new to the list and I'm not a Linux audio developer. I was a coder
> for C64 MIDI and audio, programming in Assembler, I have less knowledge
> about C/C++.
> Because I have to do some research, e.g. because of strange behaviour of
> MTC, I need a MIDI monitor, that shows MIDI bytes instead of an
> interpretation of the MIDI events, like it's done by gmidimonitor and
> kmidimon.

You can try the utility "amidi" (from the alsa-utils package) with the --dump 
option. See http://www.linuxmanpages.com/man1/amidi.1.php

> Can anybody help me to get such a MIDI monitor, maybe by simply writing me
> how to compile the rwamidi example?

edit the source, change the line:
	#include "../include/asoundlib.h"
	#include <alsa/asoundlib.h>

compile it with this command:

	$ gcc -o rawmidi -lasound rawmidi.c

You need the -devel version of the alsa library package installed first, and 
the GCC compiler.


More information about the Linux-audio-dev mailing list