Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-12-2007, 06:44 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
ID3 Tags

I've looked all over the place, but what is the function to get information about the currently playing local or url song file.
Reply With Quote
  #2  
Old 05-12-2007, 07:02 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by Rapidwolve View Post
I've looked all over the place, but what is the function to get information about the currently playing local or url song file.
getMusicTags() returns an array of information on the currently played track.
__________________
What signature? I see no signature?
Reply With Quote
  #3  
Old 05-12-2007, 07:07 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
Thanks , but you can only get information on the currently playing track?
Reply With Quote
  #4  
Old 05-12-2007, 07:10 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by Rapidwolve View Post
Thanks , but you can only get information on the currently playing track?
Yep :[
You'd need to play it (silently), get the information, and then there you go.
Otherwise, I don't think you can :[
__________________
What signature? I see no signature?
Reply With Quote
  #5  
Old 05-16-2007, 02:42 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
You can't adjust the musicposition though (it is a read-only variable) so it would cause whatever music you are currently playing to either stop or start over if you wanted to "play it silently".
__________________
Do it with a DON!
Reply With Quote
  #6  
Old 05-18-2007, 09:19 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by zokemon View Post
You can't adjust the musicposition though (it is a read-only variable) so it would cause whatever music you are currently playing to either stop or start over if you wanted to "play it silently".
setMusicVolume(0, 0);

That would do it
__________________
What signature? I see no signature?
Reply With Quote
  #7  
Old 05-18-2007, 11:35 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
Quote:
Originally Posted by godofwarares View Post
setMusicVolume(0, 0);

That would do it
I believe if the music volume is zero then any sound functions wont work, including getmusictags(), I got this because when my volume on Graal was all the way down that function didn't work, but it did once I put them back up
Reply With Quote
  #8  
Old 05-19-2007, 12:14 AM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
Quote:
Originally Posted by Rapidwolve View Post
I believe if the music volume is zero then any sound functions wont work, including getmusictags(), I got this because when my volume on Graal was all the way down that function didn't work, but it did once I put them back up
Correct.
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
Reply


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

Forum Jump


All times are GMT +2. The time now is 04:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.