cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

DhDa_2432241
Contributor II

Hello Community,

I've tried the I2S example(CE218636) on Psoc 6 platform (CYC8CKIT-062-WIFI-BT). It works well. I can hear 'Psoc Rocks' after pressing SW2 button. The audio file is converted to an array and is stored in wave.c file. How is this file generated?

I want to play my own sound tracks using Psoc 6 platform. I'm interested in knowing how to convert the sound files(mp3, wav) to an array to be used in Psoc 6 platform.

It would be nice to know how to reverse convert C array file to audio source to test the algorithm.

Thank you

Dheeraj

0 Likes
1 Solution
RodolfoGL
Employee

You can use this tool:

https://sourceforge.net/projects/bin2c/

It works with WAV audio file. It basically converts a binary tool to C array.

View solution in original post

0 Likes
1 Reply
RodolfoGL
Employee

You can use this tool:

https://sourceforge.net/projects/bin2c/

It works with WAV audio file. It basically converts a binary tool to C array.

View solution in original post

0 Likes
Top labels