[PlanetCCRMA] 2 questions - Alsa OSS MIDI Emulation

Mark Knecht mknecht@controlnet.com
Mon Oct 28 14:21:02 2002


Fernando,
   Humm...to me it seems like you have the alsa/OSS stuff backwards, but
maybe I'm missing the point.

1) In both cases the app receiving the MIDI info is SSM, and it is the OSS
app.

2) In the case of live MIDI, if I understand correctly, the alsa environment
receives the MIDI info and then emulates that OSS interface to make SSM
believe that a live MIDI keyboard is supplying the data.

3) In the case of Rosegarden, Rosegarden is an alsa app sending MIDI data.
Is it not capable of sending it into the alsa layer and then the alsa layer
emulating OSS and supplying it back just like item #2?

   I suppose not, since it isn't working, but I just wanted to check. If no
one here knows for sure, then I'll ask on the alsa list.

Thanks,
Mark

-----Original Message-----
From: planetccrma-admin@ccrma.Stanford.EDU
[mailto:planetccrma-admin@ccrma.Stanford.EDU]On Behalf Of Fernando Pablo
Lopez-Lezcano
Sent: Monday, October 28, 2002 11:52 AM
To: Mark Knecht
Cc: PlanetCCRMA (E-mail)
Subject: Re: [PlanetCCRMA] 2 questions - Alsa OSS MIDI Emulation


> 2) I am able to use SpiralSynthModular live from a MIDI keyboard which
seems
> to say that Alsa will accept MIDI Data and convert it to OSS for SSM to
see.
> This works fine. However I am not able to send MIDI from Rosegarden, which
> appears to talk to alsa MIDI devices and have SSM respond. Can someone
> explain why? Does the OSS emulation stuff in Alsa not work from Alsa back
to
> OSS when the MIDI data is generated in the PC?

This would be an oss emulated app sending midi to a native alsa app... I
don't know enough to be sure (never tried it) but I suspect it is not
possible. With native alsa midi apps that use the alsa sequencer api it
should be possible to connect outputs to inputs using the alsa midi
"patchbay" (man aconnect). I don't think that would work with oss
emulation.

-- Fernando


_______________________________________________
PlanetCCRMA mailing list
PlanetCCRMA@ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma