Re: [LAD] MIDI-2-TCP, TCP-2-MIDI

From: Jonathan Brickman <jeb@email-addr-hidden>
Date: Wed Sep 05 2018 - 23:05:44 EEST

Alexandre, what library/libraries/code base are you using for
MIDI-over-TCP? Can you give a URL or two?

J.E.B.

On Wed, Sep 5, 2018 at 2:39 PM Alexandre Ratchov <alex@email-addr-hidden> wrote:

> On Sat, Sep 01, 2018 at 04:49:48PM -0500, Jonathan E. Brickman wrote:
> >
> > I had not realized that TCP could produce timing errors, I do understand
> that
> > now, I remember that being a challenge in the early development of
> streaming
> > audio. I wonder if OSC2MIDI can use OSC time tag data to handle:
> > http://opensoundcontrol.org/spec-1_0
> >
> > I am working on compiling OSC2MIDI right now, does not appear trivial,
> we'll
> > see :-)
> >
>
> I throw few thoughts as I use a lot midi-over-tcp:
>
> On switched ethernet, latency is excelent and the physical link is
> reliable. If the network is not busy there are no packet drops and no
> delays caused by tcp retransmissions. I've never seen retransmission
> in normal conditions.
>
> If the network is busy, the host and/or the routers could be
> configured to prioritize and reserve bandwidth for the midi traffic
> and avoid retransmissions.
>
> If you use udp or alike, you'll have to detect packet loss (otherwise
> note-off events may be lost and certain notes would sound forever),
> and retransmit packets by yourself, which is basically what tcp does
> for us.
>
> HTH
>
> -- Alexandre
>

-- 
​
Jonathan E. Brickman   jeb@email-addr-hidden   (785)233-9977
<(785)%20233-9977>
Hear us at ponderworthy.com -- CDs and MP3 now available!
<http://ponderworthy.com/ad-astra/ad-astra.html>
Music of compassion; fire, and life!!!

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Thu Sep 6 00:15:01 2018

This archive was generated by hypermail 2.1.8 : Thu Sep 06 2018 - 00:15:01 EEST