- Sep 21, 2014
- Reaction score
- First Language
- Primarily Uses
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:
Voice.getAverageVolume()(Returns a float)
To check for silence:
Voice.isSilent()(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.
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.