Skip to content

ninty90/NTYAmrConverter

Repository files navigation

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.