Search code examples
audiowavsignedpcm8-bit

Convert audio to 8-bit signed PCM


I have a .mp4 audio file that I want to convert to a 8-bit unsigned PCM format for an Arduino Uno using the TMRpcm library.

It also could be a .wav file. Anyways, I have tried many things to no avail. The closest I got was with Audacity using the NIST Sphere codec. I tried to do this with FFmpeg, but it only supports demuxing NIST Sphere files. How do I convert audio to this format on Mac OS X (10.10.2)?


Solution

  • I realized that I was trying to convert a corrupt audio file. Audacity converted a valid file correctly.