Arecord voice recognizer and python

0

I am trying to develop a voice recognition system and I need to record "loose" words through a Raspberry-like plate.

The fact is that I need the program to listen to a word (record it), and then when it has stopped talking or saying the word (there is a silence etc) it is stored in a .raw to pass it to my analyzer.

Because of the characteristics of the microphone and the board, I can not make this work for me: link - > I do not hear anything with the 'record' order.

I've tried this

  

arecord --device = plughw: 1,0 --format cd --rate 16000 -c1 test.raw

and if that works for me but not for when there are silences etc.

They could help me. Thank you very much

    
asked by Mario Parreño 16.02.2017 в 19:22
source

1 answer

0

In case the same thing happens to someone, in the end I got it by:

sox -t alsa hw:1,0 record.wav rate 16k silence 1 0.1 0.1% 1 2.0 0.33% pad 0.1
    
answered by 23.03.2017 в 10:06