[alsa-devel] Tempo event in a Midi sequencer...

Clemens Ladisch clemens at ladisch.de
Thu Jun 21 08:34:55 CEST 2012

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.


More information about the Alsa-devel mailing list