I would like to develop a way to transfer data via audio on mobile devices for a project my uncle and I are working on.
The idea is, two Android/iPhone devices are hooked up via a standard 3.5mm audio cord via their headphone/microphone jacks. You type in text into one device (or load binary file data into an edit box, etc.), tap a button on the screen, and it encodes the file data into audio, and plays it. The second device (on the other end of the audio cord) "hears" this audio, and decodes it into data.
I figure the easiest way to do this is to decode any data you want to send into binary, and bit by bit parse through the data, playing a quick deep tone for 0's and a high tone for 1's. The other device will hear these tones and put the data back together.
- Maybe we could even do Hex data or something and have a variety of tones to represent each hex "number" (this would potentially knock the time of the data transfer down to 25%)
- Audio transfer through the devices' speakers/microphone without an audio cable (not holding my breath, but it may be possible!)
Is this doable?
Money will be discussed in private if you can do this for us