PDA

View Full Version : Softsqueeze pre-0.6



rtitmuss
2004-06-26, 14:52
Hi,

Softsqueeze pre-0.6 is now available on Sourceforge
(http://softsqueeze.sf.net). This includes a new skin (thanks again to
Graham), and now supports synchronization :)

To get synchronization working, you'll need:
- SlimServer 5.2
- Java 1.5 beta 2 (available for Windows, Linux and Solaris)
- Check the Softsqueeze configuration, the audio mixer must be set to the
Primary Sound Driver.

So far I've only been able to test this on WinXP with mp3 and flac files.
It would be interesting to know which other platforms work?

Audio playback in Java 1.4 seems to have an additional latency that prevents
perfect synchronization. I need to look into this some more, but suspect
that I won't be able to fix it. I could add a configuration option to drop
the first few samples of each track, so that the players will then
synchronize. Would this be useful?

Enjoy!
Richard

kdf
2004-06-27, 11:27
nicely done richard!

is there a way to move the remote independantly of hte display in the new
slimdevices skin? The reason I ask is because I usually keep the player in the
corner of the screen. When I then pop up the remote, part of it appears off
screen because it seems to want to be fixed and centred. Looks great, just not
all on screen ;)
-kdf

Quoting Richard Titmuss <richard_titmuss (AT) yahoo (DOT) co.uk>:

> Hi,
>
> Softsqueeze pre-0.6 is now available on Sourceforge
> (http://softsqueeze.sf.net). This includes a new skin (thanks again to
> Graham), and now supports synchronization :)
>
> To get synchronization working, you'll need:
> - SlimServer 5.2
> - Java 1.5 beta 2 (available for Windows, Linux and Solaris)
> - Check the Softsqueeze configuration, the audio mixer must be set to the
> Primary Sound Driver.
>
> So far I've only been able to test this on WinXP with mp3 and flac files.
> It would be interesting to know which other platforms work?
>
> Audio playback in Java 1.4 seems to have an additional latency that prevents
> perfect synchronization. I need to look into this some more, but suspect
> that I won't be able to fix it. I could add a configuration option to drop
> the first few samples of each track, so that the players will then
> synchronize. Would this be useful?
>
> Enjoy!
> Richard
>
>
>

John Gorst
2004-06-29, 03:20
Richard Titmuss wrote:

> Hi,
>
> Softsqueeze pre-0.6 is now available on Sourceforge
> (http://softsqueeze.sf.net). This includes a new skin (thanks again to
> Graham), and now supports synchronization :)

I have just got my Linux system up and running (ish) with Mandrake 10.

I am having a few problems with Softsqueeze and java. Java 1.5.0 was a
bit hard to set up on the system (involved quite a lot of googling on
how to set it up correctly with paths etc. is this normal for linux
programs? is the non beta java easier to install?)

Anyway softsqueeze works on the system fairly well, apart from it is
impossible to make the display window and the remtoe window join
together. Is this somehting wrong with my system (likely) or is it a
problem with this new version of softsqueeze (it didnt happen on 0.52 on
XP).

Cheers

mherger
2004-06-29, 04:29
Richard

> Softsqueeze pre-0.6 is now available on Sourceforge
> (http://softsqueeze.sf.net). This includes a new skin (thanks again to
> Graham), and now supports synchronization :)

_very_ cool indeed - my favourite skin. But why did you re-arrange the
remote control? It's a little confusing when you're used to the original.

> To get synchronization working, you'll need:

Hmm... I'm at the office now. Hard to tell whether it's synced with my SB
at home :-). I'll give it a try tonight.

> - SlimServer 5.2
> - Java 1.5 beta 2 (available for Windows, Linux and Solaris)
> - Check the Softsqueeze configuration, the audio mixer must be set to the
> Primary Sound Driver.
>
> So far I've only been able to test this on WinXP with mp3 and flac files.
> It would be interesting to know which other platforms work?
>
> Audio playback in Java 1.4 seems to have an additional latency that
> prevents
> perfect synchronization. I need to look into this some more, but suspect
> that I won't be able to fix it. I could add a configuration option to
> drop
> the first few samples of each track, so that the players will then
> synchronize. Would this be useful?
>
> Enjoy!
> Richard
>
>
>

rtitmuss
2004-06-29, 14:09
Michael,

> > Softsqueeze pre-0.6 is now available on Sourceforge
> > (http://softsqueeze.sf.net). This includes a new skin (thanks again to
> > Graham), and now supports synchronization :)
>
> _very_ cool indeed - my favourite skin. But why did you re-arrange the
> remote control? It's a little confusing when you're used to the original.

