Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-09-2024, 12:02 AM   #121
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by thiago.eec View Post
It doesn't seem to solve the problem. I'm still getting the same error when running from source.
https://github.com/kovidgoyal/calibr...d6aca8a5b024aa
kovidgoyal is offline   Reply With Quote
Old 10-09-2024, 08:04 AM   #122
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,216
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
This fixed it. Thanks!
thiago.eec is offline   Reply With Quote
Advert
Old 10-24-2024, 11:04 PM   #123
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 10-25-2024, 12:30 AM   #124
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,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.
Attached Thumbnails
Click image for larger version

Name:	2024-10-25 01_18_44-The girl in the crowd [EPUB] — E-book viewer.png
Views:	165
Size:	122.4 KB
ID:	211642   Click image for larger version

Name:	2024-10-25 01_17_57-The girl in the crowd [EPUB] — E-book viewer.png
Views:	178
Size:	122.5 KB
ID:	211643   Click image for larger version

Name:	2024-10-25 01_12_27-Differences between books.png
Views:	179
Size:	149.5 KB
ID:	211644   Click image for larger version

Name:	2024-10-25 01_11_48-Add Text-to-speech narration.png
Views:	159
Size:	8.5 KB
ID:	211645   Click image for larger version

Name:	2024-10-25 01_11_22-Add Text-to-speech narration.png
Views:	161
Size:	51.3 KB
ID:	211646  
Attached Files
File Type: epub The girl in the crowd - Albert Payson Terhune.epub (1.71 MB, 159 views)
Comfy.n is offline   Reply With Quote
Old 10-25-2024, 03:37 AM   #125
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-25-2024, 04:01 AM   #126
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,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by kovidgoyal View Post
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.
ah, yes. On the content server in a browser it's working fine, I just checked.

(amazing feature BTW, one which people with vision impairment will certainly appreciate)
Comfy.n is offline   Reply With Quote
Old 10-25-2024, 04:57 AM   #127
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is offline   Reply With Quote
Old 10-25-2024, 05:29 AM   #128
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The commit list for preview 7.20.100 is here.
chaley is offline   Reply With Quote
Old 10-25-2024, 11:49 AM   #129
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,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by kovidgoyal View Post
This should fix the voice changes not happening:
https://github.com/kovidgoyal/calibr...7a7146897cedcc
wheee, now I see the markup working, third voice in the attached audio is my custom "lessac" (GlaDOS)

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).
Comfy.n is offline   Reply With Quote
Old 10-26-2024, 12:17 AM   #130
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 11-01-2024, 03:36 AM   #131
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 11-01-2024, 04:40 AM   #132
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The commit list for preview 7.20.101 is here.
chaley is offline   Reply With Quote
Old 11-01-2024, 07:40 AM   #133
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,216
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
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.
Thanks a lot for the new scrollbar for dark mode.

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>
SMIL:
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>
Notice the 'clipBegin' and 'clipEnd' timings. Because of this, the sentence is not highlighted when reading aloud in the viewer (and stops highlighting altogether in ADE).

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.
thiago.eec is offline   Reply With Quote
Old 11-01-2024, 09:37 AM   #134
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@thiago: https://github.com/kovidgoyal/calibr...91f84aedc51610
kovidgoyal is offline   Reply With Quote
Old 11-01-2024, 02:00 PM   #135
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,216
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
1) Some of the negative durations were corrected, but not all. I'm still getting this error for some short sentences.

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.)
thiago.eec is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:44 PM.


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