<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Lucas,</div><div><br></div><div>I tried your patch on a MacBook Pro 2.7 GHz Intel Core i5 16 GB of ram and I can easily send SysEx from your patch faster then 3 ms (1 ms is more than fine and I'm sure we can go even faster).</div><div>I'm using a virtual MIDI port by the way. In fact the point is, if we're talking about MIDI over MIDI DIN, there are some limitations. The max you can cope with is roughly 3 bytes per msec (see MIDI HW baudrate), then of course the HW device would probably have some internal buffer to use in case it receives more msg than can actually handle.</div><div>In terms of USB MIDI the bandwidth is way bigger than that. We are talking about 12 Mbit per second for a USB 1.0 device (let's say a class compliant device that then doesn't use any special driver). I remember I found once in the portmidi source code (<a href="https://sourceforge.net/projects/portmedia/files/portmidi/217/">https://sourceforge.net/projects/portmedia/files/portmidi/217/</a> - pmmacosxcm.c) a comment that says:</div><div><br></div><div>/* maximum overall data rate (OS X limit is 15000 bytes/second) */</div><div>and then</div><div>#define MAX_BYTES_PER_S 14000</div><div><br></div><div>I'm assuming other OSs would deal with something at least similar to that (I know Windows is not as good as MacOS on that, and unfortunately Linux with ALSA neither).</div><div>In my case I'm using and class compliant HW device connected via USB.</div><div>I know for sure MidiMonitor, Max/MSP and Python (using python-rtmidi) can handle this data.</div><div>I'll try to create something we can use to test this and open an issue on github.</div><div><br></div><div>Cheers,</div><div>Mario<br></div><div><br></div><div><br></div><div><br></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 11 Feb 2019 at 15:19, Lucas Cordiviola <<a href="mailto:lucarda27@hotmail.com">lucarda27@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div bgcolor="#FFFFFF">
<p>I did a test patch (attached)<br>
<br>
- I can send 7 byte sysex messages up to every 3ms<br>
<br>
- I can send noteout up to every 2ms<br>
<br>
This tests gave same results if using a midicable (cable loop on the sound-card) or using a virtual driver.</p>
<p><br>
</p>
<p><br>
</p>
<pre class="gmail-m_613584953827724564moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
<div class="gmail-m_613584953827724564moz-cite-prefix">On 2/11/2019 10:55 AM, Dan Wilcox wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">(responding again in thread)
<div><br>
</div>
<div>It is most likely a bug, maybe introduced in the MIDI overhaul I did for 0.48. Does the same issue occur in 0.47?</div>
<div>
<div><br>
</div>
<div>Can make a *re-produceable* patch and/or project for testing and open an issue on the pure-data Github repo? The simplest thing for me would be the syses messages you're sending as bytes.</div>
<div><br>
</div>
<div>You could also check the output of the midi tester patch I added:</div>
</div>
<div><br>
</div>
<div>Browser -> Pure Data/7.stuff/tools/miditester.pd</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br>
<br>
Not too long ago I wrote here reporting an issue with receiving SysEx<br>
messages.<br>
When Pd receives a big quantity of SysEx, the MIDI IN port 'gets stuck' and<br>
then you need to go to 'Media->MIDI settings...' and re-select the port,<br>
otherwise no MIDI messages will be received anymore.<br>
Here's a video that shows the issue:<br>
<a href="https://vimeo.com/316526250" rel="noreferrer" target="_blank">https://vimeo.com/316526250</a><br>
it's a private video, the pass is: sysexissue<br>
Does anybody know what could cause this behavior and if it's possible to<br>
'fix it'?<br>
The first time I reported it, it was when I stumbled on this using my<br>
personal Linux machine and Miller Puckette suggested to change the MIDI<br>
buffer in the source code, but unfortunately also setting that to something<br>
insane like 2^20, the issue was still there.<br>
Now I double checked on MacOS Sierra and Windows 10 and it is the same.<br>
<br>
Cheers,<br>
Mario</blockquote>
<div> </div>
</div>
-- <br>
<div dir="ltr" class="gmail-m_613584953827724564gmail_signature">
<div dir="ltr">
<div>Dan Wilcox</div>
<div>@danomatika<br>
<a href="http://danomatika.com" target="_blank">danomatika.com</a><br>
<a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div>
</div>
</div>
</div>
<br>
<fieldset class="gmail-m_613584953827724564mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_613584953827724564moz-quote-pre">_______________________________________________
<a class="gmail-m_613584953827724564moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="gmail-m_613584953827724564moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</div>

</blockquote></div>