Recognition of a sound (a word) with machine learning in python
<p>I'm preparing an experiment, and I want to write a program using python to recognize certain word spoken by the participants.</p>

<p>I searched a lot about speech recognition in python but the results are complicated.(e.g. CMUSphinx).</p>

<p>What I want to achieve is a program, that receive a sound file (contains only one word, not English), and I tell the program what the sound means and what output I want to see. </p>

<p>I have seen the sklearn <a href="http://scikit-learn.org/stable/auto_examples/classification/plot_digits_classification.html" rel="nofollow">example</a> about recognizing hand-written digits. I want to know if I can do something like the example:</p>

<ol>
<li>training the program to return certain output (e.g. numbers) according to sound files from different people saying same word;</li>
<li>when take in new sound files from other person saying same word, return same values.</li>
</ol>

<p>Can I do this with python and sklearn?
If so, where should I start?</p>

<p>Thank you!</p>

<p>I've written such program in text recognition. I can tell you if you chose to "teach" your program manually you will have a lot of work think about the variation in voice due to accents etc. </p>

<p>You could start <a href="https://wiki.python.org/moin/PythonInMusic" rel="nofollow">looking for a sound analyzer here</a> (Musical Analysis). try to identify the waves of a simple word like "yes" and write an alghorithm that percentages the variation of the soundfile. this way you can put a margin in to safe yourself from false-positives / vice-versa. </p>

<p>Also you might need to remove background noise from the soundfile first as they may interfer with your identification patterns. </p>

python audio machine-learning