Quick sound check

After you have configured your microphone, you can check sound recording and playing according to your configuration with the provided checker.
It uses exactly your configuration the same way than speech and speech recognition core modules; so this check must be successful.
When you launch it:

it starts sound recording and wait for you to speak in your microphone

speak in your microphone and then be silent (be sure there is no more sound captured by your microphone)

it indicates that sound has been successfully recorder, and then it plays it, and then starts a new recording

At any time, you can interrupt the test with CTRL+C.

It is recommended to use this tool and to record/play 2 sound files (without interrupting the checker) to ensure newfileSoX miscellaneous effect is working.
If it is not the case, ensure to have SoX v14.2 or later.

Output sample:

$ soundChecker.sh
29/05/11 11:19.46 [soundChecker] LogFile: /home/projettwk/programmation/projects/hemera/Hemera/run/log/2011-05-29-11-19-46-soundChecker.log
29/05/11 11:19.46 [soundChecker] Starting sound recorder daemon ...
29/05/11 11:19.46 [soundChecker] At any time you can stop the test with CTRL+C
29/05/11 11:19.46 [soundChecker] Speak in your microphone (then ensure there is silence when you have finished)
29/05/11 11:19.59 [soundChecker] Successfully recorded 'recordedSound001.wav', system will play it
29/05/11 11:20.03 [soundChecker] Speak in your microphone (then ensure there is silence when you have finished)
^C29/05/11 11:20.06 [soundChecker] soundChecker is NOT running.

Speech core module check

For these tests, it can be interesting to use the verbose option (-v).
If your system is well configured, you should hear Hemera speak.

Speech recognition core module check

You can use the miscellaneous script speech2Recognition.sh to check your configuration a funny way.
It uses the Speech core module to generate speech sound file which are then injected in the Speech Recognition core module.
Finally, script gives summary about given sentence, and final sentence (it can be interesting to check your models).