Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes


PIC32 AC Decoder Libraries for MPLAB® Harmony

Advanced Audio Coding (AAC) is a standardized lossy compression technique used for encoding digital audio files based on perceptual audio encoding. It is designed to be the successor of MP3 format and claims to offer better sound quality at the same bit rate. AAC technique minimizes the amount of data required to impart high-quality digital audio and it achieves this by discarding irrelevant signal components and wiping out redundancies in the coded audio signal.

The AAC algorithm is designed for 80MHz or greater PIC32 MCUs, and supports both PIC32MX and PIC32MZ devices. This code requires 62MIPS peak 34MIPS average performance, 61KB Flash and 12KB RAM without frame buffer memory for operation on the MCU.

Users remain responsible for licensing for their products through Via Licensing.

PIC32 Advanced Audio Coding (AAC) Decoder library provides easy to use APIs for decoding an audio stream encoded using Advanced Audio Coding (AAC) encoding. The PIC32 AAC Decoder library supports the following:

Sample Rates:

8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48, 64, 88.2 and 96KHz

Bit Rates:

32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384 kbps and VBR

Microchip offers AAC Decoder library both in non-modifiable binary code and source code formats that enables usage on high performance PIC32MX devices. The decoder is a low complexity decoder AAC – LC with support for parsing ADTS headers only.

  • The ADTS header Audio Data Transport Stream (ADTS) is a format, used by MPEG TS or Shoutcast to stream audio
  • Not all *.aac audio files will play using this decoder, since not all follow the same header or AAC – LC format for encoding
  • Music with ID3 tags does not decode
  • AAC_LTP is not supported
  • Only music with AAC-LC v4 format WITHOUT ID3 tags is supported

Please click here to purchase the PIC32 AAC Decoder for MPLAB®

PIC32 AAC Decoder Libraries for MPLAB®

Additionally, Microchip offers the compact MP3 library as non-MPLAB®

AAC Decoder Library for PIC32MX, MLA based.