View Single Post
Old 09-06-2024, 03:50 PM   #80
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,228
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
Piper is *very* CPU intensive I don't think its appropriate to expose it via the server as doing so could lead to the server being DOSed very easily. Just two people using it at the same time would saturate the CPU of most servers.
I was monitoring the CPU activity and that's what I saw: there is a peak in CPU usage during about 10-20 seconds (in my case, piper.exe was using 50% of my CPU), then it drops to 0% and stays there. Anytime you click on a new paragraph, pause, or make any configuration change, the peak happens again, but after that it always seat at 0%. Is that expected or maybe the peak repeat itself after sometime (something related to the cache size)?

Quote:
Originally Posted by kovidgoyal View Post
If a sentence is too long it is split up that is probably the cause of your last word not being selected, this is done so that audio starts playing asap.
The weird part is that it is always the last word, never more. It happens even with quite small sentences (10 words or so).

Quote:
Originally Posted by kovidgoyal View Post
1) There is no UI for it, but you can just go in to the calibre cache directory and delete the piper folder or the voice .onnx files inside it, they have proper filenames.
I think it would be good if there was a button to clear a downloaded voice.

Quote:
Originally Posted by kovidgoyal View Post
2) The voice is chosen based on calibre UI language not book language. I'm not really a fan of having the voice changed automatically based on book language, but maybe an option for it. SOmeday if I am bored, or a patch is welcome.
Yes, an option on the dropdown menu would be the best approach, so it is not forced on anyone. I hope you get bored soon enough.
thiago.eec is offline   Reply With Quote