I am trying to create a voice calendar application that should use a live microphone feed for speech recognition.
So, you have a button that starts listening to the microphone and automatically stops when the user stops talking.
I have already studied the Cordova Media API, which allows me to write data to a wav file. This works, but makes the process very slow, since I need to wait for the recording to complete.
I used https://api.ai as a starting point for creating the 1st version of the application, which works quite well. He took care of all the "listening" parts!
The next phase for me is integration with several different speech recognition APIs.
The main problem for me was the lack of development skills in my native language, so are there any cordova plugins that can help me?
Update 1 - April 1, 2016
Found this https://subvisual.co/blog/posts/39-tutorial-html-audio-capture-streaming-to-node-js-no-browser-extensions Will try to implement this in a cord through webrtc.
Update 2 - April 1, 2016
Installed https://github.com/eface2face/cordova-plugin-iosrtc to use webrtc
Update 3 - April 2, 2016
Getting stuck in AudioContext.createMediaStreamSource not an iOS feature! Alternative AudioContext.createMediaStreamSource for iOS?
April 4-6, 2016 Patch
Going Native - Time to Explore iOS Development!
source share