Hi,
back here just to inform you that modified squeezelite that allow
playback of serverside upsampled WAV/AIFF files is out, availlable on
GitHub (https://github.com/marcoc1712/squeezelite) also as binary for
Windows, LInux 32 and 64 bit. Same version is in the latest versions of
Daphile, that is now working that way.
As I've already reported, we sperimented a signiicative reduction of
thes cpu load both in the client and in the server, compared with the
same upsampling but transferring FLAC from server to client, the
increased CPU load thath - might - occour becouse wav file is almost
double in size than the corresponding flac, if far less.
This is quite obvious if you consider the two paths:
flac - flac:
flac 44.1/16 -> pcm 44.1/16 -> pcm 176.4 -> flac 176.4 ...///... flac
176.4 -> pcm 176.4
flac -pcm:
flac 44.1/16 -> pcm 44.1/16 ...///... pcm 176.4
where actually pcm is wav in the second.
You save the encoding in flac of the big 176.4 file in the server and
the decode in the client.
Those are not 'small' task at all, so cpu load is decresed by almost 70%
in the server and by 50% on the client. Real values depends on hw and
operating systems, I've already reported some and people start to report
others. You could simply download this version of squeezelite, change
custom-convert.conf and try by yourself in your system.
Here the profile we use in custom-convert.conf
flc pcm squeezelite *
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t wav -r
176400-c 2 -3 -s -L - gain -3 rate -v -M -a -b 90.7 dither -S
You could then change sox parameters as you like.
WARNING: upsampling a 44.1/16 file to 176.4 Hz, 32 bit file means
multilply by a factor of 8 the file size, using wav instead of flac by 2
more (resulting in 16), You must be sure you connection has enougth
bandwidth to use.
Please note I did not mention 'sound quality' in any way here.
As a note, I'm not sure upsampling is a so good practice, but if you
really have or just want, better doing it in the server and much better
avoiding flac in between.
____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=104227
_______________________________________________
audiophiles mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/audiophiles