Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio file in IBM- Watson Speech to text #500

Open
PythonDjan opened this issue May 28, 2020 · 4 comments
Open

Audio file in IBM- Watson Speech to text #500

PythonDjan opened this issue May 28, 2020 · 4 comments

Comments

@PythonDjan
Copy link

hi
I am using IBM-Watson to convert speech to text . i am using react js
i am getting the text file based on the speech .
is it possible to get the audio file ?

My code is

var stream = recognizeMic({
  access_token: this.state.watsonAccessToken,
  outputElement: '#output',
  language_customization_id: '923757ac-136f-47b8-9aed-b08a58b27e2f',
})
stream.on('data', async (data: any) => {
  this.state.recognizedText= data.results[0].alternatives[0].transcript;
 }

i want to get the audio file also.. how can i get that ?

@valerydec17
Copy link

Your question is not clear, are you going to make text-to-speech conversion?

@PythonDjan
Copy link
Author

Your question is not clear, are you going to make text-to-speech conversion?

No..
i am using ibm watson to convert speech to text
speech input us through microphone
How could i get the audio from ibm watson
or any location where i could access the audio file.
i am getting the text, if i could get the audio format as well along with the text

@valerydec17
Copy link

That is a bad idea. It is better to write audio in parallel to a file in any format you like.

@PythonDjan
Copy link
Author

That is a bad idea. It is better to write audio in parallel to a file in any format you like.

ok. But may i know the IBM watson input file is accessible ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants