![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on help loading mp3 file in LUAHM5 within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; hi how do i load mp3 files in luahm5? i get an error saying wrong number of arguments. i cant ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
hi how do i load mp3 files in luahm5? i get an error saying wrong number of arguments. i cant test it because luaplayer for windows doesnt support the new updates yet heres what i put on the line
Code:
Mp3.load("01 Gears of War.mp3")
Mp3.play("01 Gears of War.mp3",true)
mp3.volume(128)
Code:
Music.playFile("menu.it",true)
Music.volume(128)
|
|
|
|
|
|
#4 | |
![]() |
Quote:
is there a cap on the size of the mp3? |
|
|
|
|
|
|
#6 |
![]() ![]() Developer
|
To load an mp3 do the following
1 Mp3.load("filepath/mp3name/mp3") 2 Mp3.play() to stop Mp3.stop() Mp3me functions 1 Mp3me.load("filepath/mp3name/mp3") 2 Mp3me.play() to stop Mp3me.stop() to pause Mp3me.pause() Regards homemister
__________________
Heres to the Wyvern, Heres to getting Wyvern, Heres to staying Wyvern, And if you can't get Wyvern....... You should become a kingsman! http://arnold.hyperphp.com/ arnold, Light_AleX and my releases D² |
|
|
|
|
|
#7 |
|
I've never had luck using Mp3 Functions.. Mp3me worked fine though.
and your problem is Mp3.load("song.mp3") then do Mp3.play() not Mp3.play("song.mp3", true). Not saying that'll work.. but thats why it says wrong number of arguments |
|
|
|
|
|
|
#8 |
![]() |
YEA! thanks guys it works perfect now.
-= Double Post =- WTF, yo guys theres something very wrong with one of the files that play, when i go into my main menu, the music will play for about 20 seconds, but then. the song will change to a song by linkinpark, i was like WTF, maybe its on my mem card, but no i dont have any linkinpark, i listened to the mp3 on my laptop, and its perfect. anyone able to help on this one? Last edited by linkinworm; 03-31-2008 at 08:32 AM.. Reason: Automerged Doublepost |
|
|
|
![]() |
| Tags |
| file , loading , luahm5 , mp3 |
| Thread Tools | |
|
|