novelWriter icon indicating copy to clipboard operation
novelWriter copied to clipboard

Text-to-speech feature

Open seongryoo opened this issue 1 year ago • 3 comments

(Description from discussion post)

When I'm writing, I like to use text-to-speech software to read aloud my drafts. I find it helpful when editing, since hearing what I've written can often reveal typos and mistakes which my eyes just skipped over. It's also just like a nice 'sanity check.' Currently, my text-to-speech workflow is to export my novelWriter project as a .pdf and then open said .pdf on Microsoft Edge to take advantage of the browser's native ReadAloud feature, which has surprisingly good voices.

I would personally find a minimal text-to-speech feature in novelWriter to be incredibly useful. For example, I think it would be amazing if you could highlight a portion of text in novelWriter and have it be read aloud, even by a really basic robotic voice.

seongryoo avatar Jul 08 '24 04:07 seongryoo

As mentioned in the discussion, my idea is to try this out with QTextToSpeech.

vkbo avatar Jul 08 '24 11:07 vkbo

(Description from discussion post)

Currently, my text-to-speech workflow is to export my novelWriter project as a .pdf and then open said .pdf on Microsoft Edge to take advantage of the browser's native ReadAloud feature, which has surprisingly good voices.

Thanks for mentioning this. My web browser of choice is Firefox, and it too has a text-to-speech feature. So I build an HTML version of my manuscript in novelWriter, open the HTML file with Firefox and press the speaker icon in the toolbar.

johnblommers avatar Jul 10 '24 05:07 johnblommers

I'll queue it up for next release, but I need to test that it actually works as expected with the QTextToSpeech implementation first. If it works, it should be fairly easy to implement.

vkbo avatar Jul 10 '24 17:07 vkbo