PDA

View Full Version : Announce: squeezeslave 0.3



rtitmuss
2006-02-03, 16:43
squeezeslave is a command line C program to play audio from the slimserver. It has not gui so all player control has to be done using a web browser or another program like Moose.

A new release of squeezeslave is available today, you can download binaries for Windows, Linux and OSX from:
http://softsqueeze.sourceforge.net

Tonight I have installed VMware with a Fedora Core 4 linux build. As I type I am listening to a sync'd Squeezebox 2 with squeezeslave running on WinXP, FC4 (in VMware) and OSX (on an iBook). This is with a mixed play list of mp3's and flac files. My desktop is struggling at times, and has lost sync a couple of times but then it is running two operating systems and two versions of squeezeslave! All in all I think it's working really well :).

I seem to be getting some background hiss on the iBook, this could well be the built-in speakers. I'd like to know if anyone else hears this.

This release supports:
- native flac and mp3 playback
- gapless flac
- dithering on mp3 audio
- player synchronization
- password protected servers
- multiple players on one slimserver (use --mac option to set player mac address)


It does not yet support:
- aac, wav, etc. (use bitrate limiting to play these formats)
- gain control
- replay gain
- direct streaming (e.g. internet radio)
- audio looping (e.g. for short clips)
- anything other than 44.1Hz streams
- built in ssh tunnelling
- cross fading

Feedback welcome, as always ...

Richard

Pale Blue Ego
2006-02-03, 18:10
Running the Windows version on my PC, with slimserver on a Linux box, I can see the player on the web interface, but trying to do anything with it basically locks up slimserver. I kill the squeezeslave window and slimserver immediately unlocks.

coldslabs
2006-02-03, 18:35
I played songs on my computer using squeezeslave and foobar2000. The squeezeslave output did have some definite background noise. Let me know if there is anything I can do to give you some more helpful feedback.

Win2000
SS 6.2.1
squeezeslave 0.3

rtitmuss
2006-02-04, 05:37
Running the Windows version on my PC, with slimserver on a Linux box, I can see the player on the web interface, but trying to do anything with it basically locks up slimserver. I kill the squeezeslave window and slimserver immediately unlocks.

That's strange. Could you start squeezeslave using 'squeezesalve --debug slimproto' and post the output?

rtitmuss
2006-02-04, 05:38
The squeezeslave output did have some definite background noise.

This is playing mp3 files? If possible could you try flac and see if that's ok.

Patrick Dixon
2006-02-04, 06:09
Works for me on Win XP with a Linux server using FLAC.

Sound quality is a little hard to assess on my PC, but it doesn't seem unusually bad!

I do get 'glitches' when moving between tracks though ... like a buffer isn't being dumped.

Web UI vol control doesn't work
FFwd works but FRev crashes it:

http_recv: error reading from socket
flac decoder error 0
flac decoder error 0
flac decoder error 1
flac decoder error 0
flac decoder error 1
flac decoder error 0
Error in recv: No Error

>

rtitmuss
2006-02-04, 06:21
Works for me on Win XP with a Linux server using FLAC.

Sound quality is a little hard to assess on my PC, but it doesn't seem unusually bad!

That's my problem too, I really need a proper amp and speakers for my PC!


I do get 'glitches' when moving between tracks though ... like a buffer isn't being dumped.

Web UI vol control doesn't work

You mean when selecting different tracks in the playlist, yes I know about that one. I am not sure how to fix it yet.

