text: Converter between .amr and .wav file
  Requirements
  - iOS 8.0+
  - Xcode 7.3 or above
  Installation
  CocoaPods
  CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
  $ gem install cocoapods
  To integrate NTYAmrConverter into your Xcode project using CocoaPods, specify it in your
  Podfile:
  source '' platform :ios, '8.0' use_frameworks! pod 'NTYAmrConverter', '~> 0.1'
  Then, run the following command:
  $ pod install
  You should open the
  {Project}.xcworkspace instead of the
  {Project}.xcodeproj after you installed anything from CocoaPods.
  For more information about how to use CocoaPods, I suggest this tutorial.
  Carthage
  Carthage is a decentralized dependency manager for Cocoa application. To install the carthage tool, you can use Homebrew.
  $ brew update $ brew install carthage
  To integrate NTYAmrConverter into your Xcode project using Carthage, specify it in your
  Cartfile:
  github "ninty90/NTYAmrConverter" ~> 0.1
  Then, run the following command to build the NTYAmrConverter framework:
  $ carthage update
  At last, you need to set up your Xcode project manually to add the NTYAmrConverter framework. with the following content:
  /usr/local/bin/carthage copy-frameworks
  and add the paths to the frameworks you want to use under “Input Files”:
  $(SRCROOT)/Carthage/Build/iOS/NTYAmrConverter.framework
  For more information about how to use Carthage, please see its project page.
  Manually
  It is not recommended to install the framework manually, but if you prefer not to use either of the aforementioned dependency managers, you can integrate NTYAmrConverter into your project manually. A regular way to use NTYAmrConverter in your project would be using Embedded Framework.
  - Add NTYAmrConverter as a submodule. In your favorite terminal,
  cdinto your top-level project directory, and entering the following command:
  $ git submodule add
  - Open the
  NTYAmrConverterfolder, and drag
  NTYAmrConverter.xcodeprojinto the file navigator of your app project, under your app project.
  - In Xcode, navigate to the target configuration window by clicking on the blue project icon, and selecting the application target under the "Targets" heading in the sidebar.
  - In the tab bar at the top of that window, open the "Build Phases" panel.
  - Expand the "Target Dependencies" group, and add
  NTYAmrConverter.framework.
  - Click on the
  +button at the top left of "Build Phases" panel and select "New Copy Files Phase". Rename this new phase to "Copy Frameworks", set the "Destination" to "Frameworks", and add
  NTYAmrConverter.frameworkof the platform you need.
  Usage
  In your swift project, use like this:
  import NTYAmrConverter // encode wav to amr NTYAmrCoder.encodeWavFile(wavPath, toAmrFile: amrPath) // decode amr to wav NTYAmrCoder.decodeAmrFile(amrPath, toWavFile: convertedWavPath)
  You can find the full API documentation at CocoaDocs.
  You can also see the Demo,
  to run the Demo, use
  pod install first.
  License
  NTYAmrConverter is released under the MIT license. See LICENSE for details.
  Latest podspec
  { "name": "NTYAmrConverter", "version": "0.1.0", "summary": "Converter between .amr and .wav file", "homepage": "", "license": "MIT", "authors": { "Yinglun Duan": "[email protected]" }, "platforms": { "ios": "8.0" }, "source": { "git": "", "tag": "0.1.0" }, "source_files": "Source/**/*.{h,m}", "vendored_libraries": "Source/**/*.a" }
  Sun, 17 Apr 2016 09:07:05 +0000