lpcware

Ogg Vorbis Decoder on NXP LPCs?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by nsmith17044 on Tue Apr 28 13:34:40 MST 2015
This is more of a general LPC questions but I'm currently working with the LPC1518.  I currently have a design that streams and merges two 32KHz 16 bit WAV files stored on a quad SPI flash (FAT16) and outputs the PCM data on the 12 bit DAC. 

I started a separate project to port the Ogg Vorbis 'Tremor' branch.  I have successfully ported the project and have my hooks in place.  What I quickly realized is how 'in-efficient' this branch is for small embedded parts.  I've found references to some ports needing 350KByte of dynamic space for operation. Ouch!

Does anyone know of the dynamic (stack and heap) memory requirements of the Tremor port while decoding 32KHz Vorbis single stream files?  Or does anyone know of a Vorbis port for low memory NXP parts other than Tremor?  I know its possible based on embedded solutions like VLSI Solutions parts.  I'm trying to find our own solution.

Nathan

Outcomes