>I'm new to the list and ALSA programming.  I am currently writing a
>program for streaming interactive MIDI over the internet.  I would like to
>be able to play the MIDI signals on the receiver side using
>ALSA.  However, I have no idea what procedure to take to play those MIDI
>signals or access the synth.  I have looked at the documentation but there
>seems to be a lack of it for the synth.  I have looked at pMIDI but it
>uses its own routines.  

your question is a little confused, as many related questions
are. lets separate out:

     * delivery of MIDI data to a destination of some kind
     * using a software synth
     * using a host-controlled internal hardware synth
     * using a native MIDI controlled internal hardware synth
     * using an MIDI controlled external synth

these are all quite different issues (though obviously interelated). 

the first point has two basic options:

    * delivery to a raw MIDI port
    * delivery to an ALSA sequencer port

these two use entirely different functions and an entirely different
approach to each other. the sequencer is generally a slightly more
flexible option, but the raw MIDI port is simpler to use.
    
for a software synth, you would need to define the problem more
precisely by telling us which synth.

for host-controlled hardware synths, we would again need to know which
one. however, many of these devices in ALSA make themselves visible
via the sequencer interface.

for native MIDI controlled internal hardware synths, there should be a
corresponding raw MIDI port and/or sequencer port (if you're using the
sequencer) and you just send the data there with no other action at
all.

for external synths, you need to know which raw MIDI port they are
connected to, and deliver the data there (you can use the sequencer,
or use the raw MIDI port directly).

the documentation page at www.alsa-project.org has a link to a HOWTO
that describes basic ALSA sequencer programming and has some very
useful examples.

Let us know when you have more specific questions (and have read the
HOWTO). 

--p

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to