Microphone support? Is it possible at all?

Hello, quick question
I had a really funny idea for my horror game where the killer can hear you talking through the microphone
Is this even possible to do in vx ace?
Seems a little too advanced and I tried looking it up on google and found nothing.
To be honest, if it's not possible then it's fine, it was just an idea but I'm still curious if its possible
It's either impossible, or at least unfeasible. Even if RGSS2 could use microphone, you'd still need some speech recognition software in order to be able to differentiate between player talking and background noises.
It's either impossible, or at least unfeasible. Even if RGSS2 could use microphone, you'd still need some speech recognition software in order to be able to differentiate between player talking and background noises.
Yeah figured as much, probably why I couldn't find anything on google
Hello~! Me tobi!
Well, that highly depends, I have no idea about RPGM VXA but in MV You could code that easily, there are already existing free APIs that allow You to convert Microphone input into Text, and also You can easily start listening on MedieDevices...
However... that assuming that You would have access to JS...
Well... It is easily possible in RPG Maker MV ( or any that supports JS 😛 )

ChatGPT answer about Voice Recognition in RPG Maker VX Ace:
Spoiler: ChatGPT
RPG Maker VX Ace doesn't have built-in support for Voice to Text (speech recognition) out of the box. Since it uses Ruby for scripting, integrating Voice to Text functionality would require either an external library or some custom solutions that are not native to the engine.

Here are a few ways you could approach this:

1. External Speech Recognition APIs​

You could use an external service or API for speech recognition. One popular API for this is Google Cloud Speech-to-Text. However, integrating this into RPG Maker VX Ace would be quite complex and would require either a desktop application to interact with the game or running a web server alongside the game. You'd also need to handle communication between Ruby and an external program.

2. Using JavaScript with RPG Maker MV/MZ​

If you're looking for a simpler solution and you're not strictly tied to VX Ace, RPG Maker MV or RPG Maker MZ would be a better fit since these versions support JavaScript natively. You could use the Web Speech API in JavaScript to add Voice to Text functionality directly into the game.

3. Voice-to-Text in Desktop Apps​

You could write a separate desktop program that interacts with RPG Maker VX Ace. For example, the program could listen to the microphone for speech, convert it to text, and then feed that data into the RPG Maker game via a shared file or custom input.

4. Custom Plugins (Not Native to VX Ace)​

While VX Ace doesn't support direct voice recognition, you could create custom Ruby scripts that interface with external software or services that handle the voice input. However, this requires a good knowledge of Ruby, external libraries, and possibly additional software to bridge the gap.

Summary​

In short, adding Voice to Text functionality to RPG Maker VX Ace isn't straightforward and would likely require external tools or a shift to RPG Maker MV/MZ, which supports modern web technologies like JavaScript. If you're committed to using VX Ace, you'd need to rely on custom solutions outside of the RPG Maker environment.
@knuckles_the_chuckles
While theoretically possible, it would require you to program an external library with functions for accessing the microphone, which is already quite a step.
And then you would need some way to identify triggers in that sound (which is not exactly the same as a voice recognition or voice to text conversion, but most of that way)
A simple volume check might be doable (like reacting to how loud someone shrieks into the microphone), but more would be extremely difficult.


@TobiChaos
And that is a perfect example as to why ChatGPT has such a bad name around anyone knowing it better.
Any AI does not answer questions, it searches for keywords in its database and then makes something up from all possible texts written by someone else that got the same keywords stored for to them.
And depending on the quality of its random collection of texts it sometimes take a professional in the fields to detect where the answers went into the wrong direction.
NEVER take an AI product for gospel and always make sure to check the details yourself.
4.4 Do NOT post AI generated responses. These will be considered spam. @TobiChaos

The forum rules can be located here.

Original thread: https://forums.rpgmakerweb.com/threads/microphone-support-is-it-possible-at-all.174803/