An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

NRP Audio Manager - NRP_AudioManager.js

Plugin desc : v1.061 Manage audio files.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_AudioManager.js

Desc page : http://newrpg.seesaa.net/article/483999181.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_AudioManager.js

File name : NRP_AudioManager.js

Help of plugin :

Manage audio files.
 * 
 * -------------------------------------------------------------------
 * [Functions]
 * -------------------------------------------------------------------
 * ◆Change Current BGM Setting (Plugin command for MZ)
 * The volume, pitch, and pan of the currently playing BGM
 * can be changed by plugin command.
 * 
 * Unlike RPG Maker command, there is no need to specify a file name,
 * which allows for a greater degree of freedom.
 * For example, it is possible to lower the volume of the BGM
 * when a special skill is activated.
 * 
 * Also, the current playing position
 * is maintained when the pitch is changed.
 * 
 * ◆Audio Alias Function
 * For example, if you want to set the boss battle music in Maker,
 * you may use the "Change Battle BGM" command
 * to set the boss battle music, and then change it back
 * to the normal battle music after the battle.
 * 
 * The problem is if you then want to change
 * the boss battle music or normal battle music.
 * The operation needs to be changed for all boss battle events.
 * 
 * If you set up a dummy file in advance,
 * you can replace that song with another file.
 * You will not have to bother to change all the event commands.
 * 
 * Also, if you want to change the normal battle music
 * from the second half of the game,
 * you can branch it by means of a switch.
 * 
 * ◆Audio Adjustment Function
 * For example, when playing an ogg file imported as material,
 * the volume is sometimes out of balance with other materials.
 * There is a way to adjust the volume every time you play,
 * but it is difficult if you want to change it later.
 * 
 * If you use this plug-in to set the volume in such cases,
 * you will not have to set it every time you play.
 * In particular, you can set the volume to over 100,
 * which is normally impossible.
 * 
 * You can also change the start point of BGM and BGS.
 * You can eliminate unnatural space by moving back
 * the start point of ogg that contain long space at the beginning.
 * 
 * ※If you use this function together with the Audio Alias Function,
 *   please set it for the file after the replacement.
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @-----------------------------------------------------
 * @ [Plugin Commands]
 * @-----------------------------------------------------
 * 
 * @command ChangeCurrentBgmSetting
 * @desc Changes the volume, pitch, and pan of the currently playing BGM.
 * 
 * @arg Volume
 * @type number
 * @max 400
 * @default 90
 * @desc The volume of the BGM.
 * 90 is the default value.
 * 
 * @arg Pitch
 * @type number
 * @default 100
 * @desc The pitch of the BGM.
 * 100 is the default value.
 * 
 * @arg Pan
 * @type number
 * @max 100 @min -100
 * @default 0
 * @desc The pan of the BGM.
 * 0 is the default value.
 * 
 * @-----------------------------------------------------
 * 
 * @command ChangeCurrentBgsSetting
 * @desc Changes the volume, pitch, and pan of the currently playing BGS.
 * 
 * @arg Volume
 * @type number
 * @max 400
 * @default 90
 * @desc The volume of the BGS.
 * 90 is the default value.
 * 
 * @arg Pitch
 * @type number
 * @default 100
 * @desc The pitch of the BGS.
 * 100 is the default value.
 * 
 * @arg Pan
 * @type number
 * @max 100 @min -100
 * @default 0
 * @desc The pan of the BGS.
 * 0 is the default value.
 * 
 * @-----------------------------------------------------
 * @ [Plugin Parameters]
 * @-----------------------------------------------------
 * 
 * @param <BGM>
 * 
 * @param BgmSettings
 * @parent <BGM>
 * @type struct<BgmSetting>[]
 * @desc Set the volume and other settings for each BGM file.
 * 
 * @param BgmAliases
 * @parent <BGM>
 * @type struct<BgmAlias>[]
 * @desc Replaces the BGM file and plays it.
 * The higher the setting, the higher the priority.
 * 
 * @param <BGS>
 * 
 * @param BgsSettings
 * @parent <BGS>
 * @type struct<BgsSetting>[]
 * @desc Set the volume and other settings for each BGS file.
 * 
 * @param BgsAliases
 * @parent <BGS>
 * @type struct<BgsAlias>[]
 * @desc Replaces the BGS file and plays it.
 * The higher the setting, the higher the priority.
 * 
 * @param <ME>
 * 
 * @param MeSettings
 * @parent <ME>
 * @type struct<MeSetting>[]
 * @desc Set the volume and other settings for each ME file.
 * 
 * @param MeAliases
 * @parent <ME>
 * @type struct<MeAlias>[]
 * @desc Replaces the ME file and plays it.
 * The higher the setting, the higher the priority.
 * 
 * @param <SE>
 * 
 * @param SeSettings
 * @parent <SE>
 * @type struct<SeSetting>[]
 * @desc Set the volume and other settings for each SE file.
 * 
 * @param SeAliases
 * @parent <SE>
 * @type struct<SeAlias>[]
 * @desc Replaces the SE file and plays it.
 * The higher the setting, the higher the priority.
 * 
 * @param <Other>
 * 
 * @param DisabledAutoplaySwitch
 * @parent <Other>
 * @type switch
 * @desc Disables map switching and ride auto-play while the switch is on.

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.