* midi realtime events
@ 2006-07-31 12:05 Dirk Jagdmann
2006-07-31 18:17 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Dirk Jagdmann @ 2006-07-31 12:05 UTC (permalink / raw)
To: Alsa-devel
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.
--
---> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: midi realtime events
2006-07-31 12:05 midi realtime events Dirk Jagdmann
@ 2006-07-31 18:17 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2006-07-31 18:17 UTC (permalink / raw)
To: Dirk Jagdmann; +Cc: Alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-31 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31 12:05 midi realtime events Dirk Jagdmann
2006-07-31 18:17 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.