- Mar 1, 2014
- Reaction score
- First Language
- Primarily Uses
Audio Lag Fix 0.82 Beta
It's no secret that some people have been experiencing Audio lag within RPG maker specifically the longer BGM Files.
This is mainly due to Audio Buffer not being suited for clips greater than 45 seconds. When Audio begins to play, it is then RPG maker begins loading the file into memory, this takes time especially with BGMs which tend to be larger. they're are two ways to fix this. you can pre-load the file or Stream it from the source. this plugin trys the latter.
I've tested this plugin using a 10 minute stereo track i generated with Audacity. I noticed 1-2 seconds delay on my PC without the plugin. no delay with it on. I had trouble reproducing this effect in the editor. if this plugin doesn't work please let me know. I want to tackle this beat and win!. people with high end PC's may not notice a great deal because their PC's power will make up for the lag.
- One issue with this plugin is that Pitch shifting BGM's will no longer work as intended. This is due to the way Audio Element works in the Web Audio API and correct pitch shifting would require granular re-synthesises at run time. With this in Mind it may be sometime until i get that working, in the meantime pitch shifting BGM's will only change playback speed.
- Another is a small delay when fading out/in that is apparent when moving to a new map. this is caused by a FPS drop when loading a new map on mobile or other low end devices.
- Does not work on Android
Before reporting a bug, please ensure you have the most Updated version of this script, i usually update it whenever i find a bug i it. make sure RPGmakerMV is also up to date.
Please also include how you can replicate the bug, and what the error console says (push F8 to open the error console). with this information i can track what is happening with the bug and resolve the issue much more quickly.
This Plugin is released as is and is permitted to be of use in both commercial and non-commercial products. This Plugin is released for free and is protected by the MIT Licence