Audio Fader – MV Plugin

      4 Comments on Audio Fader – MV Plugin

This plugin gives the developer more control over the volume fading of BGM, BGS, and ME audio effects within the game.


Look at the code or download the Plugin:


Audio Fader
SumRndmDde

This plugin gives the developer more control over the volume fading of BGM,
BGS, and ME audio effects within the game.

=======================================================================
Plugin Commands
=======================================================================

In order to fade in audio, use the following Plugin Commands.
In all the Plugin Commands, the “type” needs to be defined. The “type” can be
one of the following: BGM, BGS, or ME. That plugin will then affect the
current BGM, BGS, or ME respectively.

FadeIn [type] [duration]

Fades in the specific audio type over a duration in frames.

FadeOut [type] [duration]

Fades out the specific audio type over a duration in frames.

FadeTo [type] [duration] [volume]

Fades the audio type to a specific volume over a duration in frames.

FadeFromTo [type] [duration] [first-volume] [target-volume]

Fades the audio type by first setting it to “first volume”, then fading it
the “target-volume” over a duration in frames.


Screenshot:

4 thoughts on “Audio Fader – MV Plugin

  1. Ric Wedge

    Hi!

    I’m loving having the functionality of this plugin but I’m having some issues getting it to work properly.

    I’ve got a common event where I’d love to fade out the BGM, play a ME while the CE plays out, and once the CE is done, fade out the ME and fade back in the BGM.

    I can get every part of the event working except for fading back in the BGM. It seems like, once the BGM is faded out, it cannot be faded back in. I feel like I must be missing something in terms of how BGM/ME/this plugin works, but I can’t seem to suss it out with any amount of testing.

    This functionality is super important to my project, so although I realize it’s not great to be so reliant on a plugin, this one seems to be the only one that purports to do what I need so I’m kinda stuck! I love SumRndmDde’s plugins for real and I’m really hoping I can get just a little bit of help with this one to get it working right.

    Many, many thanks.

    Reply
    1. Ric Wedge

      Just to clarify what I’ve tried —

      — so I can totally use the FadeTo plugin command, fade the BGM to 1, and fade it back to 100. That does work. But I cannot figure out a way to play either a ME, or a SE, in the meantime, and then fade back in the BGM.

      It’s kinda odd — what I’m trying to do it, when a common event is triggered, fade the BGM down to 1 or 0, play a different track (whether BGM or ME or SE), then fade the BGM back in. And I haven’t found a way to do this yet with this otherwise awesome plugin.

      -R

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *