MZ [CGMZ] Sound IDs

[CGMZ] Sound IDs
By: Casper Gaming
Last Update: June 7, 2025
Latest Version: 1.1.0
​
Forum-Header-Introduction.png

This plugin allows you to associate a sound file with an id. You can then play sound files by id via plugin command. Then, later in development if you decide to change the sound file, you only need to change it once in the plugin parameters instead of everywhere it was used throughout your game. You can also choose to play a random sound effect out of multiple possible ids provided via plugin command.
Forum-Header-Features.png

  • Associate sound files with an id
  • Swap sounds out easily in your game
  • Play a random sound of any type
Forum-Header-Video.png


Forum-Header-HowTo.png

Import into plugin manager and enable the plugin. Some customization options are able to be altered. Further instructions in plugin.

Documentation can be found on my website.
User documentation can be found on the Casper Gaming Wiki.
Forum-Header-Download.png

Plugin (along with all my other plugins) can be found here: Download
Requires CGMZ Core plugin: [CGMZ] Core Download

Also available on Itch.io:
Forum-Header-CreditAndTerms.png

https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png

Spoiler: Version History
Version Beta
  • Added plugin command to play a random sound from a list of sound ids
  • This plugin now warns on invalid JSON instead of crash
Version 1.0.0
  • Added console warnings for blank sound ids
Version 1.0.1
  • Updated error message texts
Version 1.1.0
  • Added variance to volume
  • Added variance to pitch
  • Added variance to pan
version-101.png

Hi all, today this plugin was updated to version 1.0.1! 👋

This version is a small update to change some error message text.

Version 1.0.1
  • Updated error message texts
version-110.png

Hi all, today this plugin was updated to version 1.1.0! 👋

This version adds volume, pitch, and pan variances to your sound id objects. When playing a sound effect, bgm, etc. if set up the played sound will randomly vary within the range given in the parameters. This can be used to slightly change sound effects and other audio in your game so that it is not exactly the same every time.

Version 1.1.0
  • Added variance to volume
  • Added variance to pitch
  • Added variance to pan

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-sound-ids.170626/