Holiday gift guide: a book for everyone on your listShop gifts
Carrier Press

Cast: free guide

How text to speech can give each character a voice

Giving each character a voice is not really a voice problem. Natural computer voices are easy to find now. The hard part is working out, line by line, who is speaking, from nothing but the printed page.

Step one: split the page into speech and narration

The program walks the book chapter by chapter, in reading order, and leaves out the front and back matter. Quotation marks, straight or curly, split each paragraph into spoken lines and narration.

Step two: find the cast

Names that sit close to speech verbs, such as said, asked and whispered, are the characters. Different forms of one name, a first name and a title, say, are folded into one person. Each character then gets a voice slot, with hints for whether the character is a man or a woman, young or old.

Cast performs a book with a narrator and a voice of its own for every character, right in your browser. The opening of every book on its shelf plays free, with no key and no account.

Open Cast

Step three: decide who says each line

A line tagged with a name is easy. A line with only she said, or no tag at all, has to be worked out from who spoke before and who is in the scene. The program records how sure it is, and when it is not sure enough, the narrator reads the line instead. A line in the wrong voice is worse than a line in the narrator's.

Why some books cast better than others

How well this works depends far more on the author than on the program. A book that tags its dialogue the conventional way, with names and said, casts very well. Literary prose that leaves its dialogue untagged is much harder, and a book with little quoted dialogue is simply read by the narrator. That is why every book in Cast says how fully it is cast.

Cast's shelf books are cast once, ahead of time, into a script that can be checked and corrected. Your own EPUBs are cast right in your browser when you add them.

More from this guide

The voices in Cast are computer voices, not recordings of narrators. Cast is made by Carrier Labs LLC.