speech-recognition

How to split male and female voices from an audio file(in c++ or java)

孤街醉人 提交于 2019-12-07 07:18:08
问题 I want to differentiate betwen the male n female voices in an audio file and seperate them.As an output I want the two voices seperated.Can u please help me out n can the coding be done in java or c++ 回答1: This is potentially a very complicated question, and it is similar to writing your own speech recognition (or identification) algorithm. You would start by converting the audio into the frequency domain, which is done using a Fast Fourier Transform. For each slice in time that you take an

How to convert log probability into simple probability between 0 and 1 values using python

泪湿孤枕 提交于 2019-12-07 06:11:00
问题 I am using Gaussian mixture model for speaker identification. I use this code to predict the speaker for each voice clip. for path in file_paths: path = path.strip() print (path) sr,audio = read(source + path) vector = extract_features(audio,sr) #print(vector) log_likelihood = np.zeros(len(models)) #print(len(log_likelihood)) for i in range(len(models)): gmm1 = models[i] #checking with each model one by one #print(gmm1) scores = np.array(gmm1.score(vector)) #print(scores) #print(len(scores))

(Android Studio Speech Recognizer) I'm getting error 9 (insufficient Privileges) even though I have given it RECORD_AUDIO and INTERNET

蓝咒 提交于 2019-12-07 05:25:40
问题 package blessupboys.speechtest; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.speech.RecognitionListener; import android.speech.RecognizerIntent; import android.speech.SpeechRecognizer; import android.widget.Button; import android.widget.TextView; import java.util.ArrayList; import android.util.Log;

Partial voice recognition

二次信任 提交于 2019-12-07 05:21:18
问题 I'm currently having a good time with voice recognition with the Microsoft's Speech Engine. It's quite simple to set up and use with C#, and allows to achieve great things with less lines of code than I first imagined. Now, the point is that I do not really know to handle this : I understand that the engine needs to start listening, then you say a word, or a sentence, and it compares in its dictionary to see if it can see a match. If so, the program does whatever you want it to do. What I'm

Keyword activated speech recognition on android

走远了吗. 提交于 2019-12-07 03:58:45
问题 Is it possible to use this cool voice activation feature of "google now" in you own application? So what I want is that the user does not have to trigger the activation by pressing a button or sth. like that. I'd rather like to have an automatic speech recognition activated by a keyword. For example: When "google now" is opened you only have to say: "google". After that command the system is listening for the actual input. Is this possible by using the android API? Or is there any open source

Mel Frequency Cepstral Coefficients (MFCC) in C/C++

霸气de小男生 提交于 2019-12-07 03:13:16
问题 Is there any implementation of MFCC available in C/C++? Any source codes or libraries? I've already found http://code.google.com/p/libmfcc/ which seem to be good. 回答1: A recap in 2016: libmfcc is simple, MIT license, unsupported since 2010. YAAFE provides MFCCs and other features, LGPLv3, unsupported since 2011. Kaldi is overkill, but it can be used just for the MFCC. Apache License v2.0, and still supported. PocketSphinx is the CMU toolkit for speech recognition, CMU license (BSD-style), and

Speech recognition for recorded audio files in .3gp or wav format [duplicate]

℡╲_俬逩灬. 提交于 2019-12-07 02:56:27
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: Voice recognition on android with recorded sound clip? I am developing an Android app which will record audio to a file, and then use speech recognition to get text from the recorded speech. Is there a speech recognition library available for this sort of task? How can I get started? 回答1: Get start with this tutorial where you can learn speech to text conversion in Android with it's speech API Also see: Speech

Android: Speech Recognition Append Dictionary?

梦想与她 提交于 2019-12-07 02:02:33
问题 I'm using the Speech Recognizer Intent in Android. Is there a way to add your own customized words or phrases to Android's Speech recognition 'dictionary' 回答1: No. You can only use the two language models supported. The built in speech recognition provided by google only supports the dictation and search language models. See http://developer.android.com/reference/android/speech/RecognizerIntent.html and LANGUAGE_MODEL_FREE_FORM or LANGUAGE_MODEL_WEB_SEARCH. http://developer.android.com

iOS 10.0 Speech Recognition Error kAFAssistantErrorDomain

十年热恋 提交于 2019-12-07 01:29:10
问题 I try using speech recognition as below let urlpath = Bundle.main().pathForResource("myvoice2", ofType: "m4a") let url:URL = URL.init(fileURLWithPath: urlpath!) let recognizer = SFSpeechRecognizer() let request = SFSpeechURLRecognitionRequest(url: url) recognizer?.recognitionTask(with: request, resultHandler: { (result, error) in print (result?.bestTranscription.formattedString) }) The result is nil, I debug and see the error as below Error Domain=kAFAssistantErrorDomain Code=1101 "(null)" Do

Android Speech to Text Api Google - notification

◇◆丶佛笑我妖孽 提交于 2019-12-06 22:04:28
I followed this tuto: https://jbinformatique.com/2018/02/16/android-speech-to-text-api-google-tutoriel/ It works nice ! It uses android.speech.RecognizerIntent package it's free and it works without Internet as mentionned here: Difference between Android Speech to Text API (Recognizer Intent) and Google Cloud Speech API? However when I start the speech recognition, I get the following notification : If I translate (as I can..), it says : "Your audio records will be sent to Google and used for speech recognition. Transcription will be shared with this application. File recorded on "....@gmail