mzeeshanid / ios-speech-to-text Goto Github PK
View Code? Open in Web Editor NEWThis library use the Google Voice API and the Speex audio codec for speech-to-text on iOS
License: GNU General Public License v2.0
This library use the Google Voice API and the Speex audio codec for speech-to-text on iOS
License: GNU General Public License v2.0
I have searched and searched couldn't find api for speech to text in the google console.
Please provide a solution or a link to generate the api key.
Thanks,
Goutham
Hi,
i just find your work, it's great but i can't succeed with google authentification.
The google response is always :
<p><b>403.</b> <ins>That’s an error.</ins>
<p>Your client does not have permission to get URL <code>/speech-api/v2/recognize?xjerr=1&client=chromium&lang=en-US&key=MYAPIKEYMASKED</code>
It seems that is the authentication, do you have any details on the generation of this api key? (I followed the link in the README)
Thx
I have used SWRevealViewcontroller for slide left and right.
When i am pressing the speechtotext button and initialize the SpeechToTextModule and then i am swipe right and clicked on other tab on the left menu bar the app is crashing on Wavedisplay dealloc method.
Here is my code
fakeTextField = [[UITextField alloc] initWithFrame:CGRectZero];
[fakeTextField setHidden:YES];
[self.view addSubview:fakeTextField];
self.speechToTextObj = [[SpeechToTextModule alloc] initWithCustomDisplay:@"SineWaveViewController"];
[self.speechToTextObj setDelegate:self];
noticed one problem after I tried to run your code.
Voice recognition works great. but then, audio playback doesn't work properly once i instantiated SpeechToTextModule class. I suspect the speex codec has a bug to turn iPhone's playback volume down to the minimal (or unhearable) level.
I've used the following function to test this out.
- (void)playSoundEffect
{
NSURL *soundURL = [[NSBundle mainBundle] URLForResource:@"beep" withExtension:@"aif"];
SystemSoundID soundEffect;
AudioServicesCreateSystemSoundID((__bridge CFURLRef)soundURL, &soundEffect);
AudioServicesPlaySystemSound(soundEffect);
}
I called this function before and after instantiating the SpeechToTextModule class twice. and, noticed the difference. I wonder if there's any way to turn the playback volume up. So far nothing worked.
Thanks!
Chuck
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.