Re: Lost Midi Packets over Wifi Network
Re: Lost Midi Packets over Wifi Network
- Subject: Re: Lost Midi Packets over Wifi Network
- From: Michael Tyson <email@hidden>
- Date: Thu, 23 Feb 2012 10:43:33 +0100
Hi Paul - I can confirm that it's not just you. This has happened before to me, too. In fact, when I was using it to send SysEx messages, I actually had to implement my own reliability protocol that kept packet sequence numbers and implemented a retransmission request scheme.
RTP-MIDI (the protocol for sending MIDI over the network) is usually built upon UDP, but it does apparently include some provisions against packet loss. Perhaps if the network is particularly lossy (or congested), the measures put in place aren't sufficient, however.
So - do you have any control over the network environment? Try a different WiFi channel, maybe?
On 22 Feb 2012, at 02:33, Paul Eastman wrote:
> Hi Folks,
> Hoping this is the correct place for CoreMIDI questions, apols for off topic post if not.
> I wonder if anybody could give advice about sending Midi note messages over a Wifi Network for a stage performance.
> We have a basic iPad App that is sending Note On messages to a Mac using a MidiNetworkSession over a Wifi connection.
> All messages are received perfectly most of the time, but occasionally a string of note messages just don't make it, at all.
> All packets are time-stamped at zero, and we've put the Midi messages on a separate thread to prevent the UI from interfering.
> I'm not aware of any way to check if messages have been received correctly, wondering if anyone could suggest why packets are occasionally lost?
> Looking forward to your thoughts,
> Paul.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden