[PD] direct connection from pd to webrowser, low latency

Varun Nair nothingtokeep at gmail.com
Tue Apr 30 11:13:54 CEST 2013

The software works by taking a 'feed' off your default playback device 
on Windows so its really easy to setup (to clarify, I didn't work 
SoundWire, I only used it for this project). Have Pd running as you 
would and just make sure the the SoundWire client is running. On the 
phone you can get the app to automatically search for the client IP or 
you can manually enter in the address. On connecting with the server it 
automatically starts playing back sound. I can't remember the 
limitations of the free version, but the paid app allows for fine 
tweaking the compression settings and buffer sizes.

I didn't make exact measurements of the latency but it must have been 
about ~150ms.

If you have access to an Android phone I suggest you give the free 
version a spin and see if it lives up to your expectations. (iOS has a 
similar app called AirPhones, with very very lot latency but it doesn't 
allow multiple connections to the server AFAIK).


pd-list-request at iem.at wrote:
> yes please! that sounds perfect.  i mainly need to know to bit that serves
> up the audio at low latencies.  ive got the icecast server stuff working
> wirelessly to multiple devices but the latency is killing me (10-5 sec).
> would it be possible to use your server directly to the browser?
>   currently, i simply need a low latency stereo audio instance to come on
> when they log into my network.  that is it (for now)  i have alot of other
> things i want to build around it, but i really need to know
> 1. what format does pd need to output to useful to...
> 2. a way to serve said audio out from my wireless router
> 3. instant sound output as soon as they login.
> so far, i have investigated web audio api and just started digging into the
> idea of feeding the audio feed as a data dump so i can at least see that it
> is transmitting anything-garbage-to the browser, then i can figure out how
> to deal with it after that is sorted.  i am playing with netsend~ right now
> with mixed results (server connection issues).  any insight is much
> appreciated.
> Onyx
> -- www.onyx-ashanti.com

More information about the Pd-list mailing list