Skip to content
Audio processing and codecs for ARC processors
C Makefile C++ Perl 6
Branch: audio_dev
Clone or download
Latest commit 7af26db Dec 9, 2019

README.md

embARC Audio

This repository contains source code of voice and audio codecs, test library and documentation.

Release notes

The following codecs were tuned for using MWDT compiler on processors families ARC EM/HS4xD voice audio:

  • BT-CVSD
  • G.711
  • G.722 Appendix IV
  • G.726
  • GSM-FR codec
  • Sony LDAC encoder

Package structure

doc - contains the API documentation of the embARC Audio Codecs library
BT-CVSD - Bluetooth CVSD codec
G.711 - G.711 codec
G.722 - G.722 codec
G.726 - G.726 codec
GSM-FR - GSM-FR codec
LDAC encoder - Sony LDAC encoder
rules - Common parts of makefiles for build and run codecs
Testlib - test library for benchmarking codecs

Prerequisites

  1. Installed MetaWare Development Toolkit P-2019.09 or newer
  2. Valid license for MetaWare Development compiler and debugger
  3. HW platform shall support accumulator preshift option (-Xdsp_itu) for codecs based on ITU-T BASOP, with REMAPITU_T=on.

Supported platforms

For codecs where conformance (bit exactness tests) test suite is required to pass following ARCv2 DSP platforms are tested:

  • em5d voice audio;
  • em7d voice audio;
  • em9d voice audio;
  • em11d voice audio;
  • hs45d voice audio;

Getting started

All codecs follow a general approach to build and run a codec application. For more information see in the README.md of a specific codec.

Build and run procedure for default platform:
  1. Open command line in folder of specific codec
  2. gmake cleanall
  3. gmake all
  4. gmake run
Build and run procedure for specific HW platform

EM9D voice audio HW template is used for example.

  1. Open command line in folder of specific codec
  2. gmake cleanall
  3. gmake all TCF=em9d_voice_audio
  4. gmake run TCF=em9d_voice_audio

At the end of successful execution of codec application the output log is expected to contain a string:
FC: no differences encountered

Known Issues

None

Contact information

You can’t perform that action at this time.