forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SoundInLua Applications-Lua was born here in Rio de Janeiro

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
sdfnanderson



Joined: 27 Jan 2006
Posts: 12

PostPosted: Fri Jan 27, 2006 8:01 am    Post subject: SoundInLua Applications-Lua was born here in Rio de Janeiro Reply with quote

Comment here How to use sounds with the LUA interpreter for playstation 2, mp3files, waves, singing birds, crashes, bangs and another things (if I remember games uses It).
Do you know where lua was born? I Know!! here, in Rio de Janeiro, on the TECGRAF LABS IN THE PUC UNIVERSITY. I Will try to contact the "fathers of the moon" LUA(is in my dear brazilian portuguese language) and talk about our project for LUA PLAYSTATION. And I can try to be a partner here, in Brazil, for the OUR LUA language.
========================================
First, look this:
Lua Player supports sound in WAV format and music in the MOD formats UNI, IT, XM, S3M, MOD, MTM, STM, DSM, MED, FAR, ULT and 669 (use Google to find some editors for it and perhaps some music files, but ask the composer, if you are allowed to use it).
Playing a music is easy: For example to play the file “stranglehold.xm” (composed by Jeroen Tel, (C) 1995 Maniacs of Noise) from the Snake game (Jeroen has allowed to use it in this game), which is included in the standard distribution with Lua Player, just call “Music.playFile(”stranglehold.xm”, true)”. If you specify “false” instead of “true”, the sound will not loop. Call “Music.stop()” to stop the music.
For WAV files first you load the file like with Images: “explode = Sound.load(”explode.wav”)”. Later you can call “explode:play()” to play the music.
========================================
Extracted from the excellent tutorial hosted in the site
http://wiki.ps2dev.org/psp:lua_player:tutorial
========================================

And using LuaGL? How do I do this?
now, we will comment details about it!!!
Back to top
View user's profile Send private message Send e-mail
KawaGeo



Joined: 27 Aug 2005
Posts: 191
Location: Calif Mountains

PostPosted: Fri Jan 27, 2006 6:03 pm    Post subject: Reply with quote

sdfnanderson wrote:
And using LuaGL? How do I do this?
now, we will comment details about it!!!

LuaGL for Windows console is about to brew! I am still working on it. It will be announced very soon. The first release will include all functions required for the first few chapters of OpenGL Programming Guide (Redbook) to try some exercises in Lua. So, stand by and watch for the announcement.
_________________
Geo Massar
Retired Engineer
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group