Just to see if I got that right, the rip is:<br><br>keyboard -&gt; YOKE in -&gt; YOKE OUT -&gt; PD IN -&gt; PD OUT  -&gt; YOKE IN -&gt; YOKE OUT -&gt; CUBASE IN<br><br>&gt;The sluggish response is clearly due to Pd. Also, it&#39;s consistent whether Pd&#39;s patch window is in or &gt;out of edit mode.<br>

How can you be sure? You are making two trips using that patching software (I confess I had no clue what MIDI-OX was previous to your thread), there&#39;s latency in all of the above hops (MIDI message passing through softwares) . <br>

<br>Do you tried to see how is Pd&#39;s latency in a &quot;simple play sine wave with MIDI note&quot; patch? that will give you the response time of keyboard -&gt; PD.<br>Then test the oposite, sending PD to your soundcard MIDI and playing some device or other solution, allowing you to test the output (by generating a MIDI message within PD and route it out od PD).<br>

<br>Maybe those measures could be helpful for now,<br>Best regards and good luck,<br>Pedro Lopes<br>p.s. just for comparison I use MIDI in PD in WinXP without any noticeable latency, although only in Linux I do fancy patching in-out and have no noticeable latency (using everything in realtime).<br>

<br><div class="gmail_quote">On Sun, Jun 6, 2010 at 12:26 AM, Jim Aikin <span dir="ltr">&lt;<a href="mailto:midiguru23@sbcglobal.net">midiguru23@sbcglobal.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I&#39;m running 0.41.4 Extended on a 64-bit Windows 7 system. I&#39;ve installed MIDI Yoke to route incoming MIDI from my keyboard through Pd and thence to Cubase 5.1.<br>
<br>
What I&#39;m finding is that with the simplest possible notein-to-noteout patch, Pd&#39;s MIDI throughput latency is very consistently on the order of 100ms -- plainly unacceptable for real-time performance. Needless to say, Cubase is using ASIO, and has no problem producing low-latency MIDI response when I use a direct MIDI input. The sluggish response is clearly due to Pd. Also, it&#39;s consistent whether Pd&#39;s patch window is in or out of edit mode.<br>


<br>
To test whether MIDI Yoke might be the culprit, I opened MIDI-Ox and routed the physical MIDI input to a MIDI Yoke channel. The latency was maybe a tiny bit greater than via a direct routing into Cubase (maybe), but it was much, much less than with Pd.<br>


<br>
The section in the Pd manual on scheduling doesn&#39;t mention MIDI latency at all; it&#39;s strictly about audio DSP load. I can&#39;t find anything else in the manual that seems even faintly relevant. I did find (somewhere ... on the wiki?) a mention that the timing of metro would be improved if I ran with the command line pd -noaudio, so I opened a Command Prompt and tried that. It didn&#39;t change anything.<br>


<br>
It seems very odd to me that Pd can handle audio streams without glitching, yet it can&#39;t process three bytes of MIDI data in less than 100ms. Is this user error on my part? Can anyone suggest how I can reduce or eliminate the delay? Thanks for any tips!<br>


<br>
--Jim Aikin<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes">http://web.ist.utl.pt/Pedro.Lopes</a> <br>