[linux-audio-user] scripting midi capture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux