Code Monkey home page Code Monkey logo

iqaudiorecordercontroller's People

Contributors

alexandrterentyev avatar hackiftekhar avatar hqlulu avatar jeffreyjackson avatar lfarah avatar pnghitink33b avatar prscx avatar vvmusiienko 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iqaudiorecordercontroller's Issues

convert m4a to mp3

I've searched through all the internet and didn't find a clear answer on my question
How do you record an m4a file and later convert it to mp3?

Cocoapods support

IQAudioRecorderController is a very useful controller. But I use cocoapods & would like to pull this in using cocoapods. Can you add support for cocoapods?

bitRate not work

IQAudioRecorderViewController *controller = [[IQAudioRecorderViewController alloc] init];
controller.delegate = self;
controller.title = @"Recorder";
controller.bitRate=128000;
controller.sampleRate=8000;
controller.maximumRecordDuration = 60*10;
controller.numberOfChannels=2;
controller.allowCropping = YES;

when I set bitRate,the recorder not work.

Microphone icon is not displayed

Microphone icon is not displayed

My code:

    func audioRecordAction() {
        let audioRecorderController = IQAudioRecorderController()
        audioRecorderController.delegate = self
        audioRecorderController.title = "Audio Recorder"
        audioRecorderController.barStyle = UIBarStyle.BlackOpaque
        presentViewController(audioRecorderController, animated: true, completion: nil)
    }

Navigation bar and bottom toolbar doesn't appear.

Do this:
IQAudioRecorderViewController *controller = [[IQAudioRecorderViewController alloc] init]; controller.delegate = self; controller.allowCropping = YES; controller.barStyle = UIBarStyleBlackTranslucent; controller.normalTintColor = [UIColor whiteColor]; controller.highlightedTintColor = [UIColor colorWithRed:0.0523 green:0.6438 blue:1.0 alpha:1.0]; dispatch_async(dispatch_get_main_queue(), ^ { [self presentViewController:controller animated:YES completion:nil]; });

I'm using code from github, not from podsec.

Got this:
img_0178

Pod not updated to use 1.2.0

When I use pod 'IQAudioRecorderController' it installs 1.0.1 I had to use pod 'IQAudioRecorderController', git: 'https://github.com/hackiftekhar/IQAudioRecorderController'

Recording does not work on iPhone simulator?

Thanks for making this great library for recording audio!

I am using this library in my Swift 2.2-based app, and I was able to install and compile the code. When I tap to open the IQAudioRecorderController, no matter how loud I speak to my MacBook Pro, the sound wave keeps flat and no recording seems to happen.

I was wondering if recording would work on iphone simulator at all. If so, any tricksy steps? Thanks

ps: I make sure the audio input is working from my System Preference settings.

I can't use crop

when I finish the recorder , j try to crop, but I can't use it (it alway loading)

New functionalities

It would be nice if we could add some more functionalities, like:

  • A callback for when user has reached the time limit on recording
  • Possibility to open the trim view controller from an existing audio
  • Possibility to override icons

Duplicate Symbol

I noticed that your cocoapod includes: SCSiriWaveformView

Can you please removed the SCSiriWaveformView.h and SCSiriWaveformView.m files
and incorporate SCSiriWaveformView pod as a dependency of your IQAudioRecorderController pod.

That way other I can use SCSiriWaveformView without the compiler not working and stating Duplicate Symbol errors.

Crash while present "Delete recording" alert if IQAudioRecorderController is presented modally

Logs contain next message: Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIAlertController (<UIAlertController: 0x7ed34f20>) of style UIAlertControllerStyleActionSheet. The modalPresentationStyle of a UIAlertController with this style is UIModalPresentationPopover. You must provide location information for this popover through the alert controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem. If this information is not known when you present the alert controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.

Please expose strings for localization

There are a few strings like "Delete Recording", "Cancel" or "Microphone Access Denied!". Could you please expose those so that we can localize them?

audio duration silider

