How to Use
To use, download this plugin, place it into your game's plugins folder, and enable it in the plugin manager. From there, follow the information in the help section. See the demo for a working setup.
Plugin Commands / Script Calls
None
Text Codes
Spoiler: Text Codes
Use these in your message boxes to change the text sound's parameters on the fly
\SEN[x]
Use the SE with the name x for the rest of this text box.
\SEF[x]
Change the frequency of the text sound to x for the rest of the text box.
\SEV[x]
Change the volume of the text sound to x for the rest of the text box.
\SEPA[x]
Change the pan of the text sound to x for the rest of the text box.
\SEPI[x,y]
Change the minimum pitch to x and the maximum pitch to y for the rest of the text box.
\SEPIMIN[x]
Change the min pitch of the text sound to x for the rest of the text box.
\SEPIMAX[x]
Change the max pitch of the text sound to x for the rest of the text box.
\SEPRE[x]
Load the parameters of the preset with the name x for the rest of the text box.
\SEPLAY[x]
Immediately play the text sound with preset name x or the current sound if x is blank or not a valid preset name
Added new text code to play either the currently loaded text sound or a preset at any point in the message
Internally restructured code to be in-line with more recent plugins
An SE is now played on the first non-whitespace character of the message rather than waiting until the frequency parameter is met for the first time, and a toggle has been added to enable the old behavior
2025/02/19 - v1.1.1
Fixed incompatibility with RPG Maker MZ corescript 1.9.0
Updated help section to remove changelog
2025/03/12 - v1.1.2
Fix preset configurations failing to load in certain circumstances
Known Compatibility Issues
Spoiler: Compatibility Issues
Message Log VisuStella MZ
Issue: KC_TextSounds text code parameters remain in the message log.
Terms and Credits
I've released this plugin under the MIT license. So, you can include this plugin in any project as long as you include the license with your distribution. For most projects, this requirement is fulfilled as long as you keep the license text that is at the top of the plugin's js file intact.
Also, though not strictly required, I would appreciate being credited as K. Chavez or Kelly Chavez in your games' credits.