<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:#000000">Alexandre, what library/libraries/code base are you using for MIDI-over-TCP?  Can you give a URL or two?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:#000000">J.E.B.</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 5, 2018 at 2:39 PM Alexandre Ratchov <<a href="mailto:alex@caoua.org">alex@caoua.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Sep 01, 2018 at 04:49:48PM -0500, Jonathan E. Brickman wrote:<br>
> <br>
> I had not realized that TCP could produce timing errors, I do understand that<br>
> now, I remember that being a challenge in the early development of streaming<br>
> audio. I wonder if OSC2MIDI can use OSC time tag data to handle:<br>
> <a href="http://opensoundcontrol.org/spec-1_0" rel="noreferrer" target="_blank">http://opensoundcontrol.org/spec-1_0</a><br>
> <br>
> I am working on compiling OSC2MIDI right now, does not appear trivial, we'll<br>
> see :-)<br>
> <br>
<br>
I throw few thoughts as I use a lot midi-over-tcp:<br>
<br>
On switched ethernet, latency is excelent and the physical link is<br>
reliable. If the network is not busy there are no packet drops and no<br>
delays caused by tcp retransmissions.  I've never seen retransmission<br>
in normal conditions.<br>
<br>
If the network is busy, the host and/or the routers could be<br>
configured to prioritize and reserve bandwidth for the midi traffic<br>
and avoid retransmissions.<br>
<br>
If you use udp or alike, you'll have to detect packet loss (otherwise<br>
note-off events may be lost and certain notes would sound forever),<br>
and retransmit packets by yourself, which is basically what tcp does<br>
for us.<br>
<br>
HTH<br>
<br>
-- Alexandre<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span><span style="color:rgb(153,51,0);font-size:14px;font-style:italic;background-color:rgb(255,255,255)"><div style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0);display:inline">​</div>Jonathan E. Brickman   </span><a href="mailto:jeb@ponderworthy.com" style="font-size:14px;font-style:italic" target="_blank">jeb@ponderworthy.com</a><span style="color:rgb(153,51,0);font-size:14px;font-style:italic;background-color:rgb(255,255,255)">   <a href="tel:(785)%20233-9977" value="+17852339977" target="_blank">(785)233-9977</a></span><br style="color:rgb(153,51,0);font-size:14px;font-style:italic"><span style="color:rgb(153,51,0);font-size:14px;font-style:italic;background-color:rgb(255,255,255)">Hear us at </span><a href="http://ponderworthy.com/" style="font-size:14px;font-style:italic" target="_blank">ponderworthy.com</a><span style="color:rgb(153,51,0);font-size:14px;font-style:italic;background-color:rgb(255,255,255)"> -- CDs and MP3 </span><a href="http://ponderworthy.com/ad-astra/ad-astra.html" style="font-size:14px;font-style:italic" target="_blank">now available!</a><br style="color:rgb(153,51,0);font-size:14px;font-style:italic"><span style="color:rgb(153,51,0);font-size:14px;font-style:italic;background-color:rgb(255,255,255)">Music of compassion; fire, and life!!!</span><div><br></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>