All of lore.kernel.org
 help / color / mirror / Atom feed
* example of sending note on/off to MIDI port (Timidity's virtual sequencer)
@ 2005-10-20 21:05 Brolin Empey
  2005-10-20 23:17 ` Lee Revell
  0 siblings, 1 reply; 3+ messages in thread
From: Brolin Empey @ 2005-10-20 21:05 UTC (permalink / raw)
  To: alsa-devel

Hello,

I want to add ALSA support to a MIDI program I wrote (in C) which 
currently supports only the Win32 API (using midiOutShortMsg).  More 
specifically, I want to do this using Timidity's virtual sequencer for 
playback of the output MIDI messages.  I can use playmidi (which uses 
the OSS API) or pmidi (which uses ALSA's API) to play MIDI files using 
Timidity's port (128:0).  After studying both of these application's 
sources, I tried without success to put together a minimal test program 
to simply send a note on and subsequent note off message using 
Timidity's port.

Does anyone have a simple example of how to do this?  It can use either 
the OSS API (e.g. /dev/sequencer interface) or ALSA's library.  I tried 
the rawmidi example, but could not get it to play anything using 
Timidity's port.

Thanks,
Brolin


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-21  3:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 21:05 example of sending note on/off to MIDI port (Timidity's virtual sequencer) Brolin Empey
2005-10-20 23:17 ` Lee Revell
2005-10-21  3:19   ` Brolin Empey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.