What's new?
1. Reset instruments before run new song (before if you setup instruments for some script, they affected on next song)
2. Add hook for OnSoundPlay function, now you can make own OnSoundPlay function if you need it (some my multi-instrumental scripts require it). This function and additional property in s_info table (i'm talking about s_info["onsound"]) not required if you no need it.
1. Reset instruments before run new song (before if you setup instruments for some script, they affected on next song)
2. Add hook for OnSoundPlay function, now you can make own OnSoundPlay function if you need it (some my multi-instrumental scripts require it). This function and additional property in s_info table (i'm talking about s_info["onsound"]) not required if you no need it.
Example of using:
-- you can name this function as you wish
function on_sound(channel, note, len, label)
-- your code
end
function r()
-- important: s_info["onsound"]=name_of_your_function
-- must be in r() function
s_info["onsound"]=on_sound
-- your code
end
3. Few changes in next, prev, try_again functions, now it's detect if you use it while some music synchronizing and just ignore your request (before some bugs can be occur).
-- you can name this function as you wish
function on_sound(channel, note, len, label)
-- your code
end
function r()
-- important: s_info["onsound"]=name_of_your_function
-- must be in r() function
s_info["onsound"]=on_sound
-- your code
end
3. Few changes in next, prev, try_again functions, now it's detect if you use it while some music synchronizing and just ignore your request (before some bugs can be occur).
Aion music player (ver 1.03) script
Some multi-instrumental scripts for player:
Death Note - Light's Theme (data) script
Hannah Montana - Wherever I Go (data) script
Some multi-instrumental scripts for player:
Death Note - Light's Theme (data) script
Hannah Montana - Wherever I Go (data) script
No comments:
Post a Comment