Thank you for the reply ,
I was able to decode a audio message saying "hi".
This is the detail of the audio sample :-
Channels: 2
Sample width: 16bits
Sample rate: 48.0kHz
Frames number: 61800
Duration: 1.2875s
Frames bytes: 247200
i was able to convert the MP3 to PCM Raw data .i have also attached the file below .
Current concern is that the raw data is consuming 98% (Complete program including the main file and other files)of the SRAM almost 620KB.
I am also attaching the complete program below ,is the same SDK example of i2c_transfer_dma .i have only changed the music to this file .
1)are there any file/programs which i can use and make sure i can reduce this memory issue ?
2)i am planning to use a Flash memory to store this file ,can the external flash solve this memory issue ??
Main intension of the program is to play certain audio such as welcome, please be seated etc. ,the audio is prerecorded .can be converted to PCM data .Planning to store this data in External flash (W25Q64 Storage 64Mbit 8MByte Data Flash module SPI).Fetching data from this flash and playing audio to speaker.
Thank you and regards
UJWAL KUMAR N L