20 March, 2010
Converting raw bytes into audio files
For an upcoming iPhone app I'm working on, I'm capturing raw bytes from the microphone and displaying them to screen. One neat feature of the app, though, is that the user can choose to record incoming audio to a file. I was really dreading writing this (CoreAudio programming is notoriously difficult), but I stumbled across someone who'd already done it. If you're into that type of thing, you need to check out the terminal application pcm2aif's source code.