Getting the volume to work is on the list. I need to integrate another library to get that to work, not a five minute job :(.



FFwd works but FRev crashes it:

http_recv: error reading from socket
flac decoder error 0
flac decoder error 0
flac decoder error 1
flac decoder error 0
flac decoder error 1
flac decoder error 0
Error in recv: No Error

>

How do you access these from the web ui?

Patrick Dowling
2006-02-04, 06:32
On my OS X box it doesn't run. I get the following output:

../squeezeslave
Found 2 devices
Built-in Audio : : 1
Built-in Audio : : 1
Error connecting to 127.0.0.1:3483
Broken pipe

../squeezeslave --debug slimproto
../squeezeslave: Recompilie with -DDEBUG to enable debugging.
../squeezeslave: Cannot parse mac address slimproto

Pat

On Feb 4, 2006, at 7:09 AM, Patrick Dixon wrote:

>
> Works for me on Win XP with a Linux server using FLAC.
>
> Sound quality is a little hard to assess on my PC, but it doesn't seem
> unusually bad!
>
> I do get 'glitches' when moving between tracks though ... like a
> buffer
> isn't being dumped.
>
> Web UI vol control doesn't work
> FFwd works but FRev crashes it:
>
> http_recv: error reading from socket
> flac decoder error 0
> flac decoder error 0
> flac decoder error 1
> flac decoder error 0
> flac decoder error 1
> flac decoder error 0
> Error in recv: No Error
>
>>
>
>
> --
> Patrick Dixon
>
> www.at-tunes.co.uk
> ----------------------------------------------------------------------
> --
> Patrick Dixon's Profile: http://forums.slimdevices.com/member.php?
> userid=90
> View this thread: http://forums.slimdevices.com/showthread.php?t=20750
>
>

rtitmuss
2006-02-04, 06:41
Patrick Dowling wrote:

> On my OS X box it doesn't run. I get the following output:
>
> ./squeezeslave
> Found 2 devices
> Built-in Audio : : 1
> Built-in Audio : : 1
> Error connecting to 127.0.0.1:3483
> Broken pipe

Is your slimserver running on the same machine? Do you have a firewall
enabled?

> ./squeezeslave --debug slimproto
> ./squeezeslave: Recompilie with -DDEBUG to enable debugging.
> ./squeezeslave: Cannot parse mac address slimproto

I had touble compiling the debugging in on OSX, I'll address that for
the next release.

Richard

Patrick Dixon
2006-02-04, 07:22
How do you access these from the web ui?I assume you mean the FFwd/FRwd?

In Fishbone skin there are icons for them in the Player window.

Philip Meyer
2006-02-04, 07:58
>A new release of squeezeslave is available today, you can download
>binaries for Windows, Linux and OSX from:
>http://softsqueeze.sourceforge.net
>
I couldn't find any mention of Squeezeslave from that link, but I found the download here:
http://sourceforge.net/project/showfiles.php?group_id=105169&package_id=176494&release_id=390716

Is there any web site with more details about Squeezeslave?

Phil

rtitmuss
2006-02-04, 08:08
Philip Meyer wrote:

>I couldn't find any mention of Squeezeslave from that link, but I found the download here:
>http://sourceforge.net/project/showfiles.php?group_id=105169&package_id=176494&release_id=390716
>
True, that would probably have been a more useful url to include.

>Is there any web site with more details about Squeezeslave?
>
>
No, not yet. At the moment I'm using my time to work on the code, the
marketing can come later ;). The limit information available can be
found in the forum.

Richard

ericj
2006-02-04, 08:24
No problem w/ installation, but with WinXPPro sp2, and several sound devices. I get 'garbled' sound with both flac and mp3 with and without bitrate limiting to the device. I do have (too?) many sound devices on this machine...

Thanks for the excellent concept.

Here's the startup:
squeezeslave eemedia.dyndns.org
Found 8 devices
Primary Sound Driver : : 2
SoundMAX Digital Audio (emulated) : : 2
Playback through TotalRecorder (emulated) : : 2
Bluetooth Audio (emulated) : : 2
Primary Sound Capture Driver : 11025.000000 22050.000000 44100.000000 : 2
SoundMAX Digital Audio : 11025.000000 22050.000000 44100.000000 : 2
Record through TotalRecorder (emulated) : : 2
Bluetooth Audio : 11025.000000 : 2
PortAudio on DirectSound - Latency = 5376 frames, 121 msec

mattybain
2006-02-04, 09:43
This is playing mp3 files? If possible could you try flac and see if that's ok.

I can confirm that for me MP3's have a distinctive backgroup hiss whilst FLAC's seem to play very well and sound as good as with Softsqueeze. This is on Windows XP SP2 with 6.22.

