title: Using Simple Voice Commands in Unity3D (with IBM Watson SDK)
body: <h1>The problem</h1>
  
  <p>I'm currently using <strong>Speech-To-Text from the <a href="https://github.com/watson-developer-cloud/unity-sdk" rel="nofollow noreferrer">IBM Watson SDK for Unity</a></strong> to recognize <strong>voice commands</strong> like <strong>start</strong> or <strong>quit</strong> by just <strong>checking if the recognized text contains one</strong> of them.</p>
  
  <p>Problem is that it <strong>doesn't work very reliable</strong> (output is often <em>spot</em> or <em>hit</em>) and I really just need those simple commands.</p>
  
  <h1>What I tried</h1>
  
  <p>Alternatively I already tried <code>using UnityEngine.Windows.Speed;</code> but I <strong>need it to work on both Windows and Mac</strong>. I couldn't find a good and working Mac solution and I tried writing my own Unity plugin with Xcode and <em>NSSpeechRecognizer</em> similar to this <a href="https://medium.com/@SoCohesive/unity-how-to-build-a-bridge-ios-to-unity-with-swift-f23653f6261" rel="nofollow noreferrer">Tutorial</a> but that didn't work for me.</p>
  
  <p>I also saw <a href="https://snowboy.kitt.ai" rel="nofollow noreferrer">Snowboy</a> for hotword detection. But it requires a lot of setup and I would really wish for an easy and reliable solution.</p>
  
  <p><strong>Thanks in advance.</strong></p>