#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    Europe
    Posts
    21
    Rep Power
    0

    Python Speech recognition


    I was wondering is there any way to make Python get a input from my microphone, compare it with some .WAV sample files and based whether it has a match or not execute some code? Speech recognition or Audio fingerprint i think its called... Two more things, please dont refer me to the Pyspeech or dragonfly project, because i think it supports up to version 2.5 (while i am using version 3) and i was hopping to have a stand-alone program (Pyspeech uses some windows speech kit).
    And secondly any kind of brain storm ideas or references to similar projects, tutorials, or libraries would be most welcome.

    Thanks in Advance.
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,700
    Rep Power
    480
    What operating system do you use?

    I capture microphone input in current ubuntu linux release using a pipe from

    arecord


    and on windows my friend uses
    mmsystem.dll

    Good luck.
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    Europe
    Posts
    21
    Rep Power
    0
    Originally Posted by b49P23TIvg
    What operating system do you use?

    I capture microphone input in current ubuntu linux release using a pipe from

    arecord


    and on windows my friend uses
    mmsystem.dll

    Good luck.
    i am using windows, do you have any references or turorial where i can study from for mmsystem.dll? and i can use it with any language? (which language would you suggest?)
  6. #4
  7. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,700
    Rep Power
    480
    http://docs.python.org/3/library/audioop.html

    This being a python forum, try the audioop library.

    Otherwise, search the internet. Python connects to dlls quite well via the ctypes module.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo