Skip to main content
MGogr.1
Senior
December 28, 2021
Question

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.

  • December 28, 2021
  • 1 reply
  • 1904 views

..

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
December 28, 2021

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 VenmoUp vote any posts that you find helpful, it shows what's working..
MGogr.1
MGogr.1Author
Senior
December 28, 2021

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.

MM..1
Chief III
December 28, 2021

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

try What is Bin2c (segger.com) or other utils