Audio::AMR::Decode - Perl extension do decode .amr files
use Audio::AMR::Decode; Audio::AMR::Decode::amr2raw('infile.amr', 'outfile.pcm');
This module will attempt to decode an amr encoded audio file to a raw pcm audio encoded file.
The package contains C-source files for the optimized fixed-point speech decoder. The optimized fixed-point speech decoder is bit-exact with 3GPP TS 26.073 fixed-point speech decoder version 4.1.0.
Technically this works but I wouldn't call this code 'mature'. Proceed with caution
ftp://ftp.3gpp.org/Specs/latest/Rel-5/26_series
Please note the following codec version information:
=================================================================== TS 26.104 R99 V3.5.0 2003-03 REL-4 V4.5.0 2003-06 REL-5 V5.2.0 2003-06 3GPP AMR Floating-point Speech Codec ===================================================================
Nick Gerakines, <nick@socklabs.com>
Copyright (C) 2006 by Nick Gerakines
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Audio::AMR::Decode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::AMR::Decode
CPAN shell
perl -MCPAN -e shell install Audio::AMR::Decode
For more information on module installation, please visit the detailed CPAN module installation guide.