<div dir="ltr">Here is another question for the libpd4unity crew:<div><br><div>What is the right approach for mixing audio generated by PD, with audio generated by Unity?</div><div>It seems that my "AudioListener" component attached to my "LibPd" game object is preventing any other Unity AudioSources to play sound.  </div><div><br></div><div>Any experience with this?</div><div><br></div><div>Thank you,</div><div><br></div><div>Ali</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 24, 2016 at 7:23 PM, Ali Momeni <span dir="ltr"><<a href="mailto:batchku@gmail.com" target="_blank">batchku@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>My answers in line below:</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Oct 24, 2016 at 6:56 PM, Scott R. Looney <span dir="ltr"><<a href="mailto:scottrlooney@gmail.com" target="_blank">scottrlooney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="m_4252148117884138575gmail-"><div><br></div></span><div>Android latency is often a fact of life, even by that much. one question is whether you're getting that latency playing it in the Editor. if not, that may be a libpd question that would need answering. you might also reach out to Sebastian(hagish) to ask him, though he might be no longer working with libpd since Kalmiba wasn't updated in a while. he did in fact say that Android latency was an issue in the Read Me. however you might have more luck with this fork which has a latency fix in Android. not sure how good it is, but it's been updated about a year ago:</div><div><br></div><div><a href="https://github.com/marcinkaszynski/kalimba" target="_blank">https://github.com/marcinkaszy<wbr>nski/kalimba</a></div></div></div></div></blockquote><div><br></div></span><div>This is great to know; i will try that.</div><div>To answer your question, I do not have this latency issue in the editor. </div><div>Even more importantly, I don't have this issue when i build the same Pd patch for android, using the libpd4unity approach, as i've done here:</div><div><a href="https://github.com/cmuartfab/libpd4unity-starter" style="font-size:12.8px" target="_blank">https://github.com/cmuartfab/l<wbr>ibpd4unity-starter</a></div><span class=""><div><a href="https://github.com/cmuartfab/libpd4unity-starter" style="font-size:12.8px" target="_blank"></a> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><span class="m_4252148117884138575gmail-"><div><br></div></span><div>@ali - as i understand it, creating instances of PD/libpd has been discussed for a while as a positive step. i haven't had a need for it yet but others on this list have discussed benefits, mostly in terms of both power and resource management. there are drawbacks as well, but unfortunately i don't know the particulars. one instance is enough for me for the moment though. but i think the strength is dynamically spawning and killing resources as needed.</div></div></div></div></blockquote><div><br></div></span><div>Good to know; thanks scott.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>ali </div></font></span><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>best,</div><div>scott</div><span class="m_4252148117884138575gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><br><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"><div><div class="m_4252148117884138575gmail-m_-5982287275320504239gmail-h5"><br></div></div><span class="m_4252148117884138575gmail-m_-5982287275320504239gmail-">______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
<br></span></blockquote></div><br></div>
</blockquote></span></div><br></div></div>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div>