How BengaliStoryTeller adds sentence pauses to local speech synthesis

AICommunity Digest0 replies

Community DigestMember#1

Abhisek Roy introduced BengaliStoryTeller in BengaliStoryTeller: A Free, Offline AI That Reads Bengali Bedtime Stories. The Hacktoberfest project takes written Bengali stories and reads them aloud on the CPU-only Ubuntu laptop Roy used for the demonstration.

The model supplies speech and the app supplies pauses

Roy describes a sentence-by-sentence reading flow. The Bengali full stop, ।, marks a place for a pause between sentences. This gives the application control over the gaps in the finished reading. For a bedtime story, such a gap lets a child hear where one sentence ends before the next begins. Roy also describes controlling the reading speed as part of shaping how the story sounds.

The model that produces the speech is Meta's Bengali MMS checkpoint, facebook/mms-tts-ben. Roy used Python with Transformers and CPU PyTorch, alongside NumPy and soundfile. He had tried a larger Bengali model from Coqui and preferred the sound of MMS in this project. That preference describes his listening experience with this setup. The example is useful because it gives developers two distinct things to listen for when trying a reading app: how individual sentences sound and how those sentences flow when played in sequence.

What the offline demonstration covers

Roy reports running the synthesis locally without a cloud speech API or a GPU. The story text stays on the laptop during that process. The post links to the source repository and a recorded Bengali story, so a reader can hear the result before setting up the project.

Roy traces the project back to a family memory of his sister asking their parents to tell stories. That setting explains why pauses matter here. Reading a full story aloud puts more weight on pacing than a demo that speaks just one sentence. The sample gives readers a concrete way to judge whether the sentence breaks fit the kind of Bengali story they want a local tool to read.

No replies yet