On Saturday, February 6, 2010, james morris wrote:
In addidion to the "amidi" ALSA raw midi utility that has been suggested, you
can also easily write from a bash script to character devices, either the OSS
(/dev/midi*) or the ALSA ones (/dev/snd/midiC*). You can even create a
virtual MIDI port using the ALSA module snd-virmidi, so you can write chars
to a /dev/midi* node and connect the other side (the ALSA sequencer port) to
> The tool would just be required to send a single midi note to some port.
As an example, here is a bash script that can be used with cron, to play
hourly a tune and some strokes.