It would have to be coded into the ebook. It would be beyond existing parsing for a text to speech to do much more than dialogue and narration. Even that would fail with Angela Thirkell and some others.
I did do a markup language for screen-play-scripts for an animation engine for sprite actions and dialogue in the late 1990s. It's likely some some game engine frameworks support it, so it can be already done as an app for iOS and Android, but not as a standalone ebook.
|