Playing MP3 Programmatically.

G

Guest

I am working on PowerPoint Automation. I have a dialog box with a combo box
in it to select a sound file. I have few mp3 and wav files. I can list them
in the dialog box. Now what I want is when the user selects a sound file that
sound file shuld keep playing during the slideshow. I m also confused if I
shud use mp3 or shud i get them conerted to .wav?

But basically I want to play both kind of files: mp3 and wav.

Can anyone help me?

Thanks
 
S

Steve Rindsberg

Technoknight said:
I am working on PowerPoint Automation. I have a dialog box with a combo box
in it to select a sound file. I have few mp3 and wav files. I can list them
in the dialog box. Now what I want is when the user selects a sound file that
sound file shuld keep playing during the slideshow. I m also confused if I
shud use mp3 or shud i get them conerted to .wav?

I'd start here:

Play sounds across multiple slides (A WAV runs through it)
http://www.rdpslides.com/pptfaq/FAQ00047.htm

Try recording a macro while you follow the steps there manually. That should
give you a fairly good idea what you need to do in code.

You may find it's more reliable to use WAVs.
 
A

Austin Myers

While you could do this in VB, you can also do it in plain old PPT. To do
it:

Insert your music via Insert > Movies and Sounds > From File

Give it a frinedly name (Example: Eagles-Hotel California)

Set it to play "on click" and then set the animmations to play for however
many slides you want it to play for.

Repeat for all the music files you wish to use.

Done

The big advantage is that the finished presentation will also play in the
PowerPoint Viewers where VB code fails.

Austin Myers
MS PowerPoint MVP Team

Solutions to Multimedia in PowerPoint www.pfcmedia.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top