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

Jonathan Brickman jeb at ponderworthy.com
Wed Sep 5 22:05:44 CEST 2018


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 at caoua.org> 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 at ponderworthy.com   (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!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/linux-audio-dev/attachments/20180905/e151ac04/attachment.html>


More information about the Linux-audio-dev mailing list