Recorded voice to caller in iphone - android

I have an voice record in my iPhone if suppose I call to friends number as soon as he take the call he should be able to listen voice I already recorded. Is it possible in iphone and android?

Answer is NO
This is not possible as far as iPhone is concerned. We loose control over our application when any call comes or go and control is over to Calling application.

Being an Java ME, Android Developer I have no idea about the iPhone, but i guess you got the iPhone answer from Jennis's answer.
Coming to the Android, let me give you guide you some points,
Yes, you can achieve this requirement in Android Technology. You need to user Telephony Manager API. There is a state called CALL_STATE_OFFHOOK this will help you to achieve your goal.

Related

Android Recognize voice of 2 people differently

I want to develop an android app.
One feature of the app is recognize 2 people's voice.
It will be kike this - when the app will open, 2 people will talk in front of it.
App will detect 2 persons speaking and will calculate how much % (let 2 persons are A and B) person A spoke and same for person B.
So, say, after 1 minute the app will tell A talks 80% and B talks 20%.
So, what I need is how to differentiate 2 people's voice.
I have tried SpeechRecognizer and android.speech.tts . But I can't make it working.
Is it possible in android to differentiate 2 people's voice?
Thanks in advance for helping.
SpeechRecognizer or TTS will not help you as they have designed to recognize speech. You have to use DSP technology, in order to recognize the speaker. Due to the complexity, i don't think you can achieve this within the device itself. You can save your audio (using something like AudioRecord in Android) and then send it to a server. in the server side you can run a speaker recognition program. ALIZE is a quite popular open source tool for this.

Inject audio into voice stream in android

I have an idea to build an android application for dumb people which can be helped to answer phone calls. I thought to convert the text into voice and then transfer through call stream.Is it still not possible to play audio so that other party can hear during a phone call in android platforms
Sorry, the short answer still seems to be no.
I would love to be shown wrong on this.
It seems however that the issue goes back to the hardware level and even when that's exposed, Android isn't coded to take advantage of it.
There's a good explanation here.
Good luck.
All Xperia phones have a built-in Answering Machine. When a call comes..the phone can pickup automatically and answer with a pre-recorded voice message which you can customize any time.may you try with these phones.

Android microphone application

Does anyone have any idea how to create an application on an android as a microphone? Like speaking into the android device and it will amplify the voice out?
Yes , I agree .
However , I have to do this as this is my final year project assigned by my supervisor . So i have to do it by hook or by crook . ):
I have already created the application to amplify the voice out from my android device when i speak to it. But there's echo , very high frequency and sensitive to the background .
Do you guys have any solution to this ?
You really mean a megaphone, as in a self-contained voice amplification device.
Sure, technically it's possible, but there are several reasons to not bother. Most importantly, the amplifiers and speakers on handheld devices cannot match the volume you can already achieve with your voice. Also, you would have to work out the feedback challenges - definitely solvable (phase shifts, minor delays, etc.) but effort nonetheless.
Bottom line: I don't think it's worth doing because even if you make it work, someone standing next to you will be able to shout louder than your handheld device can amplify your voice. Not trying to be negative here, just realistic.

Change voice during phone call android

I want to make an android application that allow user change the voice during phone call. For example: You are a man, you can change the voice to a woman or robot when talking over phone. It is like a funny prank.
I work around android's API and google for some days but still have no idea. Some one told is impossible but I see some app on google play can do:
https://play.google.com/store/apps/details?id=com.gridmob.android.funnycall
So I think there are some ways to do that.
I think about recording and play back by using AudioTracker but I have 2more problem:
1. I cannot mute the voice from phone call, so the phone only play my sound after processing
2. record and process will make a long delay (slow-realtime)
Can any one share some solution for this?
The app you linked isn't changing voices on the phone: it uses SIP (or similar) to place a call through the authors' servers and the voice changing happens there. That's why you only get a small number of free minutes of use before you have to pay them.
Yes it uses a sip server to do this process. The reason you cannot actually create an app that does this on the phone is because of two things. The first thing being, sound processing for the phone is locked. You can't unlock this because its strictly engineered through hardware not software. A pc can do this because it uses a standard sound card in which software can modify its frequencies. The second thing is phone manufactures are required to design their phones in a standard format. There are laws that force these companies to make it impossible to do any voice morphing. It is against the law to impersonate someone you are not, over any telephone network.
Hard way
You get the input voice, you use voice recognition to detect the words, then you use speech-to-text with your desired voice as output.
Less hard way
Sound processing: Changing frequencies, amplitude etc.

Voice recognition with android

Hey guys, I was wondering if it were possible to translate audio without having to call a recognizer intent (ie a dialog that says you are recording audio). I want to be able to recover the results of the voice recognition every 2 to 3 seconds or so and plan to use this with a bunch of listviews. Is this possible? If so any ideas? Thanks!
Edit: I forgot to mention that I am playing around with android.speech.SpeechRecognizer but so far, in my implementation of the RecognitionListener interface all I have been able to get from ddms is that there is a client side error. Nothing else seems to be called. Also, is it essential that I implement a RecognitionService? I know that the example in the API is just that. If so, how would I create and use this service? Thanks again.
Speech recognition does not work in the Emulator. You need a device.
I just posted some working code skeleton stuff in another thread -
Voice Recognition Commands Android
The speech recognizer can be triggered every few seconds without UI. You might need to write your own code to decide when is good to record and when is not (you get an audio buffer you could peek through) - or your could do something in your own UI.
I think you could re-trigger it over and over again. Not sure it'd work perfectly but worth a try.
It is impossible in Android < 2.1 and probably in 2.2
When I asked a Google support person, he said, "Maybe you can figure out what packets are being sent and then just make a direct web call"
Wow.

Categories

Resources