James Cameron wrote:
Wanted: something that will read /dev/sequencer (OSS
or ALSA) and write
a MIDI file.
I like point functionality ... where what you need is done by some small
tool, and you don't have to load something huge.
There is a _very_ incomplete and ugly program at
<http://www.informatik.uni-halle.de/~ladischc/seqrecord.c>. You have to
compile it yourself, and it's barely usable. YMMV.
If it generated a tick through PC speaker, sound card,
or MIDI, even
better. ;-)
What about
while true; do sleep 1; echo -ne '\x99\x25\x7f' > /dev/midi; done
(but you need something else for more than one tick per second)
HTH
Clemens