KC_TextSounds - Face-based dialogue blips with control codes [MZ / MV]

KC_TextSounds 1.1.2
by Kelly Chavez
​

Introduction
This is a simple plugin that allows you to set and control sound effects played when a character is printed in the message box.

Features
  • Automatically change text blip SE, pitch, volume, and more based on character faces
  • Set a general text sound that plays when no face is used in a message box
  • Disable all text sounds with the simple flip of a switch
  • Temporarily change text sound parameters via text codes in the box

Example Media


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

Downloads & Demos
GitHub Releases

Changelog
Spoiler: Changelog
  • 2022/8/22 - v1.0.0
    • Initial release
  • 2022/10/14 - v1.0.1
    • Fixed frequency being off by one
  • 2022/12/15 - v1.1.0
    • 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

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.
Ooooo, I was looking for something like this. Going to give a whirl. Thank you!
Thanks for this. Will try.
Made a small update today and noted an incompatibility found by a user in the OP.

Changelog for version 1.1.0
  • 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
can someone please tell me how to use it i tried to follow the information in the help section but i don't understand anything
I am also trying to use this but I can't get the text sounds to actually play. Any help? I have the Visustella Message Core but not the Message Log. No sound is coming out, even for general text
@WaluigiWahaha check known issues as there is no fix for it yet and use
visustella letter sounds instead.

as visustella plugins obfuscated, fixing or compability patches are hard to make.
Hello there, I hope it's okay to ask for some troubleshooting help ovo/

I'm new to RPG Maker and know very little about code so may be missing something very simple.


My goal is for the ellipses to be silent and not generate blips, and then turn it back on for the subsequent dialogue:




It seems to be working on another bit of dialogue, but I've written them the same way and can't figure out the issue. Doesn't seem to be an issue of the volume control being before or after the call for the popout dialogue window, either.


Here is the one where it works, but it could also be a quirk of the timing/frequency (?):



Asking here in case it's just that I'm using it all wrong, as that truly be the case. Thanks in advance for any help! u_u
Strange. If you've got a high frequency, and the text sound was supposed to play right before the volume was flipped back, it's definitely a possibility that it doesn't get the chance to play before the message finishes.

If this is the case, then running /SEPLAY[] right after changing the volume would prolly work. In my game, I think I used SEF to turn my blips on and off (\SEF[0] means off). Seems like changing SEF makes a sound always play on the next character if Don't Play on 1st Letter is off. Not sure why I wrote it like that to be honest. Been a few years since I touched that part of the code.
Using SEPLAY[] after the volume change worked!! Thank you so much for taking the time to help, I really appreciate it!

/It's such a tiny thing but the bleep-bloops are supposed to represent speech so them playing on what's meant to be silence was slowly tilting me cause I couldn't figure it out!😠 Glad I can move on now lol
Hello! I have some questions about using this plugin.
I already installed it, but the basic text SE keeps appearing. I don't know if any of my other plugins may harm this plugin.
1748959238359.png


Basically what I'm trying to achieve is to completely remove the text SE. I know there are other ways to achieve this, but in a future I would like to have a personalized SE for each character. I have tried using \sev[0], and the 'Disable SE' switch, but doesn't seems to work.

This is an example of the text. This is an Autorun,
1748959518652.png


Thanks in advance for help!
I only added sound to the default parameter, which means only text without a face should play the sound, but I do not hear anything
1777765816201.png

1777765790986.png

Original thread: https://forums.rpgmakerweb.com/threads/kc_textsounds-face-based-dialogue-blips-with-control-codes-mz-mv.150709/