I would like to capture a voice file in .wav format with iphone and send this .wav file to a web service. As i searched through the internet I saw that this must be done in objective C language. Since I am an absolute beginner with objective C i would appr开发者_StackOverflow中文版eciate if you could suggest me any ideas, approaches about how this could be performed. Thanks in advance.
There is a question on Stack Overflow regarding the recording part. For creating a WAV file from your recorded audio, you could use libsndfile if you are comfortable releasing your app as LGPL, although you could probably handle writing the conversion from a raw byte stream to a WAV file yourself. It's not a complicated format if you skip the compression. You basically need to prepend a header that wouldn't change much from file to file.
精彩评论