All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Brolin Empey <f7@dccnet.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: example of sending note on/off to MIDI port (Timidity's virtual sequencer)
Date: Thu, 20 Oct 2005 19:17:35 -0400	[thread overview]
Message-ID: <1129850256.7918.6.camel@mindpipe> (raw)
In-Reply-To: <4358068C.3050405@dccnet.com>

On Thu, 2005-10-20 at 14:05 -0700, Brolin Empey wrote:
> 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.

You forgot to include a link to your code.

Lee



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

  reply	other threads:[~2005-10-20 23:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2005-10-21  3:19   ` Brolin Empey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1129850256.7918.6.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=f7@dccnet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.