arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10735cs.SDcs.AIcs.CL
收藏

Calliope:基于TTS的有声电子书创建器,确保精确同步、隐私和布局保真

Calliope: A TTS-based Narrated E-book Creator Ensuring Exact Synchronization, Privacy, and Layout Fidelity

Oslo Metropolitan University(奥斯陆 Metropolitan 大学);SimulaMet(SimulaMet 研究所)

Hugo L. Hammer, Vajira Thambawita, Pål Halvorsen

AI总结:

Calliope是一个开源框架,利用先进TTS技术将文本电子书转换为高质量有声电子书,确保精确同步、隐私保护和布局保真。

摘要:

有声电子书结合同步音频与数字文本,突出当前朗读的词语或句子。这种格式支持早期识字能力发展,并帮助有阅读困难的人群,同时允许普通读者无缝切换阅读与听读。随着自然语音神经文本到语音(TTS)技术的出现,已开发出几种商业服务利用这些技术将标准文本电子书转换为高质量的有声电子书。然而,目前尚无开源解决方案能够执行此任务。在本文中,我们介绍了Calliope,一个开源框架,旨在填补这一空白。我们的方法利用最先进的开源TTS将文本电子书转换为EPUB 3媒体叠加格式的有声电子书。该方法提供了几个创新步骤:在TTS过程中直接捕获音频时间戳,确保叙述与文本高亮之间的精确同步;严格保留出版商的原始字体、样式和嵌入媒体;整个流程在本地运行。这种本地化能力消除了重复的API费用,缓解了隐私问题,并避免了与基于云的服务相关的版权合规问题。该框架目前支持最先进的开源TTS系统XTTS-v2和Chatterbox。一种潜在的替代方法是首先通过TTS生成叙述,然后通过强制对齐将其与文本同步。然而,尽管我们的方法确保了精确同步,但我们的实验表明,强制对齐导致音频与文本高亮之间有足够大的漂移,足以降低阅读体验。源代码和使用说明可在https://github.com/hugohammer/TTS-Narrated-Ebook-Creator.git上找到。

英文摘要:

A narrated e-book combines synchronized audio with digital text, highlighting the currently spoken word or sentence during playback. This format supports early literacy and assists individuals with reading challenges, while also allowing general readers to seamlessly switch between reading and listening. With the emergence of natural-sounding neural Text-to-Speech (TTS) technology, several commercial services have been developed to leverage these technology for converting standard text e-books into high-quality narrated e-books. However, no open-source solutions currently exist to perform this task. In this paper, we present Calliope, an open-source framework designed to fill this gap. Our method leverages state-of-the-art open-source TTS to convert a text e-book into a narrated e-book in the EPUB 3 Media Overlay format. The method offers several innovative steps: audio timestamps are captured directly during TTS, ensuring exact synchronization between narration and text highlighting; the publisher's original typography, styling, and embedded media are strictly preserved; and the entire pipeline operates offline. This offline capability eliminates recurring API costs, mitigates privacy concerns, and avoids copyright compliance issues associated with cloud-based services. The framework currently supports the state-of-the-art open-source TTS systems XTTS-v2 and Chatterbox. A potential alternative approach involves first generating narration via TTS and subsequently synchronizing it with the text using forced alignment. However, while our method ensures exact synchronization, our experiments show that forced alignment introduces drift between the audio and text highlighting significant enough to degrade the reading experience. Source code and usage instructions are available at https://github.com/hugohammer/TTS-Narrated-Ebook-Creator.git.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