Graham and Dean need to get all the credit for the Slim skin. In the early
stages we had artwork for both a vertical and horizontal remote, the
horizontal version just fits better on a PC screen.

> > To get synchronization working, you'll need:
>
> Hmm... I'm at the office now. Hard to tell whether it's synced with my SB
> at home :-). I'll give it a try tonight.

You could always phone home and listen to your SB from work ;) . Let me know
how well it works.

Regards,
Richard

rtitmuss
2004-06-29, 14:21
John,

> I am having a few problems with Softsqueeze and java. Java 1.5.0 was a
> bit hard to set up on the system (involved quite a lot of googling on
> how to set it up correctly with paths etc. is this normal for linux
> programs? is the non beta java easier to install?)

No, installing an rpm on Linux will usually allow you to use the programs
from the command line without modifying paths. Sun's Java seems to be an
exception. You can find some step-by-step instructions here:
http://home.bredband.no/gaulyk/java/tutorial/javaredhat.html#Java%20SDK%20Installation

> Anyway softsqueeze works on the system fairly well, apart from it is
> impossible to make the display window and the remtoe window join
> together. Is this somehting wrong with my system (likely) or is it a
> problem with this new version of softsqueeze (it didnt happen on 0.52 on
> XP).

That is a problem with dragging windows with Softsqueeze. It is most
noticeable with Linux, but if you try really hard you can get the same
effect on XP. I have just posted pre-0.6.2 that fixes this when you are
using Java 1.5 to run Softsqueeze. It's a difficult problem to fix with
earlier versions of Java.

Regards,
Richard

John Gorst
2004-06-29, 16:12
Richard Titmuss wrote:

> That is a problem with dragging windows with Softsqueeze. It is most
> noticeable with Linux, but if you try really hard you can get the same
> effect on XP. I have just posted pre-0.6.2 that fixes this when you are
> using Java 1.5 to run Softsqueeze. It's a difficult problem to fix with
> earlier versions of Java.

Cheers, thanks for the advice. Good to know I am not doing anything
crazy! Will let you know who 0.6.2 works for me.

Cheers

mherger
2004-06-30, 00:23
[..]
>> _very_ cool indeed - my favourite skin. But why did you re-arrange the
>> remote control? It's a little confusing when you're used to the
>> original.
>
> Graham and Dean need to get all the credit for the Slim skin. In the
> early
> stages we had artwork for both a vertical and horizontal remote, the
> horizontal version just fits better on a PC screen.

Thought so. As I'm only a lazy human being I don't like to change my
habits :-).

>> > To get synchronization working, you'll need:
>>
>> Hmm... I'm at the office now. Hard to tell whether it's synced with my
>> SB
>> at home :-). I'll give it a try tonight.
>
> You could always phone home and listen to your SB from work ;) .

Thought about that when my wife was calling me yesterday. But then there's
still that tiny lag in phone communication - I did not won't to risk
correct results ;-).

> Let me know how well it works.

I have to admit that I preferred the sunny beach to doing the test at home
last night. I'll tell you tonight (if I don't go out climbing a rock :-)).

--

Michael

-----------------------------------------------------------
http://www.jo-sac.ch - JO-SAC inoffiziell!
http://www.herger.net/photo - mein kleines Photoalbum

mherger
2004-06-30, 22:01
Richard

[..]
>> > To get synchronization working, you'll need:
>>
>> Hmm... I'm at the office now. Hard to tell whether it's synced with my
>> SB at home :-). I'll give it a try tonight.
>
> You could always phone home and listen to your SB from work ;) . Let me
> know how well it works.

I'm sorry I still can't say for sure. Last night I started synched playing
before leaving for a few hours. When I came back home the player displayed
song no. 44 of my playlist, but did not play. My laptop had crashed. And
the Squeezebox was still synchronized to it - I had to turn off synch
before it would play again.

Whether they wore properly synched to that point and why my machine
crashed - I can't say. I had to reconfigure the wireless network card
after the hard reboot. Strange. I'll see tonight :-)

--

Michael

-----------------------------------------------------------
http://www.jo-sac.ch - JO-SAC inoffiziell!
http://www.herger.net/photo - mein kleines Photoalbum

mherger
2004-07-01, 11:40
[..]
>> Hmm... I'm at the office now. Hard to tell whether it's synced with my
>> SB at home :-). >> I'll give it a try tonight.

> You could always phone home and listen to your SB from work ;) . Let me
> know how well it > works.

I'd say it works very fine! It has been in perfect harmony with one of my
SBs for more than an hour. I won't wait for my laptop to crash again later
:-).

