voice icon indicating copy to clipboard operation
voice copied to clipboard

Is it possible to record the audio with speech recognition enabled?

Open mchriss opened this issue 2 years ago • 9 comments

Hello!

I'm working on a project in which I need to be able to recognize speech and then listen to the heard input. Is there any way I can achieve this? I know using separate packages for both purposes isn't possible because android only allows one access to the mic at a time, but is it possible to save the audio stream into a file before being processed by the speech recognizer?

Thanks in advance!

mchriss avatar Jul 21 '22 09:07 mchriss

I also need this type of functionality.

mschouhan123 avatar Jul 29 '22 05:07 mschouhan123

The same question is about recording the video at the same time. https://mrousavy.com/react-native-vision-camera/docs/guides

rusakovic avatar Aug 15 '22 18:08 rusakovic

The same question is about recording the video at the same time. https://mrousavy.com/react-native-vision-camera/docs

Page not found...

mchriss avatar Aug 15 '22 20:08 mchriss

The same question is about recording the video at the same time. https://mrousavy.com/react-native-vision-camera/docs

Page not found...

Fixed. the issue is only on Android.

rusakovic avatar Aug 16 '22 14:08 rusakovic

any news on this feature? it would be amazing if we could get audio stream and speech 2 text results at the same time on android.

AlkanV avatar Aug 30 '22 10:08 AlkanV

Nothing new, sadly

mchriss avatar Aug 30 '22 11:08 mchriss

Also needs

KULTI1995 avatar Sep 23 '22 22:09 KULTI1995

It works for me using react-native-audio-recorder-player at the same time. Works fine on iOS. Seems to work on android although i'm having some trouble getting android to continue to transcribe without stopping constantly.

nescroft avatar May 29 '23 07:05 nescroft

It works for me using react-native-audio-recorder-player at the same time. Works fine on iOS. Seems to work on android although i'm having some trouble getting android to continue to transcribe without stopping constantly.

How did you achieve this functionality. It seems when react-native-audio-recorder-player is using the mic, react-native-voice/voice can't access the mic. Which give error: {code: '7', message: '7/No match'}

nipunravisara avatar Aug 27 '23 13:08 nipunravisara