[espeak-ng:master] reported: Redesign the phonindex binary format. #github

espeak-ng@groups.io Integration <espeak-ng@...>

[espeak-ng:master] New Comment on Issue #207 Redesign the phonindex binary format.
By rhdunn:

This is for the C code at the core of espeak-ng, so I can't use the Android protocol/flat buffers. Even so, the current model is generally ok. This is about cleaning up the exising phonindex format (e.g. make the opcode atomic to allow a switch to be used on it, not the existing complex unpacking logic). That opcode change will also make it easier to support additional instructions.

I did have some ideas about creating an API to write the data. I have removed that from this issue, as I want to keep this focused on the design of phonindex. This redesign is more a refinement of the existing opcode + data model, mainly to make the reading and writing more consistent (e.g. sharing constants/values).

I'm not planning on merging the files at the moment. I may do so in the future, but this issue is just about phonindex.

Join espeak-ng@groups.io to automatically receive all group messages.