![]() |
#121 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#122 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,216
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#123 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Released preview 7.20.100 with a new tool in the editor to embed Piper TTS based audio overlays into EPUB 3 files. You can even markup different parts of the text to be read by different voices and it handles different languages automatically.
|
![]() |
![]() |
![]() |
#124 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
There's something not working for me, although the audio is correctly created and embedded in the EPUB. I get "Could not load the audio file".
I've attached some screencaps and the trimmed epub I've used to test this new feature. Also, I've added three distinct voices to the first paragraphs, but the audio created is all Ryan's, is that correct? Maybe I'm doing something incorrectly. |
![]() |
![]() |
![]() |
#125 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah looks like on windows, Qt WebEngine is unable to play m4a files. Probably missing codecs in the webengine bundle. Sigh. I forgot to test that. Stupid software patents. You should still be able to play it using the content server viewer in a browser.
I'll look at why the voice is not changing later. |
![]() |
![]() |
Advert | |
|
![]() |
#126 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Quote:
(amazing feature BTW, one which people with vision impairment will certainly appreciate) |
|
![]() |
![]() |
![]() |
#127 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This should fix the voice changes not happening:
https://github.com/kovidgoyal/calibr...7a7146897cedcc |
![]() |
![]() |
![]() |
#128 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#129 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Quote:
![]() later i'm going to do more tests, but I had chosen Alan as default voice. yet the book seems to default to the first voice I had used in the markup (cory). |
|
![]() |
![]() |
![]() |
#130 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Doesnt happen for me. I didnt choose a default voice for english so it defaulted to libritts. The non cory/ryan text was read in libritts as expected.
|
![]() |
![]() |
![]() |
#131 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Released another preview: Major features: Viewer can now play m4a audio files and in dark mode the scrollbar has improved contrast. Lots of minor bug fixes as well.
|
![]() |
![]() |
![]() |
#132 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#133 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,216
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
![]() Now, about the audio overlay. I noticed two things: 1) Some short sentences (one or two words) tend to get a wrong audio markup. Example: HTML: Code:
<p class="texto"><span id="cttsw-33">– Claro. </span><span id="cttsw-34">Eu tenho passagem pela prisão, então se algum crime tiver sido cometido, eu devo ser a responsável.</span></p>
Code:
<par id="par-33"> <text src="74.xhtml#cttsw-33"/> <audio src="74.xhtml.m4a" clipBegin="00:01:28.61" clipEnd="00:01:28.549"/> </par> 2) In the OPF, the 'media:duration' property is only set for the last smil file. The read aloud works just fine in calibre, but I don't know if this could cause an error on other reading devices. |
|
![]() |
![]() |
![]() |
#134 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#135 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,216
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
2) The 'time:duration' property is now set for every smil file and for the total duration (although EPUBCheck still complains that the total duration doesn't add up for the sum of all clips' durations; if I remember correctly, the tolerance is 1 sec.) |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dockerise multiple Calibre releases for plugin development | wolf123 | Related Tools | 1 | 02-06-2021 03:12 AM |
[Q] How can I check for new releases in a series in calibre or goodreads? | lambstone | Kobo Reader | 1 | 09-09-2016 12:04 AM |
CC B4.0.X beta (all releases) | chaley | Calibre Companion | 41 | 07-21-2015 06:53 AM |
CC beta releases 3.4.4j, 3.4.4k, 3.4.4l | chaley | Calibre Companion | 33 | 10-21-2014 06:19 AM |
dotReader releases first public beta | Alexander Turcic | Reading and Management | 4 | 11-23-2006 01:40 AM |