1

I am a new to the cocos 2d framework. Now I want to write a small game which can receive my voice from the microphone of iPhone. So what knowledge do I need to have to do this and can you suggest any documents or links that I can read to learn?

mmmmmm
  • 32,227
  • 27
  • 88
  • 117
ThyPhuong
  • 483
  • 1
  • 4
  • 5

2 Answers2

0

This can be done without the help of cocos 2d. You basically need to have a way to do audio capture. You can do it using AVAudioRecorder or using Audio Queue Services/Core Audio.

Here's a link on AVAudioRecorder How do I record audio on iPhone with AVAudioRecorder?

Community
  • 1
  • 1
Bijoy Thangaraj
  • 5,434
  • 4
  • 43
  • 70
0

I found an article maybe useful to this.

http://www.mobileorchard.com/tutorial-detecting-when-a-user-blows-into-the-mic/#comment-2699

ThyPhuong
  • 483
  • 1
  • 4
  • 5