bpa wrote: 
> Closing in on a possible solution .
> 
> What are the shortcomings ?
> Perhaps now it is possible to consider a small s/w plugin/mod when the
> task is manageable.  As I mentioned earlier if it is appropriate,
> looking at the feasibility of  upnp "publishing" something like a flac
> version of stream.mp3 should be considered.
Very briefly I have squeezelite writing to a pulseaudio null sink.  I
found a very short python script on the web which then uses parec and
sox to monitor this sink and write it in wav format making it available
as http:192.168.m.n/8080:xyz.wav.  I connect the renderer to this wav
stream using minimserver (UPnP/DLNA) which has a playlist containing
that http address.  

This might sound complex from a use point of view, but in fact it is
not.  Everything starts automatically when I boot the server.  On the
amplifier I select the minimserver playlist and leave it at that (in
much the same way that you select an input from a Touch or other
device).  So it's no different from using a hardware interface.

On the LMS web page I select the squeezelite 'player' and then select
and play music I want as before.

I can run another copy of the python script reading the same source,
writing to a different port, and get another renderer to use that (when
trying to share the same streaming port it seems to break).  The sound
between the 2 seems in sync to me.

I can get up to CD quality but no more as yet.  I haven't done sound
stability tests because I'm trying to get better quality to play, so far
without success. I think it is an issue with pulseaudio's 'monitor'
feature.

So I think this is all possible and practical.  If I could bypass the
interim steps and get a version of squeezelite that made the audio
stream directly available via an http port that would make the software
a lot simpler to set up, discarding the need for the puleseaudio
monitor, parec and (additional) sox steps.  Having said that, given the
varying capabilities of different renderers, using sox to adjust the
stream quality to a specific renderer may provide a more flexible
solution, unless I can run multiple 'squeezelite' processes, each
outputting a specific quality stream.

If what I have done so far is of interest, I could write it up in more
detail, including how I have configured and automated it on ubuntu.  Let
me know.

Personally I think this is a real and potentially fairly simple solution
to replacing Logitech hardware without needing any other hardware.  That
it's also free is a wonder of the open software movement :)



LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC.
Wireless Xubuntu 14.04 laptop controls LMS via Chromium.   Meridian
Explorer USB DAC to listen via Squeezelite on Vortexbox & other PCs as
required.  Spare Touch in loft.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=101622

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to