Highly Liquid Forum facebook twitter google plus rss feed
Old 10-04-2011, 03:28 PM
John's Avatar
John John is offline
Join Date: Jan 2009
Posts: 3,007
Default MIDI response latency questions

J. writes:

I am interested in using your MD24 MIDI decoder for driving a light display with musical intruments. Do you know what the time delay is between when the MD24 receives a MIDI note on signal and when it outputs a logic level HI? I think this is termed "latency" and is usually given in milliseconds.
The short answer is:

The latency of the MD24 is very close to zero and is negligible compared to the latency of the MIDI signal itself (which is somewhere between roughly 0.5ms and 1ms for a message like note-on).

The longer answer:

The MD24 uses a microcontroller that executes 8 million instructions per second. That's .125 us (microseconds) per instruction. The MD24 might execute a few hundred instructions to process a MIDI event and change its output state. The exact number varies depending on the configuration & type of event.

A conservative estimate might be 300 instructions. So the latency on that would be:

300 * .125 us = 37.5 us = .0375 milliseconds.

So you can see that this is very small compared to the time it takes the MIDI message to travel thru the serial MIDI interface.

Hope this helps.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 12:52 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.