<div dir="ltr">thanks Miller and Rich for the help.  <br><br><div>We thought at first that it might be better to package all our pattern data together, but after reading what you guys have written, i can see that individual values should be the best way to go.</div>
<div><br></div><div>We do have some arrays though, so that <span style="font-family:arial,sans-serif;font-size:13px">PdBase copyArray* will hopefully work for that. </span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">thanks again!  Matt</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 11, 2014 at 10:44 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;d second what Miller said, for a different reason though: every time you send a message from your app&#39;s main thread (the iOS / obj-c bits) into pd (the libpd bits), a mutex will lock because the audio thread runs on a different thread and needs to be synchronized.  Breaking the lists down (not all the way down, just not one giant list) will mean that the synchronization takes less time, so less chance of dropping audio packets.<div>

<br></div><div>Also, if you can, I&#39;d store as much data as you can in pd arrays, and then send across lookup information instead.  Pd arrays can also be filled from the C side as well (look for PdBase copyArray*), but keep in mind this will also require sync&#39;ing, so you may have to watch how large the arrays are if they are being filled while audio DSP is running.</div>

<div><br></div><div>cheers,</div><div>Rich</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 3, 2014 at 12:15 PM, Billy Stiltner <span dir="ltr">&lt;<a href="mailto:billy.stiltner@gmail.com" target="_blank">billy.stiltner@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">:)<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Apr 30, 2014 at 5:57 AM, Miller Puckette <span dir="ltr">&lt;<a href="mailto:msp@ucsd.edu" target="_blank">msp@ucsd.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matt -<br>
<br>