Questions tagged [speech]

Speech is the vocalized form of human communication.

Filter by
Sorted by
Tagged with
4 votes
2 answers
147 views

80 second delay using Google Cloud SpeechRecognition with python 3.9 on RPi3B+

I'm using the PyPi code ( https://pypi.org/project/SpeechRecognition/) cleaned up to use only Google Cloud SpeechRecognition. Google Json Credentials in shell's environment, and working. I've ...
usermajuser's user avatar
0 votes
0 answers
66 views

Google Speech-To-Text v2 doesn't accept audio in Node.JS

I've been trying for couple days now to migrate to Google STT V2 using Node.JS. In v1 everything worked perfectly. I have created a recognizer and created a script using https://github.com/...
overeqq's user avatar
0 votes
0 answers
22 views

Some problems when using CTCloss for ASR tasks

When using torch.nn.CTCloss, why does my loss curve converge but the model seems to repeatedly output only a few tokens? For example: My label is: [220, 1122, 172, 26, 460, 836, 171, 1813, 113, 39, 83,...
mixxis's user avatar
  • 1
0 votes
0 answers
49 views

Microsoft Cognitive Services Speech SDK: windows library v1.30.0 missing extension lib for VAD Engine Adapter

Running console app for speech recognition using Microsoft Cognitive Services Speech SDK 1.30.0 causes the below error C# code error message: Unhandled exception. System.ApplicationException: ...
Tomasz Michalik's user avatar
0 votes
1 answer
200 views

Why is Word Information Lost (WIL) calculated the way it is?

Word Information Lost (WIL) is a measure of the performance of an automated speech recognition (ASR) service (e.g. AWS Transcribe, Google Speech-to-Text, etc.) against a gold standard (usually human-...
jayp's user avatar
  • 322
0 votes
0 answers
25 views

Adapting a Kaldi model not recognizing words

I began using Kaldi to train a model for use with VOSK in python. The issue i am experiencing is with recognizing certain words such as "manor". I have tried adding multiple variation in ...
Clinton's user avatar
  • 347
0 votes
0 answers
109 views

Finetune Wav2vec2 for downstream speech classification

I want to finetune a wav2vec2 model by adding some more custom layers of my own on top of wav2vec for downstream task. Is there any easier way to do this, like just calling the the model without ...
Albert Schrödinger's user avatar
0 votes
0 answers
33 views

RuntimeError: Error(s) in loading state_dict for ESPnetASRModel:

I am trying to run a hugging face espnet pyf98/speechcommands_12commands_conformer. I loaded the correct versions for every library but facing this error of Missing key(s) in state_dict: RuntimeError:...
afsara_ben's user avatar
0 votes
0 answers
144 views

How Can I Solve this Image-to-speech Gradio App Error?

I have written an image-to-speech Python application but want to build a Gradio frontend for the app. Below is my Python code: from transformers import pipeline from bark import SAMPLE_RATE, ...
Idiaye's user avatar
  • 104
0 votes
0 answers
72 views

Training Speaker_ID SpeechBrain

I am encountering difficulties while attempting to train the SpeechBrain speaker identification model using my own WAV files. I have made some modifications to the existing code provided in the train....
clee's user avatar
  • 3
0 votes
0 answers
16 views

Festival 2.5 and multisyn JMK voice from 1.95

I have an old old linux 2.6 VM that I keep around just for Festival 1.95 and the JMK Multisyn voice. Try as I might to get multisyn working, I have not had any success on my Ubuntu 18.04 setup. I can'...
HP1's user avatar
  • 55
0 votes
0 answers
31 views

how to handle navigation of react application using 'react speech recognition Api'

I am creating a react app but I want to handle navigation of my app using voice I have added very much like its listning to me but still not navigation and one one thing om using here useEffect to ...
Muhammad Usman's user avatar
0 votes
0 answers
35 views

matching duplicated and or omitted words in a sentences or paragraph and restyling them in JavaScript or jQuery

I request for reference if my question has answers else where. I am creating a reading competition app in JavaScript. I have 2 divs, one for the text to be read and the other to display the styled ...
Shamala Larry's user avatar
0 votes
0 answers
30 views

Microsoft speech recognition in Hindi for typescipt SDK

Not able to use Hindi for speech recognition particularly if I had this line the code fails to compile Language is Typescript speechConfig.speechRecognitionLanguage = "hi-IN"; 'speechConfig' ...
Dwarknight's user avatar
0 votes
0 answers
36 views

Is there any way to reverse normalization of mfcc? I have used CMVN of SpeechPy to normalize the mfcc

Here, I have normalized the mfcc: data_2 = librosa.feature.mfcc(y=data_2, n_mfcc=no_mfcc, sr=rate_data_2) data_2 = speechpy.processing.cmvnw(data_2,win_size=301,variance_normalization=True) I need a ...
Dhiraj Baruah's user avatar
0 votes
0 answers
26 views

RuntimeError: Error(s) in loading state_dict for ConvFrontEnd

https://github.com/villwin/OpenTransformer (opentransformer) root@autodl-container-69ce11b852-16657c42:~/autodl-tmp/OpenTransformer# python eval.py -m egs/aishell/exp/conformer_transformer_baseline/...
jingbo zhou's user avatar
0 votes
0 answers
62 views

In my react code :- speechSynthesis property utterance.rate is giving so much difficulties

I'm making a survey page and wanted to add voice to my Survey Question and its options and I used the web speech API speechSynthesis. yes it worked in my code but when I used a property of ( ...
Siddharth Sukhwal's user avatar
0 votes
1 answer
432 views

Similarity check of 2 audio files

I would like to ask a question regarding speech similarity check. Suppose I have 2 audio files that contain the same word, recorded by 2 different speakers, I would like to verify if these 2 audio ...
jey's user avatar
  • 1
0 votes
2 answers
522 views

How to send a byte array to Azure Speech Service (Speech to Text)

I want to use Azure's Speech Service to send speech files to translate. Azure has examples on how to send a File or a Stream to it's Speech Service. But I want to be able to send a Byte Array. But I ...
Christina Arvig's user avatar
0 votes
0 answers
56 views

how does wav2vec2 quantize continuous speech deterministically

I am trying to understand the wav2vec2 paper better. I understand that the raw signal is passed through a feature encoder which outputs latent speech representation which is continuous. Then it is ...
afsara_ben's user avatar
1 vote
1 answer
118 views

Problem with google cloud text to speech using python

Here are four versions of input texts to google cloud text to speech: Version 1 (This one works fine) <speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" ...
user3567761's user avatar
0 votes
0 answers
25 views

Error when trying to install the Speech CLI via the .NET CLI

Trying to install the Speech CLI via the .NET CLI following this gets me to this error: C:\Users\eera5607\AppData\Local\Temp\4c9da802-b83d-4de9-8890-02271e2ac5de\restore.csproj : error NU1100: Unable ...
eera5607's user avatar
  • 305
0 votes
0 answers
49 views

Identify the timestamps of the merged audio signal

I have an audio file which was created by substituting multiple speech segments into an original (speech) utterance. The two speakers sound quite similar to each other. I want to find the timestamps ...
Long's user avatar
  • 1,530
1 vote
1 answer
336 views

Change the timeout after a spoken keyword with Cognitive Services

I want to create a type of voice actuated personal assistant similar to Siri or Alexa. Say a keyword and then process the rest of the audio to text. I have a working version where I can do just that. ...
Phineas Phred's user avatar
0 votes
1 answer
117 views

How to get voice-enabled bot to receive capitalized and punctuated text from Azure Speech Service

I have a voice-enabled client app and bot written in C# that use Azure Speech Service. The bot runs in Azure. The client runs locally. When I talk to the client, the speech service sends the speech-to-...
Bruce Haley's user avatar
0 votes
1 answer
45 views

Wakeword Engine Porcupine with ASP.NET MVC?

I'm trying to set up a wake word detection in my ASP.NET MVC app. I've read the documentation for wakeword on .NET several times over (https://www.nuget.org/packages/Porcupine/#readme-body-tab) and I ...
V21's user avatar
  • 57
1 vote
0 answers
126 views

Flutter: it it possible to measure the similarity percentage between a word's proper pronunciation and the player's pronunciation?

I am creating a simple game application that uses speech recognition. In the game, the player has to pronounce the word and then the system will evaluate or process if the player's word pronunciation ...
ayokona's user avatar
  • 27
0 votes
0 answers
107 views

How do you implement a speech-to-text application with Speech Framework without the AVAudioSession class on MacOS?

How do you implement a speech-to-text application with Speech Framework without the AVAudioSession class on MacOS? This example for iOS uses AVAudioSession but doesn't work for MacOS without using ...
Shyamal Suhana Chandra's user avatar
1 vote
1 answer
1k views

Receiving error "Domain=kAFAssistantErrorDomain Code=1101" while setting SFSpeechAudioBufferRecognitionRequest.requiresOnDeviceRecognition = true

I am receiving the next error: Error Domain=kAFAssistantErrorDomain Code=1101 if I'm setting the SFSpeechAudioBufferRecognitionRequest.requiresOnDeviceRecognition = true. In order to test it you can ...
Laur Stefan's user avatar
  • 1,529
0 votes
0 answers
83 views

Why do I keep getting the "result2:"? I just want to get what I said

def get_audio(): r = sr.Recognizer() with sr.Microphone() as mic: audio = r.listen(mic) said = "" try: said = r.recognize_google(audio) said = said.capitalize() except Exception as e: print(...
Omer's user avatar
  • 1
0 votes
0 answers
84 views

read multiple audio file (wav) and convert using wiener filtering to different name and audio

I am trying to use wiener filtering to convert the 824 audio in one folder to a different folder. How can I create a module for accessing these audio, running the wiener and save it to different ...
aozora-hime's user avatar
0 votes
0 answers
22 views

Can any NVIDIA graphics card be used to run Tacotron2 or Fastspeech to build a model for a new language?

Many of the articles I've read that describe use of Tacotron2 to training models for speech synthesis seem to use very high end NVIDIA GPUs. I realize there is a great deal of data that needs to be ...
rjl's user avatar
  • 31
0 votes
0 answers
132 views

Python Speech to Text

The Code: import speech_recognition as sr file_name = "tts.wav" speech_engine = sr.Recognizer() def from_file(file_name): with sr.AudioFile(file_name) as f: data = ...
Andrucha Schneider's user avatar
0 votes
0 answers
59 views

speech metric code argument of type 'NoneType' is not iterable

I am trying to using the code from github to calculate stoi, cbak, ssnr, csig and covl (source from: https://github.com/santi-pdp/segan_pytorch/blob/master/eval_noisy_performance.py) BUt I got an ...
aozora-hime's user avatar
0 votes
1 answer
36 views

Develop an Azure Bot Channel

Does anybody know, is it possible to develop an own Bot Channel in Azure. When I publish a bot to azure, I must choose the channel like Alexa, Directline, Speech... How can I develop my own channel? ...
andreas_007's user avatar
0 votes
0 answers
36 views

Looking for GSM speech encoding/decoding tools (GSM vocoders)

guys, are there some software tools implementing basic GSM vocoders? For example, I need the following functionality: feed voice traffic (e.g. as microphone audio traffic with high bitrate) to GSM ...
Sergey's user avatar
  • 353
0 votes
0 answers
68 views

How can I get both the audio I hear from microphone and the one I speak into?

I have been trying out this code: import pyaudio import wave FORMAT = pyaudio.paInt16 CHANNELS = 2 RATE = 16000 CHUNK = 1024 RECORD_SECONDS = 5 WAVE_OUTPUT_FILENAME = "pytest.wav" ...
divyashie's user avatar
0 votes
1 answer
360 views

How to use javax.speech api without ide but with VS Code edittor

I am a visually impaired developer. I am new to text to speech in Java and I want to add text to speech to my project. I have checked online tutorial and all of them are talking about free TTS. I have ...
eritten's user avatar
  • 29
0 votes
0 answers
66 views

Extraction of unique audio features for audio classification

I want to identify unique features in an audio/speech file so that I may classify them properly. Which are the unique features that I may consider? For example, I have files for the words 'TV' and 'CV'...
A. Gehani's user avatar
2 votes
0 answers
146 views

How can I use the PocketSphinx library in my C++ project?

I'm trying to use the PocketSphinx speech to text library in my project as a Git submodule. So, I added the submodule to my dependency folder and I added the following code to my MakeFile: ...
Aniket Sharma's user avatar
0 votes
1 answer
83 views

SAPI - How to stop all asynchronous speech tasks?

I'm using the Microsoft's Speech Application Programming Interface (SAPI) to enable speech in my app. However, when I try to stop asynchronous speech tasks, they stop, but after a second. In .NET ...
Mohamed Noordin's user avatar
0 votes
2 answers
466 views

Speech to Text using EditText

Ok I am building a small app to learn some Speech Recognition in Kotlin. The issue I am experiencing is that my EditText is not posting what is being said. It returns a null value. So when I access ...
Camp Nerd's user avatar
  • 331
1 vote
1 answer
392 views

How to convert speech to text in python - opus file format

I have some .opus audio files that need to be converted to text in order to run some analytics. I am aware that there is the Python SpeechRecognition package that can do this with .wav files as ...
ai_10111's user avatar
1 vote
0 answers
475 views

How to add words to the dictionary of the English vosk model?

I am using the english vosk model (vosk-model-en-us-0.22, large) in Python to recognize speech from files. I need to add specific words to it dictionary that are not originally there. In the file at: ...
user522913's user avatar
-1 votes
1 answer
90 views

Improving Twilio Speech Recognition of Proper Nouns

I am working in an application that gathers a user's voice input for an IVR. The input we're capturing is a limited set of proper nouns but even though we have added hints for all of the possible ...
Chris L Nuckolls's user avatar
1 vote
0 answers
206 views

How do you clear buffer result in Speech Recognizer?

I'm trying to write a speech recognizer that will have the ability to be cleared after some duration (like two seconds) without switching it off. private func startRecording() throws { ...
Sanzhar's user avatar
  • 50
1 vote
0 answers
135 views

iOS crash: `com.apple.coreaudio.avfaudio: EXC_CRASH (SIGABRT): required condition is false: NULL != engine`

Our application uses speech recognition with .confirmation task hint. With the advent of iOS 16, the app starts crashing with com.apple.coreaudio.avfaudio: EXC_CRASH (SIGABRT): required condition is ...
Pavlo's user avatar
  • 11
0 votes
1 answer
516 views

Text to speech Azure service: Speech is not working (not talking) C#

I'm trying to use the Text to Speech service on Microsoft azure and I used the official documentation and the official code using c# language but whenever I enter a value to let the program speak ...
hamzah jazi's user avatar
1 vote
1 answer
915 views

TTS in C# .net 6 - No voice installed on the system or none available with the current security setting

It seems that Microsoft wants us to use Azure Cognitive APIs, but my app is just a local app that I want to run to assist me in tasks. System.Speech doesn't exist in .NET6 anymore. I downloaded the ...
borgix's user avatar
  • 13
0 votes
1 answer
1k views

How to use CTC Loss Seq2Seq correctly?

I am trying to create ASR model by myself and learn how to use CTC loss. I test and I see this: ctc_loss = nn.CTCLoss(blank=95) output: tensor([[63, 8, 1, 38, 29, 14, 41, 71, 14, 29, 45, 41, 3]]): ...
Huu Tuong Tu's user avatar

1
2 3 4 5
20