Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to record an audio and play the recorded audio in Iphone sdk?

Tags:

objective-c

I need to record an audio and play it in my app.As I am newbie I don't know how to implement it.Can anyone Please suggest me how to do this.

Thanks in advance, Monish

like image 516
Monish Kumar Avatar asked Dec 12 '25 00:12

Monish Kumar


1 Answers

Use AVAudioRecorder. The Question has already been answered here: How do I record audio on iPhone with AVAudioRecorder?

Playing the sound depends on your context. You can use AVAudioPlayer or CoreAudio if you want to go to a deeper level.

like image 174
Björn Marschollek Avatar answered Dec 13 '25 16:12

Björn Marschollek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!