[LAD] MIDI monitor

From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
Date: Fri Oct 24 2008 - 17:58:53 EEST

Hi :)

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.

I just wish to have an application that is reading a timer and byte by byte, so that I can scroll through the MIDI bytes.

START:
001 Is the MIDI client/port ready?
002 If so, get the TIME and the MIDI Byte and write both informations to
an array.
003 If there's pushed a key, jump to STOP
004 If not, go to START

STOP:
A routine that shows the TIMER and MIDI Bytes in a list, that can be
scrolled, maybe simply by saving it as a file.txt.

It should look like this:

minutes:seconds:milliseconds MIDI-Byte

00:00:004 f0
00:00:005 0a
00:00:006 0f
00:00:007 05

Because I need to sync Linux to my Atari ST I was thinking of programming such a MIDI monitor for the Atari in GFA-BASIC and for Linux in X11-BASIC, that nearly is the same BASIC, but I don't know if there is a way to open ALSA MIDI clients/ports for the INP command.

As an alternative I guess I could try to compile and change this source code to my needs: http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2rawmidi_8c-example.html

I know that I have to delete the line numbers, but I don't know how to compile it and what header is needed to be included for using a timer and array.

I need the complete commands or a makefile including the links for the needed libs etc., to compile and link this source code.
Also the changed complete commands or a makefile when I changed the source code using a timer and array.

Or just the MIDI monitor I need.

I don't want to become a developer for Linux, I just want to do researches for bug reports by using a MIDI monitor.

E.g.:

Rosegarden can run as MTC master and sync a Yamaha RX21
Rosegarden can't sync the same way the Atari's Cubase 3.1
Ardour can run as master and sync an Atari Cubase

Another example where definitive is the need to see bytes, is to see if MIDI data is send by running status or not.

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

Cheers,
Ralf

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Received on Fri Oct 24 20:15:02 2008

This archive was generated by hypermail 2.1.8 : Fri Oct 24 2008 - 20:15:02 EEST