Are you trying to do an exercise but you get this error when the recording should start? Then it's possible there is no authorization to use the microphone.
Authorize the use of the microphone with the following steps:
1. Open Settings
2. Open TrainTool
3. Authorize the Microphone and Camera.