Subject: Re: [linux-audio-user] scripting midi capture
From: Clemens Ladisch (clemens_AT_ladisch.de)
Date: Tue Jun 03 2003 - 11:35:56 EEST
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
This archive was generated by hypermail 2b28 : Tue Jun 03 2003 - 11:44:31 EEST