Introduction
With permission and at the request of several others in the original thread, I am publicly releasing my quick-and-dirty MV conversion of
@MushroomCake28's excellent MZ audio plugin, MUSH Audio Engine. It's not perfect, but should be better than nothing for those who want this plugin on MV!
Features:
From original thread:
- New BGM/BGS system that allows multiple BGMs/BGSs to be played at the same time.
- Added 2 optional extra channels to control volume separately: one channel for UI sound effects called UIS, and one channel for voice acting called VSC.
- Added a master volume option.
- Spatial Audio for BGM, BGS, and SE (volume and pan dynamically varies depending on player position to audio source(s)).
- Pitch and Volume variance for SE/UIS on each play.
- Ability to load the parent map's autoplay BGM if the current map doesn't have one.
Click to expand...
Instructions:
See original thread.
The only substantive difference in usage is the plugin commands. MZ uses a UI interface for plugin commands, but for MV, you enter the plugin commands as written text. Take note as some of the commands are rather long.
Every argument is required, in the exact order shown, or things will almost certainly break. Every argument is also case-sensitive. You can put 0 for fadeIn/fadeOut if not used.
For explanations of the individual arguments and what to put there, refer to the original thread. Follow the spelling and case setting described/shown in the photos. The ONLY meaningful difference is that for the PanType, you want to use either "LinearScaling" or "OriginExpand" (without the quotes, cap sensitive, and note the lack of a space). The space was removed for ease of processing the plugin commands.
MV Plugin Commands:
Spoiler: MV Plugin Commands
- PlayBGM Filename Channel Pitch AutoRemover Volume Pan FadeIn Interrupt
- PlayBGS Filename Channel Pitch AutoRemover Volume Pan FadeIn Interrupt
- StopBGM Channel FadeOut
- StopBGS Channel FadeOut
- StopAllBGM FadeOut
- StopAllBGS FadeOut
- AddSpacialBGM Filename Channel Pitch Dynamic MaxVolume Radius Strength PanType PanStartDistance PanLengthDistance CrossFade
- AddSpacialBGS Filename Channel Pitch Dynamic MaxVolume Radius Strength PanType PanStartDistance PanLengthDistance
- PlaySpatialSE Filename Pitch PitchVariance VolumeVariance MaxVolume EventId Radius Strength PanType PanStartDistance PanLengthDistance
- PlayVSC Filename Channel Pitch Volume Pan Interrupt
Plugin Command Examples:
Spoiler: Plugin Command Examples
PlayVSC AreYouReady 2 80 70 0 Ignore
- Plays the file "AreYouReady.ogg" from the /vsc folder on Vsc channel 2 with pitch 80, volume 70, pan 0, and "Ignore" interrupt setting
PlayBGM Town1 1 100 true 45 0 3 Pause
- Plays the file "Town1.ogg" from the /bgm folder using BGM channel 1 with pitch 100, AutoRemover "true", volume 45, pan 0, fadeIn of 3 secs, and "Pause" interrupt setting
AddSpacialBGS Sea 1001 100 false 70 8 100 OriginExpand 3 6
- Adds a spacial BGS playing file "Sea.ogg" from the /bgs folder using BGS channel 1001 with pitch 100, dynamic "false", max volume 70, radius 8, strength 100, pan type OriginExpand, pan start distance 3, pan length distance 6
Known Issues:
-
Playing MEs does not mute/pause BGS or Mush BGM. Playing MEs is supposed to automatically stop any BGM or BGS (default or Mush) and resume them when the ME is finished. Unfortunately this behavior works only for RM's default BGM, but
not for default BGS or for Mush BGM/BGS. I had to disable portions of the functions involved because it was causing a crash error I could not fix or trace. Therefore,
any Mush BGM/BGS channels or default BGS will simply continue uninterrupted if an ME is played. I may or may not get around to fixing this, as I'm not only thoroughly vexed by it, I also don't personally care much about MEs or whether they mute BGM/BGS. Someone smarter than me is welcome to investigate! Otherwise, my advice: Manually mute/pause/resume any BGS or Mush BGMs as needed before or after using MEs.
Please report any other issues with this plugin conversion here. I cannot guarantee I will be able to address them, but I will at least take a look!
Terms of Use:
Same as MushroomCake28's original, which states:
- This plugin is free for commercial and non-commercial use.
- You may edit the plugin, but please contact me before sharing any edits of the plugin.
- You can repost this plugin as long as you link back to this thread.
- Please credit MushroomCake28 in your project if you use this plugin.
Click to expand...
Additionally, you may optionally credit "FeatherBrain Studios" if you want.
DOWNLOAD PLUGIN:
See Attached Files
本贴来自国际rpgmaker官方论坛作者:Featherbrain处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/mv-conversion-mush-audio-engine-spatial-audio-voice-acting-new-channels-etc.133483/