Iphone program allowing them to record.

Discussion in 'iOS Programming' started by softwarespecial, Sep 2, 2009.

  1. Joined:
    Jul 1, 2009
    #1
    In my program I need to make it so the person can use the microphone to record a sound and then save it so it is there when the program is turned off and the be able to play it back. I just need to know the way to do this with the least amount of code needed. An example would be good if you know of any.
     
  2. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #2
    Look at the sample code for the 'speak here' example. It does exactly what you are looking for.
     
  3. softwarespecial thread starter Guest

    Joined:
    Jul 1, 2009
    #3
    Did that there were 50 bugs still after hours of work..

    Did that there were 50 bugs still after hours of work. Rememer the problem with there examples is they add a bunch of unnecessary things. THat takes more time to just sort out then is worth it. I just need to know the absolute Smallest amount of code to do it. Please can someone help?:confused:
     
  4. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    There were 50 errors and warnings with their sample code? Or is that after you started messing around with it? SpeakHere should build with only one (forced) warning.
     
  5. softwarespecial thread starter Guest

    Joined:
    Jul 1, 2009
    #5
    The 50 errors was when I tried to impliment into my program...

    The 50 errors was when I tried to impliment into my program and at first when I implimented it it was 90 errors. I got it down to 50. I just need the bare code possibal to record and play back and to save it so the even when the program is off the device will still have the sound. I just need the absolute least code possibal to do the task.
     
  6. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #6
    Even if someone here were to give you the minimal code (which I kinda doubt is gonna happen), the real trick is that you'll still need to incorporate it into your own app. And based on the 90-errors-now-50 doesn't seem like it's going to have a very positive outcome.

    EDIT: Ok, maybe I should try to contribute something more constructive to this. Whatever code you get for inclusion, you are really going to need to spend the time to make sure you understand what it does first. That way your chances of success versus a simple copy-and-paste approach should be much greater. Perhaps create a simple, barebones project and start building it up by incorporating parts of the code from the SpeakHere sample that you understand. Once you have this standalone test prototype working, you can begin to transfer what you've learned from that into your real project.
     
  7. softwarespecial thread starter Guest

    Joined:
    Jul 1, 2009
    #7
    sorry if I don't want to cheat the customer of his money...

    sorry if I don't want to cheat the customer of his money some one is paying me for this. I made a program that plays video sends email saves info globally and so it won't be erased as the program is turned off. I know what I am doing. Excuse me if I don't want to spend that much time on something. I don't over charge. I know for a fact it shouldn't take long someone before who was smart enough to simply give what was asked gave me the bare essentials to play a sound. it took me no more then 10 minutes to get it to work in my program. Please just give me the code. I am not about to charge this guy more then is needed I will not cheat him of his money sorry if you would but i won't so please listen give ok or is that to hard to understand
     
  8. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #8
    Please tell me this is a joke. You don't want to cheat your customer of their money? Then why did you take on a job that you clearly have no idea how to complete without stealing free help from other people? Or were you planning on sending whoever gives you the answer a piece of your commission?

    Apple practically gives you the exact code to solve your problem, but you still can't figure out how to do it. Obviously your customer has already been cheated.
     
  9. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
  10. Bostonaholic macrumors 6502

    Bostonaholic

    Joined:
    Aug 21, 2009
    Location:
    Columbus, Ohio
    #10
  11. softwarespecial thread starter Guest

    Joined:
    Jul 1, 2009
    #11
    Wake up people.

    I do know what I am doing. Yet I have not done recording so Instead of wasting his money and my time messing around with a bunch of stuff not needed I ask for help yes I am humble enough to ask for help. If you can't help a fellow developer then what the hell are you doing on this? Seconed and lets listen this time Speakhere Has More crap then is needed so it takes more time sorting out. God knows whos in the right and wrong so I am happy.:)
     
  12. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #12
    Then you better start praying for the code you want, because no one on this board is going to help someone as rude as you.
     
  13. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #13
    Then you don't really need our help, do you?

    Wow, so you are planning on charging your client for time spent to learn something that I expect they probably think you already know? Yikes!

    You must have a different definition of "help" than we do.

    Anyways, as others have said, it sounds like you are cheating your client and you are being particularly rude to the rest of us here. But hey, good luck with your project! :D
     
  14. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #14
    It's all in SpeakHere. Just find and remove the all parts that aren't related to audio. If you know what you're doing, you'll recognize those parts. What's left is no different that what any smaller code library that someone could send you would provide.

    Then connect up the audio/file initialization, and the UI for session/start/stop/interruption/etc.

    If you don't know what you doing, you don't have to bill your customer for the time it takes you to learn basic stuff.
     
  15. promar macrumors newbie

    Joined:
    Sep 19, 2009
  16. Kingbombs macrumors member

    Joined:
    Jun 24, 2009
    #16
    Dejo said what you have to do
    if you are having problems trying to implement the whole program at once, implement it in parts
    have is so you can just play an audio sound (assuming they will want audio play back)
    then create it so they can speak and record the sound to the phone (temporarily)
    then find a way to store it all the time after that

    this is a help forum, what that means is you come here say your problem, say what you have tried and say why what you have tried doesn't work and say the errors, general format is
    "My Problem Description"
    "Code Examples"
    "Error's I'm Getting"

    If you do that then people will help you and tell you the correct code, or apple documentation you should be looking at

    (also by telling us you are doing it for money, gives even less incentive to help, because we don't get paid for helping you!)
     
  17. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #17
    When did you ask for help? Help would be providing some code that doesn't work, and having that code fixed for you. Help is not coming in and telling us to GIVE you code.
     
  18. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #18
    The complainer has been gone for two weeks, no use responding to the missing and clueless.
     
  19. Darkroom Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #19
    kinda surprised this thread hasn't been tossed to the wasteland.
     
  20. Kingbombs macrumors member

    Joined:
    Jun 24, 2009
    #20
    lol hadn't realised this was post so long ago,
    just saw that it had a new post on it today
     
  21. millerj123 macrumors 6502a

    Joined:
    Mar 6, 2008
    #21
    I hope it doesn't, though. I've been anxiously awaiting the outcome for days...
     
  22. Kingbombs macrumors member

    Joined:
    Jun 24, 2009
    #22
    can we get this stickied and change the topic to "What not to do"
    so the very few that read it atleast don't post rubbish like this guy, and think of a structured post
    Also the feedback everyone has said can be helpful in what to and what not to say in this forum posts
     

Share This Page