I want to record a word beforehand and when the same password is spoken into the python script, the program should run if the spoken password matches the previously recorded file. I do not want to use the speech recognition toolkits as the passwords might not be any proper word but could be complete gibberish. I started with saving the previously recorded file and the newly spoken sound as numpy arrays. Now I need a way to determine if the two arrays are 'close' to each other. Can someone point me in the right direction for this?
Voice activated password implementation in python
1k Views Asked by Ananda At
1
There are 1 best solutions below
Related Questions in PYTHON-2.7
- Initialize matrix
- Why is my program adding int as string (4+7 = 47)?
- How to save gensim LDA topics output to csv along with the scores?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- Removing URL features from tokens in NLTK
- python, global name not defined
- Why does collections.OrderedDict use try and except to initialize variables?
- Invalid URL: No host supplied : error while using Request.get(url) in Python
- Python GUI application to copy files one location to another location
- Why I receive CERTIFICATE_VERIFY_FAILED from google adwords api?
- Excel worksheet to Numpy array
- Python datetime.now() with timezone
- local variable referenced before assignment in strange condition
- Python 2.7 - find combinations of numbers in a list that add to another number
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
Related Questions in NUMPY
- How can I serialize a numpy array while preserving matrix dimensions?
- store numpy array in mysql
- Trying to save an np array with string and floats, but getting a error
- Does numpy broadcast in *all* of its functions?
- Is there any implementation of hstack in gnumpy
- Mayavi - color vectors based on direction instead of magnitude
- How to install scipy misc package
- Numpy Vs nested dictionaries, which one is more efficient in terms of runtime and memory?
- How to count distance to the previous zero in pandas series?
- Changing the amount of points changes the result of the fft
- Succint way of handling missing observations in numpy.cov?
- Fastest Way to access and put values in matrix
- Enforcing that inputs sum to 1 and are contained in the unit interval in scikit-learn
- Cython speed vs numpy
- Best practice for using common subexpression elimination with lambdify in SymPy
Related Questions in SCIPY
- Does numpy broadcast in *all* of its functions?
- How to install scipy misc package
- How to use meshgrid with large arrays in Matplotlib?
- Fastest Way to access and put values in matrix
- numpy.repeat() to create block-diagonal indices?
- Sympy function derivatives using custom method
- scipy.optimize.curve_fit for a function with complex dependence on variable parameters
- Scipy ValueError: Total size of new array must be unchanged
- How to write conditional probability in Python?
- Custom minimizer based on Levenberg-Marquardt in scipy.optimize.basinhopping
- Why is there a difference in magnitude response between scipy.filtfilt and scipy.lfilter?
- numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
- Elementwise addition of sparse scipy matrix vector with broadcasting
- Solve for a definite integral for each element within an array that is defined by a function in Python
- Finding roots with scipy.optimize.root
Related Questions in VOICE-RECOGNITION
- Voice Recognition technology
- VoiceXML Grammar Input sequence
- convert sound to list of phonemes in python
- google speech recognition api in hindi
- How to display dialog "error" when variable returns incorrect answer
- How to override voice input key on Android keyboard?
- Offline voice recognition android taking unwanted voice
- Start an Android Wear app with a "Start ..." voice action different from the app's name
- Voice Interaction App [Android]
- Launching a program with Voce
- How to use Siri like Mic button in Android Voice Recognition
- offline google voice recognition in android for lollipop
- How can I convert a series of words into camel case in AppleScript?
- Voice Recognizer Access on Kindle Fire HD 6
- How can I use RecognizerIntent to force using Turkish?
Related Questions in VOICE
- Download wav stream
- Can't make Audiorecord and Audiotrack work togehter
- How to compare voice command input by user to hard coded strings
- Error try to download 3gpp from server using retrofit?
- How would I write a voice object for the following code?
- How to make a voice assistant android apk offline?
- Voice activated password implementation in python
- C# Speech Voice
- Run action from Android using single voice command?
- Android : constantly listen to input for speech recognition
- Android application for text and voice communication between devices on a same LAN
- how to send voice message to another contact number without opening in built message app?
- Android Recognize voice of 2 people differently
- Android how can I mute stream voice call compeletely?
- What are the BCP-47 voice codes available for iOS 7 AVSpeechSynthesisVoice?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It is not possible to compare to speech samples on a sample level (or time domain). Each part of the spoken words might vary in length, so they won't match up, and the levels of each part will also vary, and so on. Another problem is that the phase of the individual components that the sound signal consists of can change too, so that two signals that sound the same can look very different in the time domain. So likely the best solution is to move the signal into the frequency domain. One common way to do this is using the Fast Fourier Transform (FFT). You can look it up, there is a lot of material about this on the net, and good support for it in Python.
Then could could proceed like this:
Divide the sound sample into small segments of a few milliseconds.
Find the principal coefficients of FFT of segments.
Compare the sequences of some selected principal coefficients.