This is running softsqueeze 0.6.2 on Windows 2000, java 1.5beta, Celeron
400. Well, this is not a powerful machine... softsqueeze was eating up
about 40% of the CPU. Some hickups, when starting other applications.

--

Michael

-----------------------------------------------------------
http://www.jo-sac.ch - JO-SAC inoffiziell!
http://www.herger.net/photo - mein kleines Photoalbum

rtitmuss
2004-07-02, 13:30
Michael,

Thanks for the feedback. I have heard that sync is working with Softsqueeze
on Linux as well. Can anyone report success/failure syncing Softsqueeze
pre-0.6.x on a Mac?

Regards,
Richard


----- Original Message -----
From: "Michael Herger" <slim (AT) herger (DOT) net>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Thursday, July 01, 2004 7:40 PM
Subject: [slim] Softsqueeze pre-0.6


> [..]
> >> Hmm... I'm at the office now. Hard to tell whether it's synced with my
> >> SB at home :-). >> I'll give it a try tonight.
>
> > You could always phone home and listen to your SB from work ;) . Let me
> > know how well it > works.
>
> I'd say it works very fine! It has been in perfect harmony with one of my
> SBs for more than an hour. I won't wait for my laptop to crash again later
> :-).
>
> This is running softsqueeze 0.6.2 on Windows 2000, java 1.5beta, Celeron
> 400. Well, this is not a powerful machine... softsqueeze was eating up
> about 40% of the CPU. Some hickups, when starting other applications.
>
> --
>
> Michael
>
> -----------------------------------------------------------
> http://www.jo-sac.ch - JO-SAC inoffiziell!
> http://www.herger.net/photo - mein kleines Photoalbum
>

Peter =?iso-8859-1?Q?N=F5u?=
2004-07-03, 08:00
> > > To get synchronization working, you'll need:
> >
> > Hmm... I'm at the office now. Hard to tell whether it's synced with my SB
> > at home :-). I'll give it a try tonight.
>
>You could always phone home and listen to your SB from work ;) . Let me know
>how well it works.


laptop with wireless connection plays "syncronized" consistently with about
1,5 sec lag compared to wired squeezebox. latest vesrion of softsqueeze,
latest nightly on w2k. is this a wireless issue?

/peter

rtitmuss
2004-07-03, 14:21
Peter,

I don't think this is a wireless issue. What version of Java are you using?
To get Sync working on windows you need to be using Java 1.5. You can check
the Java version in the Softsqueeze preferences window. If you are using
Java 1.5, make sure that the Audio Mixer is set to Primary Sound Driver. If
this still does not help then let me know.

Regards,
Richard


----- Original Message -----
From: "Peter Nġu" <dkmj (AT) nou (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Saturday, July 03, 2004 4:00 PM
Subject: [slim] Softsqueeze pre-0.6


>
> > > > To get synchronization working, you'll need:
> > >
> > > Hmm... I'm at the office now. Hard to tell whether it's synced with my
SB
> > > at home :-). I'll give it a try tonight.
> >
> >You could always phone home and listen to your SB from work ;) . Let me
know
> >how well it works.
>
>
> laptop with wireless connection plays "syncronized" consistently with
about
> 1,5 sec lag compared to wired squeezebox. latest vesrion of softsqueeze,
> latest nightly on w2k. is this a wireless issue?
>
> /peter
>
>

Peter =?iso-8859-1?Q?N=F5u?=
2004-07-04, 00:04
At 23:21 2004-07-03, you wrote:
>Peter,
>
>I don't think this is a wireless issue. What version of Java are you using?
>To get Sync working on windows you need to be using Java 1.5. You can check
>the Java version in the Softsqueeze preferences window. If you are using
>Java 1.5, make sure that the Audio Mixer is set to Primary Sound Driver. If
>this still does not help then let me know.

hi

I downloaded SoftSqueeze and run the .jar file on te client. Is that where
the trouble is? Should run it on the server through the jnlp-file

