Guest User

Untitled

a guest
Dec 13th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. //At the end of Text-To-Speech
  2. yield return new WaitUntil(() => source.isPlaying == false);
  3. speechActive = false;
  4.  
  5. // In the Speech-to-Text
  6. yield return new WaitUntil(() => speechActive == false);
  7. _recording = Microphone.Start(_microphoneID, true, _recordingBufferSize, _recordingHZ);
Add Comment
Please, Sign In to add comment