fix bug in speech recognition script

Set configurition properly. The correct output signal was overwritten
previously.