I have an audio app and I need to read and write the COMMENT tag of WAV and M4A files. This is all I need. I had struggled for hours without success.
The closest I arrived is using com.github.goxr3plus:jaudiotagger:2.2.7
. I had success with WAV written with AudioRecord
but exception with M4A written with MediaRecorder
.
My question is: How to write the COMMENT tag on files with AudioRecord? I know how to write a WAV file using AudioRecord, including its headers, but I had failed to find a CLEAR specification, like this one for the headers.
And yet, in any case, I do not know how to add the COMMENT header for M4A files, with or without external libraries. Clues?