[EMAIL PROTECTED]

>Hullo, I can't seem to find how to create MIDI channel mode messages
>(like "reset all controllers" or "all notes off"), nor can I find out
>how to create many MIDI meta events (like "text event" or "copyright
>notice" or "sequence name"), I've been able to find out how to create
>some events at
>http://www.alsa-project.org/alsa-doc/alsa-lib/group___seq_middle.html
>, but not very many. Anyone have any ideas?

ad 1: standard MIDI controller specs can be found all over the 'net,
but the best thing is to consult the target device documentation.
if the device receiving the controller event interprets it as an
'omni' event, it will simply ignore the event channel, and so would
you.

to prepare controller event data, i use:

    snd_seq_event_t packet;

    packet.type = SND_SEQ_EVENT_CONTROLLER;
    packet.data.control.channel = channel;
    packet.data.control.param = controller;
    packet.data.control.value = value;

ad 2: afaik, you can't send meta events via the ALSA sequencer. they
only make sense within a MIDI file.

cheers,

tim


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to