<div dir="ltr"><div><div>Hi Onyx,<br><br></div>What is your aim, do you want to entertain your (physically present) audience via smart phones instead of PA system? <br><br>I have a similar quest pending: to send Pd audio from a wearable computer over wireless to PA system. It&#39;s simpler than your purpose (because it does not involve an internet browser), but still complicated enough. So far I&#39;ve learned that UDP is the preferred protocol for real time audio transmission, because it can go one way without the time-consuming error-checking and recovery. <br>
<br>Smart phones only do wireless, and wireless suffers a lot from packet loss, and packet loss must be concealed with clever dsp routines. Besides that, there is the (in this case relatively minor) issue of clock drift between two sound card clocks. Even if you send audio between two computers with [udpsend~] / [udpreceive~] over an ad hoc (point to point) wireless network you&#39;ll notice these issues. Just try it with two laptops and you&#39;ll see what I mean to say (here&#39;s how to set up ad hoc wireless network: <a href="https://help.ubuntu.com/community/WifiDocs/Adhoc">https://help.ubuntu.com/community/WifiDocs/Adhoc</a>). <br>
<br></div><div>Still I think that ad hoc networking would be the way to go for low latency local wireless connection. It would not work with regular internet browsers though. A yet to design (Pd or Jack based) app would be required at the receiving end, which does packet concealment and clock drift compensation. <br>
<br></div><div>About clock drift compensation, Miller Puckette had a hint a while ago, very probably referring to this article:<br><br><a href="http://kokkinizita.linuxaudio.org/papers/adapt-resamp.pdf">http://kokkinizita.linuxaudio.org/papers/adapt-resamp.pdf</a><br>
<br><br></div><div>Katja<br></div><div><br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 4:14 PM, <a href="mailto:onyx@onyx-ashanti.com">onyx@onyx-ashanti.com</a> <span dir="ltr">&lt;<a href="mailto:onyxashanti@gmail.com" target="_blank">onyxashanti@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"><div><div><div><div><div>Greetings!  I hope all is well with you.  I wanted to ask if i might gain some of your insight on a project i am undertaking.<br>
<br></div>I am currently attempting to stream my audio into html5 capable web browsers of smartphones.  i have created a local network and installed nginx as my webserver.  i and a friend got everything working with the oggcast~ and mp3cast~ objects and the icecast 2 server, but the latency was horrific-5-15seconds.  I would like to investigate the idea of taking advantage of the plugin-less nature of these modern fast browsers and pipe the audio directly into it as directly as possible the same way voip works but lower bandwidth and only one way.<br>

<br></div>I see that udpsend~ can do alot of what i think i want, but i am confused as to how i might connect it with the audio socket in the client browser (if socket is even the right term).<br><br></div>Any insight would be greatly appreciated.  and if i get it working, as before, i will document the findings in a step by step once it works.  thank you.<br>

<br></div>cheers!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Onyx<br clear="all"><div><div><div><div><div><div><div><br>-- <br><div><div><a href="http://www.onyx-ashanti.com" target="_blank">www.onyx-ashanti.com</a></div>
<br></div><a title="phone number" style="color:rgb(0,0,63);background-color:rgb(255,255,191)"><br>
</a>
</div></div></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">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>
<br></blockquote></div><br></div>