Jump to content
Sign in to follow this  
Nagato Yuki


Recommended Posts

Hi, RGSS3 takes 10 seconde to initialize midi and doesn't have bgm_pos function for midi files (it return 0) so I've converted Fmod Script for RGSS3...

Normaly it doesn't bug and the quality is equal but some functions have different names, e.g. bgm_pos is named bgm_position and you don't need to use script command by event for use this script. (Except for position and something else.)

As you probably know, you'll need Fmodex's DLL, so here is a link to this dll : url (sorry for using MU).

Script : FModEx.txt

Credit to Kevin Gadd.


Sory for my bad english.

Share this post

Link to post
Share on other sites

Audio.bgm_pos : "BGM ã®å†ç”Ÿä½ç½®ã‚’å–å¾—ã—ã¾ã™ã€‚ogg ã¾ãŸã¯ wav ã®å ´åˆã®ã¿æœ‰åŠ¹ã§ã™ã€‚有効ã§ãªã„å ´åˆã¯ 0 ã‚’è¿”ã—ã¾ã™ã€‚" It return bgm_pos if you play a wav or an ogg.

With FmodEx Audio.bgm_position return the bgm_pos whatever the bgm file format.

You can also set the bgm_position with the command "Audio.bgm_position= value" (in millisecond), get and set the volume in playing (Audio.bgm_volume) and set the loop point (usefull for midis but sometimes it make an horrible sound).

This script give you a better Audio gestion than the Audio module included in RGSS 3. (But I've just converted this script, the Audio module don't use all the FModEx function.)

Edited by Nagato Yuki

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

Top ArrowTop Arrow Highlighted