[yoshimi] Re: midi vs usb

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Tue, 21 Nov 2017 20:33:12 +0000

Hmmm,

Detecting latency is a very variable quantity! It depends a great deal on the
nature of the music, and the attack/decay times of the actual sounds. The more
percussive and sharp edged, the more timing discreapancies are noticeable.

The shortest possible MIDI message is actually three bytes long, which is
approximately 1mS.

Class 2 USB also (I think) has a frame size of 1mS. However you can stuff a lot
of MIDI messages in one frame!

Finally, once you are inside the machine, all messages can be regarded as
instantaneous.

In practice, I don't seem to have any issues with typically 7-8 tracks active
at the same time. However, I *play* them one at a time, and record them as MIDI
in Rosegarden, then play them from there while recording the next track.


Of course, all of this disregards other sources of latency, which may not be
what they seem.

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: