Is there an API / function call to handle iPad audio jack I/O?
No audio input yet, but I think it might be in the next update. There’s the sound() function to generate a sound but it’s not the best. The next Codea version will include custom sound assets, though.
Welcome to the Codea Forums!
I think the question here isn’t really sound, but using the audio jack for data transfers ala Square and several fitness monitors. And I think the answer, for now at least, is no.
Nope, I don’t think Codea can do this.
You’re most likely be able to achieve what you want with TechBasic (http://www.byteworks.us/Byte_Works/techBASIC.html)
This has a dedicated and easy to use API for monitoring the iPhone/iPads sensors. Although, I’d check the docs to see if it does exactly what you want. It also works well with the ‘Hijack’ breakout board and A/D converter via the i/o jack - which may be what you want anyway:
http://web.eecs.umich.edu/~prabal/projects/hijack/
Hope this helps…
@Mark Yes, my questions was about data transfer via techniques like
frequency-shift keying.
@andymac3d Thanks for the techBASIC/Hijack board mention.