OPNA2608 / libopenpmd

Open-Source library to parse PMD files.
GNU Lesser General Public License v3.0
17 stars 1 forks source link

Document PZI0 bank format #4

Open OPNA2608 opened 3 years ago

OPNA2608 commented 3 years ago

Current documentation only refers to PZI1: https://github.com/OPNA2608/libopenpmd/blob/f8720d08353486b9cf237db66e3f13b2a71ad4ae/docs/pzi.txt#L5-L6

The bank piano.pzi included in the freeware version PMD48O_F.LZH, subarchive ppz8_sam.lzh contains a PPZ bank with the magic number PZI0. Haven't checked yet how those formats differ, but e.g. PZIUTYMX refuses to handle PZI0 banks.

OPNA2608 commented 3 years ago

I've only seen 2 examples of PZI0 banks and both seemed to be identical in structure to PZI1 banks, safe for the magic number.

It's possible that there are some never-used (/seen) settings hiding in those 28 null bytes? But the likely explanation might be that PZI0 was a WIP version of PZI1 which was so feature complete around the time people started using it that the author just bumped the internal identifier up to PZI1. At least, that what it looks like to me.