Thank you, I have a question... How can it be done to translate momentarily or with a delay of 2 seconds so that the translation becomes more interactive? Do I have to upload the audio and then translate, or can it be done online?
@evilspartans6686 Жыл бұрын
Hello, I am trying to use google speech to text in a symfony project, but documentation is not helpful, can you show me an example controller for how initialize speech Client and get text from mp3 file ?
@InteractiveUtopia8 ай бұрын
Conver the file to a supported format, then use with api
@odda1232 жыл бұрын
Hello this is very helpfull, Can you also show us how we can do filtering of words, For example if there are bad words in the speech........Can we filter them?.
@InteractiveUtopia2 жыл бұрын
You can either use the built in filter that is on the API by changing the config part of the json request ( Read more at cloud.google.com/speech-to-text/docs/reference/rest/v1p1beta1/RecognitionConfig ) or filter them after you get the result for more custom results. Is this what you were thinking?
@odda1232 жыл бұрын
@@InteractiveUtopia Yes I have seen a config variable called profanityFilter. Thank you very much.
@fernastereo7 ай бұрын
Thank you!!
@InteractiveUtopia7 ай бұрын
You're welcome!
@SujitKumar-i1x2b Жыл бұрын
Code is working fine in Chrome, Mozilla but not in Mac safari......Please advise..
@InteractiveUtopia Жыл бұрын
Check javascript, I did not do a cross-browser test but if there is an issue it should be there :)
@vimal208 Жыл бұрын
Helo...recording working fine but processs not working...already created cloud account...
@InteractiveUtopia Жыл бұрын
Have you set up your developer keys for the application?
@vimal208 Жыл бұрын
Where to enter API credentials
@InteractiveUtopia Жыл бұрын
You have to do so when setting up your cURL headers
@amazonofertas9254 Жыл бұрын
this is free? I mean for the request to google that is a free?
@InteractiveUtopia Жыл бұрын
You get a certain amount at no cost, but unfortunately it is not free. If you visit the API page, there is a section for pricing. Hope that helps :)
@n0d20108 ай бұрын
Has anyone here managed to separate the two speakers from mono audio?
@InteractiveUtopia8 ай бұрын
Please explain a bit more your issue
@n0d20107 ай бұрын
@@InteractiveUtopia i use speech to text from Google , to transcript some audios, kindof MP3 format, but i cant separate two interlocutors from a mono Channel audio. To pt-br language, im not found solution to separate the two voices, one in each Channel. Do you know some alternative ?
@InteractiveUtopia7 ай бұрын
Once you have the AudioBuffer, you can access the left and right channels separately. These are available as Float32Arrays from the AudioBuffer.getChannelData() method.
@n0d20107 ай бұрын
@@InteractiveUtopia pick up separate channels from a mono channel audio? If the audio is recorded on just one channel, how can I separate the channels? What language do I need to use to get this AudioBuffer?
@n0d20107 ай бұрын
@@InteractiveUtopia In the example I gave, I already receive the recorded audio, I process it after it has already been extracted in mp3 format.