rpbizzle47
Pinball Wizard
- Joined
- Oct 23, 2005
- Messages
- 266
- Reaction score
- 1
- Points
- 18
What command is needed to get WMA files to work. I tried "Playmusic "filename.wma" and Playsound "filename.wma" but it's not working. HELP!!!! :)
StevOz said:VP can only play .wav files and .mp3 files. Also it can only play one .mp3 file at a time, though it can play many .wav sounds. That said you can convert all sound formats to .wav files with Winamp, everybody has Winamp, don't they, the free version will do.
http://www.winamp.com/
Once you've got Winamp, then you need to install the File Writer Output plugin.
http://www.winamp.com/plugins/details.php?id=96985
Now all you need do is fire up Winamp, load the track or file you wish to convert. Then right click on the player got Options > Preferences > Output, select the File Writer Output plugin, down the bottom click Configure, select a directory where you want the new converted file to go, select Windows wav format (WAV) > OK, then you're set. Just press play and it will convert the track into .wav format and record the file to the selected directory. If you want you can also use this plugin to convert to .mp3, though you will need to download the LAME codec. For more information on this plugin check this link.
http://home.hccnet.nl/th.v.d.gronde/dev/filewrite/index.html
Cheers!
StevOz said:VP can only play .wav files and .mp3 files. Also it can only play one .mp3 file at a time, though it can play many .wav sounds. That said you can convert all sound formats to .wav files with Winamp, everybody has Winamp, don't they, the free version will do.
http://www.winamp.com/
Once you've got Winamp, then you need to install the File Writer Output plugin.
http://www.winamp.com/plugins/details.php?id=96985
Now all you need do is fire up Winamp, load the track or file you wish to convert. Then right click on the player got Options > Preferences > Output, select the File Writer Output plugin, down the bottom click Configure, select a directory where you want the new converted file to go, select Windows wav format (WAV) > OK, then you're set. Just press play and it will convert the track into .wav format and record the file to the selected directory. If you want you can also use this plugin to convert to .mp3, though you will need to download the LAME codec. For more information on this plugin check this link.
http://home.hccnet.nl/th.v.d.gronde/dev/filewrite/index.html
Cheers!
rpbizzle47 said:StevOz said:VP can only play .wav files and .mp3 files. Also it can only play one .mp3 file at a time, though it can play many .wav sounds. That said you can convert all sound formats to .wav files with Winamp, everybody has Winamp, don't they, the free version will do.
http://www.winamp.com/
Once you've got Winamp, then you need to install the File Writer Output plugin.
http://www.winamp.com/plugins/details.php?id=96985
Now all you need do is fire up Winamp, load the track or file you wish to convert. Then right click on the player got Options > Preferences > Output, select the File Writer Output plugin, down the bottom click Configure, select a directory where you want the new converted file to go, select Windows wav format (WAV) > OK, then you're set. Just press play and it will convert the track into .wav format and record the file to the selected directory. If you want you can also use this plugin to convert to .mp3, though you will need to download the LAME codec. For more information on this plugin check this link.
http://home.hccnet.nl/th.v.d.gronde/dev/filewrite/index.html
Cheers!
Thanks for the info. I have discovered the some wav/mp3 files won't work with VP either. I don't know why either!![]()
rpbizzle47 said:I used the winamp/file writer plugin on a 2 MB mp3 file and it converted it into a whopping 22 MB WAV file. Yes sir re, I'll save some disk space like that huh?! :) The mp3 file for some reason wouldn't work with VP (I've found several mp3's don't work right) but the wav file worked using the Playsound "filename" (imported te file into vp) but I couldn't get the sound to repeat with the "-1" command. I just wanted to see if the file would play as I don't have any intentions of releasing a table with a 22 MB soundtrack. :)
So, whats the proper way to use the -1 switch?
Sub Table1_MusicDone( )
PlayMusic "musicfile.mp3"
End Sub
Dim music
music = 1
Sub Table1_MusicDone( )
Select Case music
Case 1
PlayMusic "track1.mp3"
Case 2
PlayMusic "track2.mp3"
Case 3
PlayMusic "track3.mp3"
music = 0
End Select
music = music +1
End Sub
StevOz said:To play a .mp3 over again after it finishes you need to use this code.
Code:Sub Table1_MusicDone( ) PlayMusic "musicfile.mp3" End Sub
Where "musicfile.mp3" is the name of the file you wish to play, actually you could also use that Sub to play some other track after that track is finished playing, using a flag to keep count, something like this.
Code:Dim music music = 1 Sub Table1_MusicDone( ) Select Case music Case 1 PlayMusic "track1.mp3" Case 2 PlayMusic "track2.mp3" Case 3 PlayMusic "track3.mp3" music = 0 End Select music = music +1 End Sub
btw Ron perhaps you should try converting the .wav back to .mp3 and then maybe it might work with VP.![]()
StevOz said:I think I've figured out why some .mp3s will not work with VP, I'm guessing that those that won't work are recorded as VBR (variable bit rate) mp3s, which is a newer and more efficent mp3 protocol as opposed to the older CBR format ( constant bit rate ), so all you need do is convert them to CBR mp3s and VP will be able to handle them. :D