midi realtime events
Hallo developers,
I'd like to send those MIDI realtime events (start, stop, cont etc.) via the ALSA sequencer API, but I don't know which function or macro to use to submit them to the sequencer.
Signature · 9 lines
---> Dirk Jagdmann ^ doj / cubic ----> http://cubic.org/~doj -----> http://llg.cubic.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
At Mon, 31 Jul 2006 14:05:50 +0200,
Quoted 6 lines · Dirk Jagdmann
Hallo developers,
I'd like to send those MIDI realtime events (start, stop, cont etc.) via the ALSA sequencer API, but I don't know which function or macro to use to submit them to the sequencer.
Just send a normal event packet with the type such as SND_SEQ_EVENT_START to the destination. It you need to pass directly to the destination without scheduling, set direct mode (snd_seq_ev_set_direct()).
Note that this event is used to control the timer, too. For example, stopping the running timer queue, you send an event SND_SEQ_EVENT_STOP with snd_seq_ev_queue_control_t data (with the given queue id) to the system timer port (0:0).
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV