Search code examples
audiowavcommand-line-interface

Need a way to write headers on a wav file generated by sox


I'm using sox to convert some mp3 files to wav for a project. The problem is that the software that plays the files does not have the media name for the element it is playing. I can't seem to find a win32 cli tool to read the header of the wav file and write what I need to it.

Sox will read the header but it's not showing the title of the media element that was inserted with the old software I used. I just couldnt automate it or I would have used it instead.

I have determined the info is written in either CART CHUNK section or just to the file headers. I can't figure out to write my own data there.


Solution

  • The way I was able to do this was with this project: https://github.com/JamesHeinrich/getID3