iPhone SDK Tutorial - Recording And Playing Back Audio
Uploader Comments (iWorldApps)
All Comments (23)
-
Thanks!
-
@CitydriftSL works without problems on Xcode 4 and iOS sdk 5.
-
is this possible with Xcode 4?
if i follow your tutorial it doesn't work :(
-
@iWorldApps how do i pause the audio that i have recorded and then is playing?
so i dont need to listen to everything i have recorded if i dont want to.
and how should i do so when i have recorded something and then want to add something to that recFile?
So both things i recorded is in the temporaryRecFile
-
@Chilling1993 and one more thing :P
how do i loop the sound?
-
great vid! just wonder 2 things. now when i press the play button a couple of times in a row the sound starts to play "over it self". how should i do so when i press the play button the second time the sound just stop?
and how should i change the code so i record the output audio instead?
-
the playback didnt worked.. and the file is not stored..please fix..
-
Need some help! I want the file to be saved and compressed a bit so i can access it later in a folder or something. Also i want it to record very low sounds like on distance, is it possible to make it more like sensitive?
great video, just one remark. Watch out for programming anti patterns! The variable name isNotRecording is such an antipattern, because it will confuse people who read through the code.
Better use a variable name "isRecording" because then it is clear that true=recording and no=not recording
mschorer 8 months ago
@mschorer Very good point, its definatley best to keep your code clear. In this tutorial it was done in the way that i personally would do it. Thanks for clarifying for us!
iWorldApps 8 months ago
could i do this with live sound coming in and out
chasethemooseinc 10 months ago
@chasethemooseinc it Is possible, yes as you can have multiple sound channels within the iPhone SDK. Sorry for the delayed reply.
iWorldApps 9 months ago
@iWorldApps how would i do that
chasethemooseinc 9 months ago
@chasethemooseinc By default you can play multiple sounds. However, it might not be possible to actually record a sound whilst you have your own sound playing back. The best possible route is to try it out, would only take some minor tampering with the code above so that that no buttons are ever disabled.
iWorldApps 9 months ago