How to record voice in the iTranslate Voice application? - ios

How in this application has writing voice and voice to text conversion.
I heard about a program such as ispeech. They used this app or not, or is there some sort of built-in ability to do the conversion from voice to text?

i'm used this lib, just ported from objective C to xamarin

Related

Voice Activity Detection from mic input on iOS

I'm developing an iOS app that does voice based AI; i.e. it's meant to take voice input from the microphone, turn it into text, send it to an AI agent, then output the returned text through the speaker. I've got everything working, though using a button to start and stop recording the speech (SpeechKit for voice recognition, API.AI for the AI, Amazon's Polly for the output).
The piece that I need is to have the microphone always on and to automatically start and stop the recording of the user's voice as they begin and end talking. This app is being developed for an unorthodox context, where there will be no access to the screen for the user (but they will have a high-end shotgun mic for recording their text).
My research suggests this piece of the puzzle is known as 'Voice Activity Detection' and seems to be one of the hardest steps in the whole voice-based AI system.
I'm hoping someone can either supply some straightforward (Swift) code to implement this myself, or point me in the direction of some decent libraries / SDKs that I can implement in this project.
For good VAD algorithm implementation you can use py-webrtcvad.
It is a Python interface for C code, you can just import C files from the project and use them from swift.

Can we use Sirikit for voice recognition

I have implemented voice recognition in my application for voice to text conversion using Nuance Dragon SDK. I have also tried Open Ears but couldn't get it to work properly. Once conversion is completed I use that text as command to trigger action in my application.
I am wondering if using Sirikit we can do it within application. I was not able to understand it while checking the WWDC16 Sirikit Introduction. May be my interpretation of the intent is not clear but as for as I understood, there's no custom intent to trigger some action inside the application.
Plus is sirikit available for objective C as well or just Swift?
SiriKit is for integrating with Siri outside of the context of your application. However, Apple did releases a Speech Recognition API for iOS 10 as well that sounds more like what you want. You can learn more about it here: https://developer.apple.com/videos/play/wwdc2016/509/
All Apple Frameworks are usable by Objective-C and Swift.

How can I use APIs to transmit speech data of a voice call in a iOS application?

I would like to transimt speech data of a voice call in a iOS application I'm writing. This is intended for personal use, not the App Store, to accomplish this, I know I have to know iPhone functions about voice interface and I also know the interface functions are not open. How I can get iOS API about voice interface?
Maybe you need pjsip library:
http://www.pjsip.org/

shazam like feature in ios app?

I would like to write an app that allows users to identify songs by putting the mic next to a speaker and listen to the song for a few seconds... so exactly what Shazam does.
Is there any framework or library or service I can use out there to accomplish that in iOS?
You need an API which you can query. An example uf such an API is Gracenote
You could also have a look at Musicbrainz
Yes you can have a look at the echoprint library developed by echonest here
They provide a c++ library to compute the audio fingerprint which can be used under iOS. They also give the ios example!

ios capture audio file from user's speech

I'm doing an app which converts from speech to text. I have googled and find that google speech api is a google choice. Now I meet a question: When user speak to ios device, how can I capture the audio file? does any Frameworks or APIs should be introduced? And what's the type of raw audio file, WAV or MP3? Thank you.
Why don't you take a look at some of the existing StackOverflow questions on this subject. Try Speech to text Conversion.? or What is the current best speech recognition API for ios to match few keywords?

Resources