Added: 1 year ago
From: iWorldApps
Views: 4,203
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (23)

Sign In or Sign Up now to post a comment!
  • Thanks!

  • is this possible with Xcode 4?

    if i follow your tutorial it doesn't work :(

  • @CitydriftSL works without problems on Xcode 4 and iOS sdk 5.

  • 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?

  • @Chilling1993 and one more thing :P

    how do i loop the sound?

  • 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?

  • when i recorded something it did not play back what happened

  • 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 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!

  • could i do this with live sound coming in and out

    

  • @chasethemooseinc it Is possible, yes as you can have multiple sound channels within the iPhone SDK. Sorry for the delayed reply.

  • @iWorldApps can you do a toutorial on that where if you click a button the sound would come in and out

  • @iWorldApps how would i do that

  • @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 i dont need it to record i just need it to come in and out, also i am  new to audio in the sdk

  • @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

  • have you an idea how to change the pitch or frequency of the tempAudioFile before playing?

  • @maikrobi Unfortunately there is no simple way to change the pitch that i know of, however if anyone else could shed some light this would be brilliant. If we find anything then you'll be first to know.

    The only possible way to do this that i know of is within openAL, although i have no experience with this.

  • good video.Anyway to get the audio to save to the music playlist?

  • @johnydee187 Im not aware of anyway to do this (not to say its not possible of course). But you could look into saving multiple files into your apps directory and implementing some kind of playlist within it.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more