[linux-audio-dev] midi 'resolution'

Clemens Ladisch clemens at ladisch.de
Tue Mar 18 03:03:00 UTC 2003


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





More information about the Linux-audio-dev mailing list