Sean Don wrote:
> 1) I don't have a hardware sequencer; so, I use
> timidity as an ALSA sequencer, then pmidi a player...
>
> timidity -iA -B8,8 -Os &
> pmidi -p 128:0 <midi file>
>
> 2) That plays fine, but how to tap into the events
> pmidi is sending to 128:0?
The events are sent to Timidity (128:0), not to your program.
And you wouldn't want other programs to be able to intercept events
not directed to them, because those events could contain sensitive
data. Uh, yeah. ;-)
Anyway: load snd-seq-dummy, connect a through port to both Timidity
and your program, then play to the through port.
HTH
Clemens
Received on Mon May 30 12:15:09 2005
This archive was generated by hypermail 2.1.8 : Mon May 30 2005 - 12:15:10 EEST