Maow_Voice
by Maow/MaowImpl
About
Microphone detection plugin, allows game developers to check for silence or easily grab the input volume.
This plugin was created for use in experimental horror games, but may be used for any purpose.
Tested on: Desktop [Windows 10]
Installation & Usage
!! Download !!
This plugin doesn't need to be in the list in a specific order.
To get the volume:
(Returns a float)
To check for silence:
(Returns a boolean)
The volume can be compared in a conditional branch like so:
Voice.getAverageVolume() >= 90 复制代码 It is recommended to use a parallel event if you are going for realtime mic detection.
Terms of Use
License: MIT
Plugin Header:
Code:
1. Do not try to claim this as your own work. 2. Attribution is not required, but it is preferred. 3. Free-use for commercial and noncommercial projects. 复制代码
本贴来自国际rpgmaker官方论坛作者:MaowImpl处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/maow-voice-detection-v1-0-0.131534/