Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-15-2024, 05:14 PM   #151
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,750
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I wonder whether it would be possible to use Piper to convert an eBook to Audio?
PeterT is offline   Reply With Quote
Old 09-15-2024, 05:42 PM   #152
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,258
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
I've installed Piper and had some good laughs the other day. The batch script I'm running can feed Piper with a text file, although I've only tried it with small texts. Something like this:

Code:
 type text.txt | piper -m %selectedFile% -f voice-%selectedFile%-%dt%.wav
The laugh part was due to Ryan seemingly hallucinating while narrating this text:

Everyone kept asking you for razor blades. Actually he had two unused ones which he was hoarding up. There had been a famine of them for months past. At any given moment there was some necessary article which the Party shops were unable to supply. Sometimes it was buttons, sometimes it was darning wool, sometimes it was shoelaces; at present it was razor blades. You could only get hold of them, if at all, by scrounging more or less furtively on the ‘free’ market.

‘I’ve been using the same blade for six weeks,’ he added untruthfully.

The queue gave another jerk forward. As they halted he turned and faced Syme again. Each of them took a greasy metal tray from a pile at the edge of the counter.

‘Did you go and see the prisoners hanged yesterday?’ said Syme.

‘I was working,’ said Winston indifferently. ‘I shall see it on the flicks, I suppose.’

‘A very inadequate substitute,’ said Syme.

His mocking eyes roved over Winston’s face. ‘I know you,’ the eyes seemed to say, ‘I see through you. I know very well why you didn’t go to see those prisoners hanged.’ In an intellectual way, Syme was venomously orthodox. He would talk with a disagreeable gloating satisfaction of helicopter raids on enemy villages, the trials and confessions of thought-criminals, the executions in the cellars of the Ministry of Love. Talking to him was largely a matter of getting him away from such subjects and entangling him, if possible, in the technicalities of Newspeak, on which he was authoritative and interesting. Winston turned his head a little aside to avoid the scrutiny of the large dark eyes.


I wanted to see how the different voices available in Calibre would handle the same text, so this script made a wave file with each one of them. I was interested especially in the paragraph ‘Did you go and see the prisoners hanged yesterday?’, to see how the interrogation would sound in each voice.

Enter Ryan... (i've attached ryan's and libritts narrations)
Attached Files
File Type: zip testing_piper.zip (5.98 MB, 29 views)

Last edited by Comfy.n; 09-15-2024 at 05:58 PM.
Comfy.n is offline   Reply With Quote
Advert
Old 09-15-2024, 05:45 PM   #153
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by PeterT View Post
I wonder whether it would be possible to use Piper to convert an eBook to Audio?
I've opened a thread in the calibre Development forum.
jackie_w is offline   Reply With Quote
Old 09-15-2024, 05:52 PM   #154
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,258
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by jackie_w View Post
At first glance it seems the underlying calibre code for the Windows SAPI speech engine, which was essential for this plugin, has been removed [...]
I've spotted this line earlier today on a Calibre debug log I generated on v7.18:

ModuleNotFoundError: No module named 'calibre_extensions.winsapi'

Last edited by Comfy.n; 09-15-2024 at 05:55 PM.
Comfy.n is offline   Reply With Quote
Reply

Tags
calibre, mp3, neural, tts, voices


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] TTS - Windows TTS output plugin Doitsu Plugins 12 05-18-2018 10:43 PM
How to install "incompatible" apps to Boox M96+T68. IVONA TTS, ACAPELA TTS etc. Booxtor Onyx Boox 24 04-19-2017 06:08 AM
which one you will prefer an audiobook or tts webroot Audiobook Discussions 4 08-06-2015 04:40 PM
E-ink device with TTS/audiobook integration verona Which one should I buy? 21 05-15-2013 07:11 PM
GUI Launcher greyed out when TTS is on and does not come back when TTS is off jmseight Kindle Developer's Corner 4 07-28-2012 03:48 AM


All times are GMT -4. The time now is 08:03 PM.


MobileRead.com is a privately owned, operated and funded community.