From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Tempo event in a Midi sequencer... Date: Thu, 21 Jun 2012 08:34:55 +0200 Message-ID: <4FE2C08F.3050307@ladisch.de> References: <1340223429.16177.YahooMailClassic@web29601.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by alsa0.perex.cz (Postfix) with ESMTP id 8A9F11040DE for ; Thu, 21 Jun 2012 07:13:44 +0200 (CEST) In-Reply-To: <1340223429.16177.YahooMailClassic@web29601.mail.ird.yahoo.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Ru Vuott Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Ru Vuott wrote: > I have some little problem about changing the metronomic Tempo within a midi song. > Looking for a solution, I had a look at the code of your Aplaymidi, and I saw this statement: > > case 0x51: /* tempo */ > ...... > ...etc > event->type = SND_SEQ_EVENT_TEMPO; > ...etc, > > so, I thought that the change of Tempo occur simply by sending an event > Instead, listening to the midi track, the change does not happen! Have a look into play_midi; that event must be sent to the system timer port. Regards, Clemens