This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

convert the Wave file to Hex Value

How can i convert the Wave file to Hex Value  to input the c header file ?

Any software?

  • Hi,

    Thanks for your post.

    I presume that, you have an audio .wav file which has raw PCM discrete samples through sampling an analog continuous signal and thereafter, through quantization, truncation and encoding the samples, it would be converted to digital data through A/D converter. Again, the digital data in binary equivalent form of original PCM audio data can be converted to its appropriate Hex. values through writing binary_to_hex routine in c code.

    You have choice to write as an intrinsic user defined function to implement the binary to hexadecimal routine conversion and appropriately define the prototype of this routine in the include file. By this way, you can directly add the include file in your main program to apply this user defined API to convert binary to hexadecimal data wherever required in the application code. In this way, you could convert the wave file to hex. value.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------