I'm reading the specification and implementing it in my emulator.
I notice that about the IGEN/IMOD chunks it is said:
The size of the IMOD sub-chunk in bytes will be equal to ten times the terminal instrument’s wModNdx plus ten and the
size of the IGEN sub-chunk in bytes will be equal to four times the terminal instrument’s wGenNdx plus four
Don't they mean wInstGenNdx and wInstModNdx instead of wGenNdx and wModNdx? Also, how are the instruments (I??? blocks) linked to the presets (P???) blocks?
Edit: Found the information after searching further down the document: The Instrument (41) and sampleID (53) generators point to the correct samples and instruments to use. Is this correct?