[linux-audio-user] redirecting pmidi output

Ryan Underwood nemesis-lists at icequake.net
Mon Nov 22 13:07:12 EST 2004

On Mon, Nov 22, 2004 at 09:49:11AM -0800, Mark Wilson wrote:
> With timidity you can specify the output and name a
> file for it; ex. 
> timidiy -P ocarina.pat whistle.mid -Ow whistle.wav
> How does one accomplish the same thing with pmidi? 
> I've tried the following variations:
> pmidi (-p 129:0) whatever.mid >> whatever.wav
> pmidi whatever.mid > whatever.wav
> pmidi whatever.mid | whatever.wav

pmidi doesn't have anything to do with the actual digital audio output.
It just sends MIDI commands to a sequencer interface.  If the MIDI
synthesizer output appeared in your sound card's mixer inputs (usually
does), or if you are using the Timidity ALSA server, then you can just
use something like arecord to record the synthesizer output from your
soundcard's mixer.

Ryan Underwood, <nemesis at icequake.net>

More information about the Linux-audio-user mailing list