cancel
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.

MGogr.1
Senior
 
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3

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 (segger.com) or other utils

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.