How to play music with slide show?

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

How to play music with slide show?

Post by klapperstorch »

Using XnView 1.95 I wish to play a WAV file together with the slide show. I specify the WAV file in the slide show config and start the show. No sound audible!
It's my first try with music in slide show. Never used it with previous versions of XnView.
The WAV file is ok. It plays with Windows Media Player as well as with XnView when I click on the WAV file in the Browser window.

Am I doing something wrong? What are the pre/corequisites for hearing music with a slide show?

klapperstorch
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Not in config…

Post by Clo »

:arrow: klapperstorch

:) Hello !

• I tested on that moment making an EXE with a .WAV sound file played as a loop.

1. The sound doesn't work while you are still in the Slide Show dialogue and click "Start" to test your new Slide Show…

2. Going to the folder which contains that new EXE >> 2-click on, the sound is played alright as it should…

:mrgreen: VG
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

Re: Not in config…

Post by klapperstorch »

Clo wrote: • I tested on that moment making an EXE with a .WAV sound file played as a loop.
1. The sound doesn't work while you are still in the Slide Show dialogue and click "Start" to test your new Slide Show…
2. Going to the folder which contains that new EXE >> 2-click on, the sound is played alright as it should…

:mrgreen: VG
Claude
Clo
Thanks. Yes, it works this way. I didn't try that.
HOWEVER !!!

1. I think it should be possible to play the music also when starting the slide show from the slide show dialogue. And if not, then at least it should play the sound after saving the slide show and then starting it from the SLD file, but it doesn't.
Creating an EXE with all the images in it, when I already have them on my disk as JPG files does not make much sense.

2. When I create the EXE, and later, when I want to play the slide show with sound but the sound file has gone (maybe I moved it, or deleted it, or did not forward it to the person to whom I gave the EXE, or this person does not save the sound file in the expected folder) then the slide show exe hangs the system and a reboot is necessary.
<b>This seems to be a bug.</b>
Since the sound file has always to be present in this case, I recommend to incorporate it within the slide show exe, so it cannot be lost or misplaced.

klapperstorch
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Not in config…

Post by Dreamer »

klapperstorch wrote:...And if not, then at least it should play the sound after saving the slide show and then starting it from the SLD file, but it doesn't.
Right, it was working in previous versions, it's a bug IMO. :bug:
klapperstorch wrote:Since the sound file has always to be present in this case, I recommend to incorporate it within the slide show exe, so it cannot be lost or misplaced.
Strange, it works good here, the sound file (wav, mp3) is always included in the exe. Try to create slide show with just few pictures and then check the size of the exe file, is it larger than size of those pictures? What about other options? Perhaps you could paste the options from .sld file here (not the list of pictures, just the options), so we could try to reproduce it.

What about OS? Windows Vista Home Premium 32 bit here.
Dreamer
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Yes and ?

Post by Clo »

:arrow: klapperstorch


:) Again…
…1. I think it should be possible to play the music also when starting the slide show from the slide show dialogue…
• I agree, the test must be quite real and not lame as currently.
This seems to be a bug.
Since the sound file has always to be present in this case, I recommend to incorporate it within the slide show exe, so it cannot be lost or misplaced.
• I'would have bet my boots that it contains the sound file… Indeed, it must be added in the EXE !
- I build rarely such EXEs, and those I sent to friends were without sound…

• Win XP-Pro SP1 (FR) here.

:mrgreen: VG
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

Post by klapperstorch »

I can't say whether the sound file is in the exe or not. I'll check tomorrow (that is, later today. It's already 1:30 a.m. here).
But the exe played the sound when the WAV file was there, and it hung the system when when the WAV file had been moved.

klapperstorch
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

IT IS embedded !

Post by Clo »

:arrow: klapperstorch

:) Good morning !

• I checked by moving the .WAV from its storage location, that doesn't prevent the sound to be played from the EXE !
- Thus, it's copied inside… that one can verify by viewing the EXE as binary in TC -Lister, for instance :
.wav Lé xØ „Ø lØ º RIFF² WAVEfmt + + data? €€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

Re: IT IS embedded !

Post by klapperstorch »

Clo wrote::arrow: klapperstorch

:) Good morning !

• I checked by moving the .WAV from its storage location, that doesn't prevent the sound to be played from the EXE !
- Thus, it's copied inside…
:mrgreen: KR
Claude
Clo
I tried again this morning. The slideshow exe with sound is much bigger than without. And now it plays the music even when the original sound file has been moved or deleted.
Sorry to have bothered you with this problem which I attribute to some temporary error in Windows.

For the other problem (no sound in playing an SLD file) I would really appreciate that this be supported in a future version.

Thanks Pierre for this very useful program, and thanks to the others for support and help.
klapperstorch
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to play music with slide show?

Post by xnview »

Yes, a bug in 1.95
Pierre.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: How to play music with slide show?

Post by Dreamer »

xnview wrote:Yes, a bug in 1.95
I knew it was working earlier. :) I think it was working also in preview, not only when starting .sld file.
Dreamer
Post Reply