Skip to content

Latest commit

 

History

History
64 lines (37 loc) · 1.53 KB

README.md

File metadata and controls

64 lines (37 loc) · 1.53 KB

NTYAmrConverter

Converter between .amr and .wav file

Requirements

  • iOS 8.0+
  • Xcode 7.3 or above

Installation

CocoaPods

Specify your Podfile:

pod 'NTYAmrConverter', '~> 0.1'

Carthage

Specify your Cartfile:

github "ninty90/NTYAmrConverter" ~> 0.1

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.

Related Project

AMR-for-iOS7

License

NTYAmrConverter is released under the MIT license. See LICENSE for details.