Showing results for 
Search instead for 
Did you mean: 

Does anyone know software which can convert my audio .wav file to C code? I'm trying to use i2s on my stm32 board but the output i am getting is gibberish audio. Currently I have used Wav to code software but i'm not satisfied with it.

Associate III

C code, or an array of bytes/words?

Should be a couple of minutes coding with STDIO file functions on your host PC​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

An array of bytes.

i want to use i2s function which requires array of music file. How that can be done STDIO file? I didnt understood.

When you dont understand coding for PC open file ... read ... write .. close

try What is Bin2c ( or other utils