From: Takashi Iwai Subject: Re: midi realtime events Date: Mon, 31 Jul 2006 20:17:27 +0200 Message-ID: References: <44CDF21E.7000803@cubic.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44CDF21E.7000803@cubic.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Dirk Jagdmann Cc: Alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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