Can i use microphone in Corona? - android

I'm new to programming and I want to create an app. I have to use the phone's microphone in real time to implement it.
Since I have only used enviroments that i have been told in class I don't know what to use now. I have tried using corona but i heard that it doesn't implement audio (i'm not 100% sure about this).Is this true? (I am programming in Windows 8)
If i can't,what enviroment do you recommend that i should use? I only need the intensity of the voice i don't need full voice recognition.
Thanks in advance :)

Corona audio API only support audio playing, and does not give access to the microphone.
To support the microphone in your app, you can create a native plugin and integrate it using Corona Native

Related

Mobile cross platform for tuner app

I'm actually doing my thesis right now, and I started doing it in unity 3d platform. What i'm doing is something to do with tuning music instrument. A drum tuner to be exact. So I need to use the microphone as a real-time listener just like the guitar tuners are (guitar tuna is my benchmark). But the forums and its manual says that the class microphone is only for recording and unity is not made for such app.
Is there anybody here tried something like my thesis app (or any tuning device)? what platform should i use? Please help me. Thank you!

accessing mic and earphone of android cellphone

hey can anybody please tel me that can i access a mic and earphone of my android cell,as we can access camera hardware of cellphone so is there any way to access them as i want to make a walky-talky app.And im a very beginner so please help me out thanks evry1.
You can use AudioRecord to record the audio.
Check some Android audio chat (SIP) projects to how they have done it:
http://code.google.com/p/csipsimple/
http://code.google.com/p/sipdroid/
Well that would be android.media.AudioRecord for the mic and android.media.AudioTrack for the sound. But what you want to do won't be something for beginner. You should at least be able to find this in the android api.
I suggest you to start with a less complex program. On the android developer site, you will find a good start for this.
http://developer.android.com/guide/index.html

Is it possible to record calls both sides(mic,speaker) in android?

i'm trying to develop an application to record calls bothside(mic and speaker). I've seen there is one app vrecorder providing this vrecorder for android 1.6.
Now i want to do this for android 2.2 and above. Can i know is this possible with MediaRecorder.AudioSource.
I've read some forums they are saying that there are some issues on doing this.
In Stackoverflow itself several questions are about record voice calls saying that not posible. But these posts are older. Is it possible to record phone calls via an Android App? .
But http://code.google.com/p/android/issues/detail?id=2117 in this discussion they are saying that some issues are there but we can implement.
Atlast, please I need some descriptive answers, that can we record voice calls in android both way (from mic and speaker).
Thanks in advance.
Call recording is not yet possible on Android. The feature request you are referencing is still not resolved.
People that have been able to do call recording use rooted phones with custom kernel.
On stock Android phones, you can only record your voice from microphone, but you can not record the sound of the other party. If you only want to record your voice use android.media.MediaRecorder.AudioSource.MIC

android, recording audio with the emulator

i just new in the android world.
Basically i just want to record the users voice.
I have downloaded some samples and i have not been able to test them using the emulator.
Sine it's possible to enable "audio recording support" when creating a new Android Virtual Device, i'm just guessing what's wrong here.
questions:
is it possible to use the emulator for audio recording? how?
thanks
Media Recorder can be used to record video and audio. However it mentions that currently, MediaRecorder does not work on the emulator. If your samples are using this class, it seems it will not work on the emulator.
Also, it would be a good idea to post links to the samples you mentioned.

Sound Analysis/Editing in Android

I'd like to know how difficult it is to analyze and edit sound in android. My project would be a kind of DJ application.
I think AudioTrack is the most appropriate library, right ? How does the few android DJ apps work to display the spectrum of the sound, apply effect, change the speed, mix ect ... Do they use a more powerful external sound library ?
For the performances issue, is Java fast enough ( or is there a risk of latency )?
And a last question : How does Korg ported its syth to Ipad, Wormux being ported to android, AngryBird works now on Iphone AND android ,ect ... all these apps seem to be ported to any platform without being re-written... how do they do ? It is because they are written in "Native Code" ? Should I consider this option so I can use other sound library ?
Thanks.
For purposes of editing sound or applying sound effects to a stream you can use class AudioTrack in conjuntion with one of AudioEffect subclasses of package android.media.audiofx, e.g. Equalizer etc ....
In order to analyse sound you should most probably apply FFT algorithms to the bytes you retrieve from class AudioRecord or some Reader.

Categories

Resources