QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Lua Music Freezes Program

This is a discussion on Lua Music Freezes Program within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I'm using the MP3 enabled Lua program, and while using MP3 it barely plays them. While a .Wav completely crashes ...

Reply
 
LinkBack Thread Tools
Old 05-26-2008, 05:19 PM   #1
 
Join Date: Nov 2006
Posts: 10
Trader Feedback: 0
Default Lua Music Freezes Program

I'm using the MP3 enabled Lua program, and while using MP3 it barely plays them. While a .Wav completely crashes the program. Is there a fix to this?

Thanks for any help guys I'm completely stumped.
Palko17 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2008, 05:30 PM   #2
Enter Custom Title
 
dan369's Avatar
 
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: Overlord 2
Posts: 1,308
Blog Entries: 1
Trader Feedback: 0
Default

Wats the program called, Link to where u got it from would be nice
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2008, 05:48 PM   #3
 
Join Date: Nov 2006
Posts: 10
Trader Feedback: 0
Default

Hah sorry if I wasn't clear about that. Its one I'm making. I cut the file size down to 1 MB (the quality sucks, but I want to get the program working then focus on that) and its still freezing. I dunno what its problem is, heres the code to play the file:

Quote:
titleMusic = Sound.load("./80725.wav",true)
titleMusic:\play()
Just put the slash there to keep it from posting the smiley.
Palko17 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2008, 06:00 PM   #4
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

This is where I turn your attention to the CODE tag or the 'disable smilies in text' checkbox below the post box

Honestly I don't know, apart from it being an incompatible format or simply too large. I'd need more specific details about bitrate, channels, sampling rate, etc.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2008, 06:09 PM   #5
 
Join Date: Nov 2006
Posts: 10
Trader Feedback: 0
Default

I'm beginning to think Lua is to weak of a language to support my coding, I may have to go the route of C++. Ugh, that disturbs me. I think that the game I'm attempting to make is to processor heavy to run under Lua. Oh well it was a fun little run. I'm unsure of how to delete topics so could a mod either lock or delete this? Thanks.
Palko17 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2008, 06:34 PM   #6
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

What are you on with?

You haven't given people enough information to even try to help you and it is unlikely lua is that weak at all.

Answer what people ask and they will help.

For example;
What are you making? What is this program you said your using? And the details FreePlay asked for.

Also lua is strong enough to play a mp3..
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2008, 09:18 PM   #7
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

Lua is that weak.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2008, 09:24 PM   #8

lol
 
Anti-QuickJay's Avatar
 
Join Date: Aug 2006
Real First Name: Robert
Location: Whittier, CA
Just Played: Madden 10
Posts: 5,791
Trader Feedback: 0
Default

Bad coding becuz playing a regular MP3 in lua shouldnt be an issue.
Anti-QuickJay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-26-2008, 09:30 PM   #9
 
Join Date: Jan 2008
Posts: 612
Trader Feedback: 0
Default

Use Youresam's IPM luaplayer - it's MP3 playing is much more efficient and doesn't suck nearly as much as other implementations. I and probably FreePlay and probably some others know how to find this luaplayer eboot but you'll have to find it yourself. Hint: 1337 Jeeps with Buttons
TurtlesPwn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-27-2008, 02:30 AM   #10

Developer
 
Nielkie's Avatar
 
Join Date: Jul 2006
Posts: 549
Trader Feedback: 0
Default

Not cool, TurtlesPwn.

http://www.dcemu.co.uk/vbulletin/showthread.php?t=56547
__________________


Nielkie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-27-2008, 06:14 AM   #11
 
Join Date: Jan 2008
Posts: 612
Trader Feedback: 0
Default

I gave enough hints for you to find it, so why shouldn't this guy be able to?
TurtlesPwn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-27-2008, 07:41 AM   #12
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

There could be many reasons why he couldn't lol
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-27-2008, 07:54 AM   #13

Developer
 
Nielkie's Avatar
 
Join Date: Jul 2006
Posts: 549
Trader Feedback: 0
Default

It's not that he can't, it's that you are keeping meaningless secrets for no reason but to show your own superiority.
__________________


Nielkie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-27-2008, 03:28 PM   #14
 
Join Date: Jan 2008
Posts: 612
Trader Feedback: 0
Default

Oh come on, the point is to make people work for their goals - if we hand everything to them, they become exactly what we dread - thankless lua nubs who whine in the LHT that their copy and pasted code won't make the next great MMORPG run perfectly. If the person were to search QJ for posts by youresam regarding jeeps and buttons, look what they might find:
http://forums.qj.net/search.php?searchid=2239923
If they're not resourceful enough to get there from what I gave them, they have greater issues.
TurtlesPwn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
freezes , lua , music , program

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 09:52 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us