Max For Live Device File Format

Ralf Waspe's icon

If I open a amxd file with a text editor I can see a short binary section at the start, followed by a large block of JSON (like normal maxpat) and a binary block at the end.

What is the meaning of these binary blocks and can I substitute them by some ASCII entry, so that my version control system (git) does not treat the device as a binary file?

Source Audio's icon

you should not try to fiddle with the header of amxd file.
same with mxf files.

header contains info on kind of file (for amxd if midi, audio etc)
and kind of checksum, combined with few lines at the end of file.