<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MIDI latency in PD]]></title><description><![CDATA[<p>Hi to all, this is my first post in this forum.<br />
I'm trying to use PD's patches inside my setup, and now I'm struggling with the MIDI latency that PD creates.</p>
<p>First of all, I'm a drummer and I use a drumpad(DrumKat) to trigger samples on my laptop, so for me the latency is a 1st class problem.<br />
I have two setups: one with Ubuntu 10.04(Kernel 2.6.33-29-realtime) + jack, and the other with OSX leopard + jackosx. The first one is the more tested.</p>
<p>I want to know the latency that PD creates between notein-noteout process.<br />
To do this, I simply connected my drumpad to PD's midiin, PD's midiout to PD's midiin, and opened my patch(attached to this post).</p>
<p>If the patch is right, there is a link between jack's latency and PD's MIDI latency.<br />
If I set jack's framebuffer to 256, I have 11.6 msec of audio latency and 5.8 ms of PD's MIDI latency.<br />
If I set jack's framebuffer to 128, I have 5.8 msec of audio latency and 2.9 ms of PD's MIDI latency.</p>
<p>Is this correct? Is there a way to reduce MIDI latency without changing the audio latency of jack?</p>
<p>Thank you and sorry for my english.</p>
<p>Nicola</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/pd-midi_latency_test.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/pd-midi_latency_test.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 14:53:10 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/4584.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Dec 2010 13:35:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MIDI latency in PD on Wed, 29 Dec 2010 13:35:56 GMT]]></title><description><![CDATA[<p>Hi to all, this is my first post in this forum.<br />
I'm trying to use PD's patches inside my setup, and now I'm struggling with the MIDI latency that PD creates.</p>
<p>First of all, I'm a drummer and I use a drumpad(DrumKat) to trigger samples on my laptop, so for me the latency is a 1st class problem.<br />
I have two setups: one with Ubuntu 10.04(Kernel 2.6.33-29-realtime) + jack, and the other with OSX leopard + jackosx. The first one is the more tested.</p>
<p>I want to know the latency that PD creates between notein-noteout process.<br />
To do this, I simply connected my drumpad to PD's midiin, PD's midiout to PD's midiin, and opened my patch(attached to this post).</p>
<p>If the patch is right, there is a link between jack's latency and PD's MIDI latency.<br />
If I set jack's framebuffer to 256, I have 11.6 msec of audio latency and 5.8 ms of PD's MIDI latency.<br />
If I set jack's framebuffer to 128, I have 5.8 msec of audio latency and 2.9 ms of PD's MIDI latency.</p>
<p>Is this correct? Is there a way to reduce MIDI latency without changing the audio latency of jack?</p>
<p>Thank you and sorry for my english.</p>
<p>Nicola</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/pd-midi_latency_test.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/pd-midi_latency_test.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd</guid><dc:creator><![CDATA[bamboomusic]]></dc:creator><pubDate>Wed, 29 Dec 2010 13:35:56 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Wed, 29 Dec 2010 22:08:33 GMT]]></title><description><![CDATA[<p>MIDI out in Pd is synced with the audio output buffer. I'm not entirely sure why this is. I think it is meant to allow external synths to sync up correctly with Pd's audio, but I don't really think this would work unless it's an analog synth, and I don't think it's worth it. And it doesn't matter if you have DSP on or off.</p>
<p>But anyway, to reduce the latency you'll need to reduce Pd's latency in the audio settings dialog as low as you can get it. If you're just doing MIDI processing (i.e. [notein] -&gt; process -&gt; [noteout]), you can run that in it's own instance of Pd and reduce the audio buffer to a minimum. Then have the audio stuff in its own instance.</p>
<p>As far as I know, this is only an issue with MIDI output. I don't think it's an issue with input, so if you're just triggering audio in Pd with MIDI and aren't sending MIDI events out, it shouldn't be something to worry about.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/2</guid><dc:creator><![CDATA[Maelstorm]]></dc:creator><pubDate>Wed, 29 Dec 2010 22:08:33 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Thu, 30 Dec 2010 22:57:40 GMT]]></title><description><![CDATA[<p>Thanks! This is exactly what I needed to know. I tryed the two instances of PD and it worked great.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/3</guid><dc:creator><![CDATA[bamboomusic]]></dc:creator><pubDate>Thu, 30 Dec 2010 22:57:40 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Tue, 03 May 2011 13:30:33 GMT]]></title><description><![CDATA[<p>Hello, I'm having a similar problem but can't find latency anywhere in Pds audio settings.</p>
<p>I've got a MIDI keyboard triggering samples in buffers. So there's a [notein] taking MIDI notes which are assigned with a [sel 1 2 3 4 etc] object to buffers which have little samples for each key in.</p>
<p>There is a considerable delay between pressing the key and hearing the sound.</p>
<p>I've also got a [key] object for using the computer keyboard to select the different sounds that go in to the buffers and there's an even larger delay between pressing the key and the sound changing.</p>
<p>Help!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/4</guid><dc:creator><![CDATA[gubbins]]></dc:creator><pubDate>Tue, 03 May 2011 13:30:33 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Tue, 03 May 2011 13:32:23 GMT]]></title><description><![CDATA[<p>Oh I'm using windows xp I should probably say</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/5</guid><dc:creator><![CDATA[gubbins]]></dc:creator><pubDate>Tue, 03 May 2011 13:32:23 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Tue, 03 May 2011 16:34:32 GMT]]></title><description><![CDATA[<p>Media -&gt; Audio Settings -&gt; delay (msec)</p>
<p>Perhaps you were hoping for latency compensation?</p>
<p>I find 20ms the threshold for suitable keyboard playing.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/6</guid><dc:creator><![CDATA[PonZo]]></dc:creator><pubDate>Tue, 03 May 2011 16:34:32 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Wed, 04 May 2011 10:00:24 GMT]]></title><description><![CDATA[<p>Yeah I changed that but it won't stay changed. I put in a new value and press apply and ok but then when I open it again it's gone back to the original value. Grr!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/7</guid><dc:creator><![CDATA[gubbins]]></dc:creator><pubDate>Wed, 04 May 2011 10:00:24 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Thu, 05 May 2011 10:43:54 GMT]]></title><description><![CDATA[<p>Help!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/8</guid><dc:creator><![CDATA[gubbins]]></dc:creator><pubDate>Thu, 05 May 2011 10:43:54 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Thu, 05 May 2011 17:10:22 GMT]]></title><description><![CDATA[<p>Look at the flossmanual and use startup flags (err -audiobuff 20 ?) to set your latency.</p>
<p>And get Jack, though I don't know much about PD on windows other than that some people have reported impressively low latencies. Search the forum.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/9</guid><dc:creator><![CDATA[PonZo]]></dc:creator><pubDate>Thu, 05 May 2011 17:10:22 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Mon, 09 May 2011 18:58:04 GMT]]></title><description><![CDATA[<p>oh wooow, thanks, I struggled for months with the default latency, and I blamed the wifi connection... (using pd with touchosc and an ipad). set it to 1ms with audio off, works perfectly.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/10</guid><dc:creator><![CDATA[troublegum]]></dc:creator><pubDate>Mon, 09 May 2011 18:58:04 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Mon, 16 May 2011 12:11:49 GMT]]></title><description><![CDATA[<p>Nope, setting delay to 20 does make the latency a bit better but destroys the quality of the audio, making it sound almost as if it's been shredded.</p>
<p>??</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/11</guid><dc:creator><![CDATA[gubbins]]></dc:creator><pubDate>Mon, 16 May 2011 12:11:49 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Tue, 17 May 2011 03:12:16 GMT]]></title><description><![CDATA[<p>You'll have to use ASIO drivers if you're on windows. also make sure you hit &quot;save all settings&quot; before you hit apply and ok. If it still doesn't stick, then use the startup flags.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/12</guid><dc:creator><![CDATA[atarikai]]></dc:creator><pubDate>Tue, 17 May 2011 03:12:16 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Thu, 02 Jan 2020 23:09:56 GMT]]></title><description><![CDATA[<p>I have asio drivers installed but they can't be selected anywhere as audio outputs</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/13</guid><dc:creator><![CDATA[phil123456]]></dc:creator><pubDate>Thu, 02 Jan 2020 23:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to MIDI latency in PD on Thu, 02 Jan 2020 23:14:04 GMT]]></title><description><![CDATA[<p>found the answer here<br />
<a href="http://booki.flossmanuals.net/pure-data/getting-started/configuring" rel="nofollow">http://booki.flossmanuals.net/pure-data/getting-started/configuring</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/4584/midi-latency-in-pd/14</guid><dc:creator><![CDATA[phil123456]]></dc:creator><pubDate>Thu, 02 Jan 2020 23:14:04 GMT</pubDate></item></channel></rss>