PDA

View Full Version : Error: INDEX.LUA:20: error loading sound



datrickstar
October 20th, 2008, 20:23
Hi, I'm new to Lua and I tried following http://www.psp-programming.com/tutorials/lua/lesson02-2.htm but when I try and run it I get:

Error: INDEX.LUA:20: error loading sound
Any help please? I'm running LuaPlayer HM8 on 4.01 M33-2 phat psp
thanks

yaustar
October 21st, 2008, 11:42
The WAV needs to be in mono at a specific bitrate. Can't remember what the bitrate needs to be.

datrickstar
October 21st, 2008, 17:55
The file I'm trying to load is Mono, it's from the zip file off http://www.psp-programming.com/tutorials/lua/lesson02.htm
clack.wav - which is mono, PCM and 352kbps.

It should work as far as i know :(

yaustar
October 21st, 2008, 21:20
Have you got the wav in the right folder?

datrickstar
October 21st, 2008, 23:18
Yeah I have, I tried it with LuaPlayerwin and it loaded fine with that.
When I tried loading the app Snake which came with LuaplayerHM8 it wouldn't load cos of the sound aswell

yaustar
October 22nd, 2008, 01:23
Could be a bug with that version of HM. Try another.