Juan Linietsky wrote:
> 
> Oh, and you know what, I was so concentrated in my hate for
> sysex ;) that i just noticed that i forgot to write the most
> obvious point about why sysex is a no-go.
> 
> And this is basically, that what you propose would work like this:
> 
> sysex call to poll for bank description -> Midi Out
> and later
> Midi In <- patch listing
> 
> And this has a fatal flaw, which is basically, what i said in
> my first, mail... Midi is a 1-way protocol. Thus considering
> this, remember that not all deviecs have In/Out , in fact many
> of them are either midi IN only, and midi OUT only. Think
> about the sblive/awe synth, alsa sequencer clients, etc,
> are MIDI OUT ONLY, so it's not possible in any way to retrieve
> information from them via sysex.

No problem. If the connection to the hardware is IN only,
the driver can retrieve the patch list from a file.

The sysex discussion was about the connection
synth driver <-> sequencer app. So the port the driver
creates (and the seqencer uses) has to be bidirectional.

You don't have to retrieve sysex from the soundcard but from the
driver. There could be a 'generic' driver which answers
sysex requests from the sequencer app based on the contents of
a file, and maybe some synth specific drivers, which use
a bidirectional connection to the synth to retrieve patch lists.

The sequencer app doesn't have to deal with that difference.


Stef(an).

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to