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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -