jeff
jeff

Reputation: 13643

How to Input / Output sound in Android?

I want to build a software which takes audio signals (from electric guitar jack cable) and transmits them to audio output.

At first, I guess I should make a program that transmits the sound, without changing it, to the output. And I guess this involves a Jack-To-USB adapter.

My aim is to change the signal, like its pitch, gain etc.

Any ideas how to do such a thing?

Thanks for any help :)

P.S.

I mean live. The signal should be transmitted as soon as it is received from the USB input.

Upvotes: 0

Views: 1810

Answers (2)

Hartmut Pfitzinger
Hartmut Pfitzinger

Reputation: 2306

If you mean low latency when saying live then there are issues, because on most Android devices you get delays between the input signal and the output signal of more than 50ms. But typically, people would accept a total latency of less than 20ms.

For your special purpose of pitch-changing the algorithmic latency additionally increases the total latency to an intolerably high value even for amateur use - as I said: on most Android devices.

Upvotes: 0

Buddy
Buddy

Reputation: 11028

Take a look at Android' MediaRecorder. http://developer.android.com/guide/topics/media/audio-capture.html

Upvotes: 1

Related Questions