Questions tagged [react-native-voice]
20 questions
2
votes
1 answer
React Native record video and capture Speech to Text
I'm using React Native Camera to record video. I would also like to transcribe the voice at the same time (speech-to-text). I'm looking at React Native Voice but I don't think I can use both libraries at once (sharing the Mic input).
Wondering if…

Ellery Familia
- 530
- 5
- 20
2
votes
0 answers
How to make react-native-voice module keep listening in Android?
I am not sure if these are the correct behaviours or not but the events work a bit different in iOS and Android.
In Android the react-native-voice module stop listening to voice after calling the following methods
Voice.android.js:70…

Subhendu Kundu
- 3,618
- 6
- 26
- 57
1
vote
1 answer
React-Native-voice for speech recognition, how can users be provided with additional pause time?
How can we extend the speech recognition listening time in React-Native-voice to accommodate users who need more time to think before verbalizing their thoughts, preventing premature stopping of speech recognition when they pause but haven't…

Tao
- 366
- 1
- 3
- 15
1
vote
3 answers
react-native-voice - Speech To Text not working in android
I am using both react-native-voice and expo-speech libraries to transcript my voice and to convert a text to a speech. The problem is, in android only, when I start the code runs Voice.onSpeechStarts then it returns false and does not record…

Parzival
- 13
- 4
1
vote
2 answers
How to make average value in onSpeechVolumeChanged react native
I have i project with speech-to-text in react native, and now the problem in with speech Vloume, how to make average value from this function?
const onSpeechVolumeChanged = (e) => {
console.log(e);
setPitch(e.value);
};
And the log in…

Proger228
- 688
- 10
1
vote
0 answers
react-native-voice package for react-native app giving an error
I am building a react-native app on windows and testing it on physical android device. The basic purpose of the app is to convert speech into text. I am using @react-native-voice library. First I created the app with
npx react-native init myapp
But…

Aqib Naeem
- 431
- 3
- 11
1
vote
0 answers
`new NativeEventEmitter()` was called with a non-null argument without the required `addListener` and `removeListeners` method
I want to add a voice search feature into my app, and I need to be able to convert speech to text, So I use the library
And I have another question
Whenever i press the Stop button, My Mobile Application closes itself.
Screenshot mentioned…

Haseeb Kamboh
- 11
- 4
1
vote
1 answer
`new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method
I want to add a voice search feature into my app, and I need to be able to convert speech to text, So I use the library
@react-native-community/voice
But I get This error,
WARN `new NativeEventEmitter()` was called with a non-null argument…

Ahmed Al Sawy
- 73
- 1
- 2
- 15
1
vote
1 answer
How to mute Speech Recognizer's beep sound?
In React native, when I start speech recognition it gives beep sound.
Code that I used to start recognition :
_startRecognizing = async() => {
try {
await Voice.start();
} catch (e) {
console.log(e);
…

Vinay Sharma
- 11
- 2
0
votes
1 answer
adding @react-native-voice/voice to a react native project
I am trying to add the @react-native-voice/voice library to my react native project:
Here is the picture of the package.json file:
the problem is that I get the file compilation error:
Is there any inconsistency between the…

krasnoff
- 847
- 3
- 17
- 34
0
votes
0 answers
How to make react-native-voice work in background mode?
This below code is my codes. i don't know how can i next step for working in background mode in react-native for react-native-voice. would you check my codes
import Voice from '@react-native-voice/voice';
import BackgroundService from…

banalDev
- 1
0
votes
0 answers
ReactNative Voice Library new NativeEventEmitter() ERROR
I'm studying React Native.
I tried to install @react-native-community/voice or @react-native-voice/voice library because I wanted to get the search term delivered by voice, but it failed.
The following errors are continuously occurring.
WARN new…

min seung moon
- 1
- 2
0
votes
0 answers
I am trying to integrate a library known as @react-native-voice/voice to my react native mac application, but i am getting some error
enter image description hereI am getting error which mentions, Module App Registry is not a registered callable module
I tried different solutions such as trying out different libraries, reinstalling the node modules, tried different commands such…

Tanay Naik
- 1
- 1
0
votes
1 answer
error: unknown command 'link' when linking @react-native-community/voice shows
I'm trying to implement speech-to-text function in ReactNative. The steps I've done:
1.Run npm i @react-native-community/voice --save in VSCode terminal
2.react-native link @react-native-community/voice. Then it shows .ps1 cannot be loaded because…

AhChing11
- 125
- 1
- 3
- 15
0
votes
3 answers
@react-native-community/voice or react-native-voice / voice gives exception java.lang.NullPointerException at com.wenkesj.voice.VoiceModule.onResults
@react-native-community/voice was working smoothly but recently it gives following error
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Iterator java.util.ArrayList.iterator()' on a null object reference
at…

Thanhal P A
- 4,097
- 3
- 18
- 38