Re: midi realtime events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 31 Jul 2006 14:05:50 +0200,
Dirk Jagdmann wrote:
> 
> 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux