Re: [linux-audio-dev] midi 'resolution'

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] midi 'resolution'
From: Clemens Ladisch (clemens_AT_ladisch.de)
Date: Tue Mar 18 2003 - 09:53:20 EET


Lukas Degener wrote:
> In a system/application, that recieves external midi data of any kind,
> is there anything one can assume about _when_ some midi data is recieved?

The data is received when the hardware raises an interrupt to notify the
driver that some data is available, which can be at any time. (see
Martijn's answer)

> i mean, with audio data, you have the buffer size of the dac/adc, which
> (together with sampling rate) enforces some kind of "global clock"
> impulse/trigger in your system.
>
> Is there anything similar with midi data?

Usually no.

With USB (1.x), however, interrupts are generated at the end of each 1ms
frame only.

HTH
Clemens


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Mar 18 2003 - 09:50:46 EET