Skip to main content
forums, blogs, song critique, support & more...

MIDI cables lenght?

hello all :)

could a MIDI cable lenght affect in some way the latency?

Tags

Comments

Vaylence Mon, 04/17/2006 - 08:58

The midi cable itself probably will not induce any audible latency. If you are running like 100 ft of cable you may get a few microseconds delay, but most people cant notice less than 20 milliseconds. I would wonder what your buffers are set at, and maybe the midi box you are using. Those would be my guesses as to where the delay is coming from.

Profile picture for user Cresta

Cresta Mon, 04/17/2006 - 10:50

oh nope nope, I didn't get any latency, it was just a questions arose between friends, and I was only searching for an answer from a true expert. That's all... :)

thanks very much for the answer :)

Vaylence Tue, 04/18/2006 - 21:31

For a real answer we could go the physics route, lets explore.

Electricity travels at 186,282.397 miles per second.

convert to feet to be a little more usefull

186,282.397 mi | 5280 ft
......................s.........1 mi

this gives us 983,571,056.16 ft/sec

This means that for you to achieve one second of delay you would have to have a cable that is almost a billion feet long.

A human moment lasts about 20ms.

at 1000ms / s that gives us a cord length of about a million feet

times 20 (cause 1 ms is way to fast for anyone to notice) equals 1,967,142.11232 or almost 2 million feet long.

So to answer your question with any degree of scientific backing, you would need a MIDI cable almost 2 million feet long to notice a delay. Of course this is all theoretical and actuall resuslt may very, but you get the idea.

yay for physics

Profile picture for user MadTiger3000

MadTiger3000 Sun, 04/23/2006 - 07:32

Vaylence wrote: For a real answer we could go the physics route, lets explore.

Electricity travels at 186,282.397 miles per second.

convert to feet to be a little more usefull

186,282.397 mi | 5280 ft
......................s.........1 mi

this gives us 983,571,056.16 ft/sec

This means that for you to achieve one second of delay you would have to have a cable that is almost a billion feet long.

A human moment lasts about 20ms.

at 1000ms / s that gives us a cord length of about a million feet

times 20 (cause 1 ms is way to fast for anyone to notice) equals 1,967,142.11232 or almost 2 million feet long.

So to answer your question with any degree of scientific backing, you would need a MIDI cable almost 2 million feet long to notice a delay. Of course this is all theoretical and actuall resuslt may very, but you get the idea.

yay for physics

Good to know for when I collaborate with my interstellar friends.

Profile picture for user ecc83

ecc83 Wed, 04/26/2006 - 11:18

Ref MIDI cables. I dont know a lot about midi but I have read that the max reccomended length is 15mtr(50ft to you colonials) and I am sorry but electricitry does NOT move at the speed of light this is a popular misconception. Radio wave move at C and signals in co-ax move at a fair fraction of it, but not electric current. Think about it. electricity is the motion of electrons along a conductor, they"hop" from atom to atom.
Now an electron has mass.Not much I grant you, about 1/2000th of a proton, but mass nontheless and nothing having mass can move at C.
If you are reading this on a crt monitor electrons are zooming toward you at a fair lick, but nowhere near the speed of light! This problem of moving electrons ever faster is why we have reached a possible limit on how fast computers can get.

Kev Wed, 04/26/2006 - 14:16

err
yeah

either way they move way fast enough
even over great distance
to land well inside ... 1 midi tick ... as it used to be known as

the smallest midi word ... so to speak
which is faster today than it was back in the early 80's when we first started to change from Korg style Clocking to the new fandangled MIDI
Musical Instrument Data Interface
later someone decided that D stood for Digital

OT Kev !!!

back to the point

cable length will not cause Midi Latency
8)

djrr3k Fri, 04/28/2006 - 13:08

Easy answer, MIDI cable length doesn't affect transmission speed (31.25kbps if I'm not mistaken). However resistance in the cable is a factor and you will have missed messages if your cable is too long.

Cheers,
-Ryan-

Profile picture for user Cresta

Cresta Wed, 05/10/2006 - 04:20

oh... so many complicated answers :shock:
well, the one thing that do really matter is that a "normal lenght cable" do not affect latency :)

Profile picture for user nnnnnn

nnnnnn Fri, 05/08/2020 - 22:59

ecc83, post: 196443, member: 28682 wrote: Ref MIDI cables. I dont know a lot about midi but I have read that the max reccomended length is 15mtr(50ft to you colonials) and I am sorry but electricitry does NOT move at the speed of light this is a popular misconception. Radio wave move at C and signals in co-ax move at a fair fraction of it, but not electric current. Think about it. electricity is the motion of electrons along a conductor, they"hop" from atom to atom.
Now an electron has mass.Not much I grant you, about 1/2000th of a proton, but mass nontheless and nothing having mass can move at C.

The speed of the individual electrons within the cable is not the relevant factor here, because the speed of the electrical signal down a cable isn't based on individual electrons getting from one end to the other. The velocity factor of a good MIDI cable will be about 50-70% of the speed of light. Now obviously 50% is a lot less than 100%, but 50% of the speed of light is still very, very fast.

Excessively long cable runs may have a problem with signal degradation, which may result in glitches that are misinterpreted as a latency problem.

Profile picture for user nnnnnn

nnnnnn Sat, 05/09/2020 - 00:29

paulears, post: 464118, member: 47782 wrote: I suspect after 15 years he may have worked this out!

This is a thread about latency...

x