midicat(1) send to or receive from MIDI ports.

SYNOPSIS

midicat -words [-d ] [-i port ] [-o port ]

DESCRIPTION

The midicat utility receives MIDI data from the given input MIDI port and/or sends it to the given output MIDI port. The options are as follows:

-d
Dump transferred data in hex on stderr.
-i port
Use this sndio(7) MIDI port as input instead of stdin.
-o port
Use this sndio(7) MIDI port as output instead of stdout.

EXAMPLES

Dump data received from rmidi/0 to stderr:
$ midicat -di rmidi/0 >/dev/null

Send data from rmidi/0 to midithru/0:

$ midicat -i rmidi/0 -o midithru/0