| View previous topic :: View next topic |
| Author |
Message |
0inprogram
Joined: 06 Dec 2007 Posts: 21 Location: chennai
|
Posted: Fri Dec 21, 2007 9:33 am Post subject: soundplay problem |
|
|
the soundplay is not working .... help
m using wav format only |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 1219
|
Posted: Fri Dec 21, 2007 9:51 am Post subject: |
|
|
Well, without any sample code for anyone to look at...
1. Plug in your speakers properly
2. Unmute your sound in windows
3. Turn your volumes up
4. Make sure your audio device is installed correctly
Cheers! _________________ My Home Thread
More Common Answers: 1. It's in the FAQ 2. Ternary ( ? : ) guide 3. Post code with [code][/code] tags |
|
| Back to top |
|
 |
garry
Joined: 19 Apr 2005 Posts: 1077 Location: switzerland
|
Posted: Fri Dec 21, 2007 10:42 am Post subject: |
|
|
for me also only WAV worked, now can play also MP3, I don't know why
maybe since I downloaded :
http://www.codecguide.com/download_mega.htm
from help file
| Quote: |
All Windows OSes should be able to play .wav files.
However, other files (.mp3, .avi, etc.) might not be playable if the right codecs or features aren't installed on the OS.
|
|
|
| Back to top |
|
 |
evandevon
Joined: 22 Apr 2008 Posts: 18
|
Posted: Thu May 08, 2008 3:19 pm Post subject: mp3 codec required |
|
|
The problem with only being able to play .wav is that you need an mp3 codec in your system32 folder. Google search for lame.dll and save that file to C:\WINDOWS\system32 and then you should be able to play all .mp3 files.
Here is a simple audio player script
| Code: |
Gui, Add, Button, x1 y1 w110 h60 , Song_Location
Gui, Show, x131 y91 h60 w110, Music Player
return
ButtonSong_Location:
FileSelectFile, Location , , , Select a song dumbass,
SoundPlay, %Location%
return
GuiClose:
ExitApp
|
_________________ Inventing problems that need solutions... |
|
| Back to top |
|
 |
|