1 Reply Latest reply on Oct 28, 2019 7:23 PM by RodolfoG_11

    How to convert audio file to C array to use in PSOC 6 project?

    DhDa_2432241

      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