- 1. March 2010: Solve this!
- 29. January 2010: PIC32 Starter Kits Software v2.0
- 27. January 2010: Animation on the MikroE PIC32MX4 Multimedia Board
- 26. December 2009: Merry Christmas and Happy New Year
- 18. November 2009: MikroE MX4 Multimedia Board
- 30. September 2009: Good old printf() (continued)
- 26. August 2009: Changing habits... and dreaming a bit
- 24. July 2009: Where is my RAM?
- 15. July 2009: Olimex PIC-P32MX board
- 28. June 2009: A Great New Board from mikroElektronika
Tremor
The Xiph.Org Foundation offers an open source alternative to the omni-present MP3 audio compression: it is called Ogg Vorbis and promises same if not better performance but it is royalty-free and license free. From their web site, like in all open source project you can download the full C source code for all the tools you need to convert and play back Ogg Vorbis files/streams on most operating systems
Like most open source projects, the code is based on the assumption that you will use the classic GNU Toolchain: gcc compiler, linker, standard GNU libraries, to compile and link your application. Now as you might know the PIC32 toolchain happens to be GNU compatible …
Tremor is the name of one of the branches of the Ogg Vorbis project optimized for use in embedded applications, minimizing the resources requirements and overall footprint. So I decied to start from it to create a PIC32 based Ogg Vorbis player.
I used the Explorer16 as my hardware development platform in addition to the AV16/32 PIC Tail Plus board (only the audio portion of the circuit is required to use two PWM channels as 12-bit D to A converters and the SD card connector of course).
I also used the SDMMC.c module developed in the book and combined it with the 17 source files that compose the Tremor library (no modifications required whatsoever)!
Hit the compile button, program the PIC32 and … voila’!
Download the demo and review the schematics of the AV16/32 board on the PIC32 Explorer web site, in the new Advanced Projects section.
Leave a Reply
You must be logged in to post a comment.