Giter Site home page Giter Site logo

avfoundationrecorder's Introduction

Hi there ๐Ÿ‘‹

I hate talking about myself.

I'll fill this in RSN.

  • ๐Ÿ”ญ Iโ€™m currently working on ... this README.
  • ๐Ÿ’ฌ Ask me about my low-fat no calorie pizza recipe!
  • ๐Ÿ“ซ How to reach me: smoke signals
  • โšก Fun fact: 2 + 2 = 5 for very large values of 2.
  • ๐Ÿ˜„ Pronouns: is, ea, id ille, illa, illud hic, haec, hoc qui, quae, quod Proper declension is left as an exercise for the reader.

My github statsTop Langs

avfoundationrecorder's People

Contributors

genedelisa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avfoundationrecorder's Issues

crashes on stop

hello,

the app records and stop but when the window comes up to Keep or Delete and you push delete, it crashes.

fatal error: unexpectedly found nil while unwrapping an Optional value

thanks

xcode 6.2.b4
iOS 8.1 and 8.2

I can not hear music after recording (Swift)

I make a karaoke app. If headphone doesn't plugin app works fine.(my voice and background music record together). it is successful. but I'm the same way with headphone Then I listen to the recording. I can not hear the background music.(its too much low).

Call recorder

Hello!
Could you please advise me - is it possible to add call recording to this app (i mean if i fork it with minimal clang knowledges) ?
I guess you as a owner of audio recorder should be able to estimate resources and human-hours required for this task execution, is it even possible?

Would be very helpful, if you can find few minutes to answer.
Best regards,

How to record and save in mp3 format

How to record and save in mp3 format

I have changed kAudioFormatAppleLossless to AVFormatIDKey: kAudioFileMP3Type I got Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value error kindly help

Swift 3 Update && Issue with volume levels

Problems experience when trying to convert this myself to the new syntax etc.

I notice that there is an issue that when I first use the app the playback is at a nice level, but then as I continue to use it the audio goes very quiet.

It seems that if you record two audio files in a short space of time the second recording overrides the first, this might be because the same name is being used and the app hasn't checked if there is already a file with that name.

When I try to rename a sound, unless I give it a name in the format "abcde.m4a" it vanishes from the view and I can't play or retrieve it.

It is not intuitive to a user initially that a double tap is to rename and press to delete as this is not the current iOS typical functionality, which incidentally is swipe left and swipe right to delete or rename.

hi genedelisa

your exxample is very good. i added a function for play MP3. I want to record with music and mixed. but i dont hear music after audio record. it is too low. without headphone everything is good. :(

func PlayMusicAndRecord()

{  
    do {
        let url = "http://files.parsetfss.com/461a4eda-d153-4d46-bd85-28ddd355a94c/tfss-03d4eb57-51cb-424d-8c90-2d8a89429203-00255--How_To_Build_A_Loving_Family.mp3"
        let soundData = NSData(contentsOfURL: NSURL(string: url)!)
        self.player = try AVAudioPlayer(data: soundData!)
        player!.volume   = 1.0
        player!.prepareToPlay()
        player!.play() 
    }

    catch let error as NSError {
        self.player = nil
        print(error.localizedDescription)
    }
}

How to play a paused audio ?

It looks like I can't open a paused audio and play it. I want to record a piece of audio, pause audio recorder, play and listen it. But when I click on play button, It says "Open failed. The operation could not be completed".

Below is the line that throws this error:
self.player = try AVAudioPlayer(contentsOf: url!)

how to record audio .mp3 or .wav ??

@genedelisa thanks for giving beautiful avfoundation recorder. In app i need to record audio in .mp3 or .wav format. how to recored it format ??

perhaps, I was getting crashed app when i was tried change extension .mp3 or .wav instead of .m4a. it recorded .m4a format only.

please help me how to recored .mp3 or .wav or how to convert .m4a to mp3 or wav format and file size ??

Thanking you

Recording after a Pause

Hi,
I've been using your project and I've found out that if you try to save a file after pausing the record action, the application issues an error. I did not have the time to change it because my project is for a quick 3-week-course.
Thanks for sharing the project, it helped me a lot!

Found nil error occurs after a pause

When we record and stop, code works fine. But when we pause and then continue and stop, then on clicking "keep" the app is crashing. I am getting error "unexpectedly found nil while unwrapping an Optional value". Any workaround for this? I want to use continue and pause so have to get it working somehow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.