Scroll to navigation

MIDICAT(1) General Commands Manual MIDICAT(1)

NAME

midicatsend to or receive from MIDI ports

SYNOPSIS

midicat [-d] [-i file] [-o file] [-q 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:

Dump transferred data in hex on stderr.
file
Read MIDI data from this file instead of receiving it from the MIDI port. If the option argument is ‘-’ then standard input will be used.
file
Write MIDI data to this file instead of sending it to the MIDI port. If the option argument is ‘-’ then standard output will be used.
port
Use this sndio(7) MIDI port for input/output. If the option is used twice, the first one specifies the input port and the second one the output port.

If no files are specified, then midicat transfers data from the MIDI input port to the MIDI output port.

EXAMPLES

Send the given file to rmidi/0:

$ midicat -i file.syx -q rmidi/0

Dump data received from rmidi/0 to stderr:

$ midicat -d -q rmidi/0 -o /dev/null

Send data from rmidi/0 to midithru/0:

$ midicat -q rmidi/0 -q midithru/0

SEE ALSO

midi(4), sndio(7), sndiod(8)

December 7, 2024 Linux 6.4.0-150600.23.25-default