c - start speech recognition program when specific microphone is detected at USB port (inorder to avoid careless usage) -


i want restrict speech recognition program used 1 single specific microphone. how design module if specific microphone connected further execution start, otherwise terminated.

i want because, carry out speech recognition in noisy scenario , hence use of noise cancellation based microphone strictly recommended, other microphone give false recognition in noisy scenario.

the main codes in c programming language , executing shell script.

is there anyother techniques can used in case.. example rfid? share experiences.

thank you

in shell, when run below command, list connected audio devices

cat /proc/asound/cards 

or

arecord -l 

you can parse output , decide, expected micro phone connected or not.

by way, linux machine.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -