API for connecting non-audio equipment?

Sorry if this is a pointless question, or if it is repetitive, but just out of curiosity, I was looking for some kind of API for iPhone development when connecting non-audio hardware like: card reader or whatever 3. 5mm headphone jack.I was looking for an iPhone development site and came across AUDIOSESSION, so I was wondering if this API could be used for non-audio hardware, or is it strictly for audio, like headphones or speakers?

If anyone has an idea or can direct me to some resources it will be very helpful.

thank

+3


source to share


1 answer


There are no specific frameworks in the SDK, you have to build them yourself. You will need to record audio using the Audio Session function and do some post-processing on the recorded audio. The Fast Fourier Transform (FFT) or Frequency Shift Keying (FSK) is the most commonly used. There is some support in iOS for this, check out the Accelerator Framework. Then, you still have to filter and analyze your data based on how your sensor encodes it. Check out the links in the comments above.



+3


source







All Articles