- Easy & fast audio trimming & modifications process.
- You can select a range of audio to be trimmed.
- Ability to record custom audio for trimming process.
- Ability to play audio before trimming.
- Audio quality remain as it have in original files.
- Fully customizable layout.
Required Frameworks
#import <AVFoundation/AVFoundation.h>
#import <CoreMedia/CoreMedia.h>
Steps to Integrate
-
Copy
AudioTrimmerController
folder and add it into your project. Also, make sure you select copy items if needed option. -
Add
#import "AudioTrimmerViewController.h"
at the required place on your code. -
Add below code where you want to open audio trimming controller:
- To Present Audio Trim View:
[AudioTrimmerViewController presentAudioTrimmerController:self completion:^(BOOL success, NSURL *trimedFilePath) {
// Do your stuff here ..
NSLog(@"%@",trimedFilePath);
}];
- To Push Audio Trim View:
[AudioTrimmerViewController pushAudioTrimmerController:self completion:^(BOOL success, NSURL *trimedFilePath) {
// Do your stuff here ..
NSLog(@"%@",trimedFilePath);
}];
Note: Make sure you add below key in info.plist and provide there valid description.
- Privacy - Microphone Usage Description
Copyright (c) 2018 INTUZ
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- EZAudio