I'm using IQAudioRecorderController on a swift project like this:

 let controller = IQAudioRecorderViewController()
 controller.delegate = self
 controller.allowCropping = false
 controller.barStyle = UIBarStyle.black
 self.presentBlurredAudioRecorderViewControllerAnimated(controller)

But I have a problem while playing recorded audio, it looks like that:

screen shot 2018-04-22 at 4 19 26 pm

Does somebody had this problem?
Thank you

Demo app doesn't compile.

I am not sure if anything else needs to be done, but the demo app cannot be compiled for me. It failed to find a few classes (FDWaveformView and AV classes).

Can't specify file format.

Hello @hackiftekhar

How are you?

Your library is simple and useful.
I think it will be better if you add to specify audio file format.
Current, it is only possible to record for m4a, but I need mp3.

I have seen your code, it can modify myself, but I want to use your library if possible.

Thank you.

Problem in opening the trim view controller for an existing audio

Getting repeatedly error : IQ_FDWaveformView could not load asset: The requested URL was not found on this server.
// Using a button to call function cropAction with the url of the media Item

@IBAction func crop(_ sender: Any) {

    cropAction("file:///private/var/mobile/Containers/Data/Application/97E1CAB1-661A-477A-9CCE-C8CFED70E309/tmp/E04AA047-BCA2-4DC7-A53F-D6591D9A8DFB.m4a"!)
}

func cropAction(_ item: Any) {
    //    let controller = IQAudioCropperViewController(filePath: item as! String)
    let controller = IQAudioCropperViewController.init(filePath: item as! String)
    
    controller.delegate = self
    controller.title = "Edit"
    controller.barStyle = UIBarStyle.default
    
    controller.normalTintColor = UIColor.magenta
    controller.highlightedTintColor = UIColor.orange;
    
    
    presentBlurredAudioCropperViewControllerAnimated(controller)
}

func audioCropperController(_ controller: IQAudioCropperViewController, didFinishWithAudioAtPath filePath: String) {
    //Do your custom work with file at filePath.
    controller.dismiss(animated: true) { _ in }
}

func audioCropperControllerDidCancel(_ controller: IQAudioCropperViewController) {
    //Notifying that user has clicked cancel.
    controller.dismiss(animated: true) { _ in }
}

iOS Swift

How to use this control in swift?

Missing submodule on XCode 8.2.1

I have added IQAudioRecorderController (1.2.0) as a pod dependency in my project, but XCode gives me a warning:

.../Pods/IQAudioRecorderController/IQAudioRecorderController/IQAudioRecorderConstraints.h:27:2: Missing submodule 'AVFoundation.AVAudioSettings'

The line is:
#import <AVFoundation/AVAudioSettings.h>

If I change that to:
#import <AVFoundation/AVFoundation.h>

..then everything works.

Is there any issues in making that change?

recording length

it would be greate if we can specify the maximum recording time allowed in seconds when the controller stops recording by itself, it will make it perfect i guess with many uses

Not able to get audio

Hi!
First I would like to say that your library is fantastic, congratulations.
Second I´m having an issue that I can´t create a NSData from the filepath because NSData is always getting nil. Could you help me out?
Below is my code

-(void)audioRecorderController:(IQAudioRecorderController *)controller didFinishWithAudioAtPath:(NSString *)filePath
{
//_audioFilePath = filePath;

NSURL *url = [NSURL URLWithString:filePath];
NSData *audioData = [NSData dataWithContentsOfURL:url]; //NSData is always getting nil

}

How to increase the recording volume ?

First of all, thanks for your amazing work !

I would like to be able to increase the volume of recording. Is there a way to do it directly inside the application ?
Which file is handling the recording volume of the microphone (if there is one) ?

I would appreciate any tips !

Thanks for your answer.

Backend

Hi there!

First congrats for the project, really nice!

It is possible to configure this project to upload the audio files to Parse.com ?
Could you implement it or give any direction/tip ?

Thnx and cheerz

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.