The next 4 bytes are the total size of the file in bytes, little endian format.
The next 4 bytes is the ‘MBKS’ string.
This is followed by one or many chunks. Each chunk consists of a 4 chars identifier, a 32-bit integer
indicating the size N of the “payload” data, and N bytes of “payload” data. Two types of chunk are
chunk is always 16 bytes long and contains the name of the object (multi, patch,
program…) stored in the file. The 16th byte must be a null character ; and the name must be padded
chunk contains data that will be copied into one of Ambika’s internal data structures. It
A byte indicating the data structure (1: Patch, 2: PartData.sequence_data, 4: MultiData, 5:
A byte indicating the part number the data must be loaded into (0: current part or global, 1: part
Olivier Gillet, Mutable instruments SARL 2011-2017. Except where otherwise noted, content on
this site is licensed under a cc-by-sa 3.0 license.
Ambika – User manual | Mutable Instruments http://mutable-instruments.net/ambika/manual
44 of 44 2/17/17 4:58 PM