Microchip | The Embedded Control Solutions Company Register Login
Browse All
Microchip Technology
 303 Code Snippets

PIC plays WAV

Microchip Technology

“PIC plays WAV” project shows how to add a good sound or voice to the application. The sounds improve the application user interface. They can confirm user actions; indicate that some process is finished. The recorded voice can contain help information for the user or can tell about a result calculated by application. This code example is based on PWM. MCCP/SCCP module in PWM mode is used on 16MIPS PIC24F device. The audio WAV file is converted in a sound image using a special wav2image.jar utility. Then this sound image is stored into the device flash memory. The sound data from flash are transferred to PWM. The signal from PWM is filtered and amplified for the speaker.

About this Code Example

For more information see "PIC_plays_WAV_Help.pdf" in ...\documentation folder and schematic in ...\hardware folder.

Categories

Release History

  • Jun 28, 2017

    Version: 1.0.0

    Initial Release

Download Contact the Developer

*Required Fields

  • Current Version:1.0.0
  • Created:Jun 28, 2017
  • Updated:Jun 28, 2017
  • Downloads:1598
  • MPLAB Version:Any
  • C Compiler:xc16
  • Development Tools:Prototype can be built using Explorer 16 and PIC24FJ1024GB610 PIM
  • Supported Devices:PIC24 and dsPIC33

Corporate News

Resources

Stay Connected

Stay up to date with the latest news from Microchip Technology.