# Karaoke -  recognize speech with player microphone?

**URL:** <https://forums.unrealengine.com/t/karaoke-recognize-speech-with-player-microphone/434574>\
**Category:** Audio\
**Tags:** microphone, recording, unreal-engine, question\
**Created:** [September 27, 2018, 6:17am UTC](https://forums.unrealengine.com/t/karaoke-recognize-speech-with-player-microphone/434574 "2018-09-27T06:17:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![live4film](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@live4film](https://forums.unrealengine.com/u/live4film)\
**Post date:** [September 27, 2018, 6:17am UTC](https://forums.unrealengine.com/t/karaoke-recognize-speech-with-player-microphone/434574/1 "2018-09-27T06:17:49Z")

</div>

I am interested in making a Karoake game where the player sings and is judged by hitting the right note or lyric at the right time. For example, if the lyric is spoken incorrectly they fail or lose a lot of points, but if it’s close enough such as getting the main vowel right like “break” and the player says “steak”, the player would only lose a few points because they were phonetically close enough.

I know in real karaoke the words on the screen sometimes flash red when not sung incorrectly, so I know it’s not impossible, I’m just unfamiliar with that aspect of UE4.

---

<div class="post-metadata">

**Author:** ![BarronKane](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BarronKane](https://forums.unrealengine.com/u/BarronKane)\
**Post date:** [September 28, 2018, 12:14am UTC](https://forums.unrealengine.com/t/karaoke-recognize-speech-with-player-microphone/434574/2 "2018-09-28T00:14:14Z")

</div>

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

This may be of use to you, I don’t feel comfortable enough to give a sophisticated answer on this subject matter.

---

<div class="post-metadata">

**Author:** ![live4film](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@live4film](https://forums.unrealengine.com/u/live4film)\
**Post date:** [September 28, 2018, 3:11am UTC](https://forums.unrealengine.com/t/karaoke-recognize-speech-with-player-microphone/434574/3 "2018-09-28T03:11:19Z")

</div>

Thanks for the link, I’ll check it out 🙂

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [September 28, 2018, 5:49am UTC](https://forums.unrealengine.com/t/karaoke-recognize-speech-with-player-microphone/434574/4 "2018-09-28T05:49:58Z")

</div>

Note that it is more impotent to recognize tone of sound then correctness of the text and that you can do by detecting the pitch of sound. UE4 don’t provide those features out of the box so either you need to do it yourself or get plugins

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [September 28, 2018, 4:35pm UTC](https://forums.unrealengine.com/t/karaoke-recognize-speech-with-player-microphone/434574/5 "2018-09-28T16:35:44Z")

</div>

Be careful not to use the Sound Visualization plugin that comes with the engine though - yes it can detect frequency and amplitude of sounds that are being output but it does not work in packaged builds. Also, it’s for output sounds; you need something that handles input sounds.

---

<div class="post-metadata">

**Author:** ![gtreshchev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gtreshchev/32/1075419_2.png) [@gtreshchev](https://forums.unrealengine.com/u/gtreshchev)\
**Post date:** [October 13, 2023, 8:00am UTC](https://forums.unrealengine.com/t/karaoke-recognize-speech-with-player-microphone/434574/6 "2023-10-13T08:00:55Z")

</div>

You can take a look at the RuntimeSpeechRecognizer plugin, which is based on Whisper AI. It’s cross-platform and works offline.

Fab link: [Runtime Speech Recognizer (Real-Time, Offline) | Fab](https://www.fab.com/listings/00ffc308-d7f9-4142-ac4c-4aeaa75ab54b)  
Documentation: [Overview | Georgy Dev Docs](https://docs.georgy.dev/runtime-speech-recognizer/overview)
