cancel
Showing results for 
Search instead for 
Did you mean: 

Official ST example : How to do the .wav file conversion to use it with the I2S on stm32f2xx

fahdovski004
Associate

Hello ST community,

I am looking at the official ST example from

en.stsw-stm32062_F2\STM32F2xx_StdPeriph_Lib_V1.1.0\Project\STM32F2xx_StdPeriph_Examples\I2S\Audio

and the file audio_sample.c which has been extracted from here :

https://archive.org/download/ArtOfGardensInstrumental

I downloaded the.mp3 version and tried to convert the file to a .wav (16bit pcm raw, 48khz) as specfiied in main.h but i do not have the same output as the audio_sample.c .

Could somebody point me to the correct conversion to obtain the right file (on audacity starting from a example .wav file would be great).

Thanks.

0 REPLIES 0