On my client, I am using the latest java beta (1.5.2) on W2K Pro, and this
is confirmed in the SoftSqueeze prefs window. However, I had audio mixer
set to Java Sound Engine, but changing it to Primary Audio driver doesn't
help me with this sync issue. I fiddle with the audio delay startup setting
on my wired Squeezebox (had it set to 0, increasing it to 0.15 or something
gives different but still unconsistent results.

I'll install on the machine where Slimserver is running and get back to you
later. Thanks!

/peter

Peter =?iso-8859-1?Q?N=F5u?=
2004-07-04, 04:20
At 09:04 2004-07-04, you wrote:
>At 23:21 2004-07-03, you wrote:
>>Peter,
>>
>>I don't think this is a wireless issue. What version of Java are you using?
>>To get Sync working on windows you need to be using Java 1.5. You can check
>>the Java version in the Softsqueeze preferences window. If you are using
>>Java 1.5, make sure that the Audio Mixer is set to Primary Sound Driver. If
>>this still does not help then let me know.
>
>hi
>
>I downloaded SoftSqueeze and run the .jar file on te client. Is that where
>the trouble is? Should run it on the server through the jnlp-file

Disregard above, stupid.

However, loading jar file via webstart.html fails every time. I can provide
java log info if you need

rtitmuss
2004-07-04, 04:21
Peter,

> >I don't think this is a wireless issue. What version of Java are you
using?
> >To get Sync working on windows you need to be using Java 1.5. You can
check
> >the Java version in the Softsqueeze preferences window. If you are using
> >Java 1.5, make sure that the Audio Mixer is set to Primary Sound Driver.
If
> >this still does not help then let me know.
>
> I downloaded SoftSqueeze and run the .jar file on te client. Is that where
> the trouble is? Should run it on the server through the jnlp-file

That's not the problem, running either using the .jar or jnlp file should
have the same results.

> On my client, I am using the latest java beta (1.5.2) on W2K Pro, and this
> is confirmed in the SoftSqueeze prefs window. However, I had audio mixer
> set to Java Sound Engine, but changing it to Primary Audio driver doesn't
> help me with this sync issue. I fiddle with the audio delay startup
setting
> on my wired Squeezebox (had it set to 0, increasing it to 0.15 or
something
> gives different but still unconsistent results.

Hmm, that's strange. Setting the audio mixer to Primary Audio driver should
have made all the difference. I'll have a think about what else you can try
....

Regards,
Richard

rtitmuss
2004-07-05, 12:58
Peter,

I have found out that Java 1.5 beta 2 has a bug that prevents web start from
working. This will be fixed in Java 1.5 beta 3.

With sync I should have mentioned that changing the audio mixer might not
have immediate effect. To make certain could you change the audio mixer to
Primary Sound Driver, quit Softsqueeze, restart then see if sync works.

Regards,
Richard


----- Original Message -----
From: "Peter Nġu" <dkmj (AT) nou (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Sunday, July 04, 2004 12:20 PM
Subject: [slim] Softsqueeze pre-0.6


> At 09:04 2004-07-04, you wrote:
> >At 23:21 2004-07-03, you wrote:
> >>Peter,
> >>
> >>I don't think this is a wireless issue. What version of Java are you
using?
> >>To get Sync working on windows you need to be using Java 1.5. You can
check
> >>the Java version in the Softsqueeze preferences window. If you are using
> >>Java 1.5, make sure that the Audio Mixer is set to Primary Sound Driver.
If
> >>this still does not help then let me know.
> >
> >hi
> >
> >I downloaded SoftSqueeze and run the .jar file on te client. Is that
where
> >the trouble is? Should run it on the server through the jnlp-file
>
> Disregard above, stupid.
>
> However, loading jar file via webstart.html fails every time. I can
provide
> java log info if you need
>
>

Peter =?iso-8859-1?Q?N=F5u?=
2004-07-05, 14:02
At 20:58 2004-07-05 +0100, you wrote:
>Peter,
>
>I have found out that Java 1.5 beta 2 has a bug that prevents web start from
>working. This will be fixed in Java 1.5 beta 3.
>
>With sync I should have mentioned that changing the audio mixer might not
>have immediate effect. To make certain could you change the audio mixer to
>Primary Sound Driver, quit Softsqueeze, restart then see if sync works.

Siree!

Setting audio start delay to 0 on the (wired) Squeezebox player gives
"decent" sync results. (Note that default value here is 0.15, and no
setting for this on the SoftSQ). The SoftSqueeze now runs on a wired
laptop. But still perceptible timing difference, and as best as I can
listen, there is some sliding taking place, timing changes ever so slowly.
SoftSqueeze running a fraction of a beat ahead of the Squeezebox.

But, Richard, my ears could be off tonight ;-) It is quite late here in
Stockholm, we are packing for summer vacation. We are going to travel
across the Baltic to visit the country my Dad fled from in 1944. For the
first time. My grandmother died at the age of 96 a few months ago. Now I
will see where she grew up, where she gave birth to six kids, and then left
everything to flee across the waters westward in a tiny vessel in the
summer of 1944. Estonia - Tallin is where I'll be two days from now. And
likely more often in the future. For our parents generation the "divide"
was real and stigmatizing until 1989 and on. For my generation (born in
Sweden) and my kids to come, we hope to be fellow Europeans again with the
Estonian brothers and sisters.

thanks,
peter