Also getting the glitches when I move tracks, this is on FLAC and MP3's. It says FLAC decoder error 1 and 0 multiple times each time I try and FW to the next track (and just decoder error for MP3's)

Mark Lanctot
2006-02-04, 10:53
Squeezeslave is perfectly functional for me.

As mattybain noted, MP3 playback is quite noisy, lots of background hiss, but FLAC playback is excellent.

Skipping from track to track causes a bit of a glitch at Patrick Dixon noted.

I'm not getting a FLAC decoder error, but every once in a while I get an http_recv error when skipping tracks.

Program output:


Found 4 devices
Primary Sound Driver : : 2
M-Audio Revolution : : 2
Primary Sound Capture Driver : 22050.000000 44100.000000 : 2
M-Audio Revolution : 22050.000000 44100.000000 : 2
PortAudio on DirectSound - Latency = 5376 frames, 121 msec
http_recv: error reading from socket

For a "0.3" program, it's pretty good! Thanks Richard!

=?UTF-8?B?TXIgTsO1dQ==?=
2006-02-04, 12:41
rtitmuss wrote:
> Feedback welcome, as always ...
>

Syncing between a SB1 unit and squeezeslave on an old laptop is much
better at v03 compared to v02. v02 was better than softsqueeze as far as
sync. still. there is a perceptible lag, just perceptible.

both players are fed by the same wireless access point. the "bitrate
limiting" is different between the players. should this matter?

I am playing flac files.

/peter

rtitmuss
2006-02-04, 13:16
Mr Nõu wrote:

> Syncing between a SB1 unit and squeezeslave on an old laptop is much
> better at v03 compared to v02. v02 was better than softsqueeze as far
> as sync. still. there is a perceptible lag, just perceptible.

Assuming your running XP on the laptop, try entering 'set
PA_MIN_LATENCY_MSEC=50' at the command prompt before starting
squeezeslave. Does this help?

> both players are fed by the same wireless access point. the "bitrate
> limiting" is different between the players. should this matter?

Sync uses the lowest bitrate of all the players in the sync group. At
least that's how it used to work.

Richard

evergreen25
2006-02-04, 13:17
Squeezeslave 0.3 seems to be working fine for me on Win XP - I don't notice any particular sound quality issues when playing mp3.

Sync with my SB2 is still a little off. Squeezeslave is somewhere between 0.1 and 0.4 seconds behind the sqeezebox. The amount of delay seems to be pretty consistent, but it may be varying a little bit.

Here is the squeezeslave shell window information:
Found 4 devices
Primary Sound Driver : : 2
NVIDIA(R) nForce(TM) Audio : : 2
Primary Sound Capture Driver : 22050.000000 44100.000000 : 2
NVIDIA(R) nForce(TM) Audio : 22050.000000 44100.000000 : 2
PortAudio on DirectSound - Latency = 5376 frames, 121 msec

Let me know if there are any recommendations to improve the sync. Richard - you mentioned something about adjusting the delay using this setting:
set PA_MIN_LATENCY_MSEC=50

What is the syntax for that command? My guess would be:
squeezeslave.exe 127.0.0.1 set PA_MIN_LATENCY_MSEC=50

Thanks again for continuing to work on this!

rtitmuss
2006-02-04, 13:34
evergreen25 wrote:

>What is the syntax for that command? My guess would be:
>squeezeslave.exe 127.0.0.1 set PA_MIN_LATENCY_MSEC=50
>
>
No, try it like this:

C:\folder> set PA_MIN_LATENCY_MSEC=50
C:\folder> squeezeslave.exe 127.0.0.1

Richard

neitzke
2006-02-04, 15:39
Flac playback with squeezeslave 0.3 is working very well for me on Linux -- thank you _very_ much for your hard work!

Synchronization with a wireless Squeezebox2 also works although it is not quite consistent -- some tracks are absolutely in sync as far as I can perceive, while others seem to be a fraction of a second off. Still, this is far better than I was ever able to achieve with softsqueeze.