View Single Post
Old 10-30-2024, 03:31 AM   #1
msypkenssmit
Junior Member
msypkenssmit began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2024
Device: Kobo Libra Colour
Support for audio overlays with Read Aloud?

According to this article EPUB3 audio overlays should be supported in the latest Calibre:
https://www.omgubuntu.co.uk/2023/12/...dio-epub-notes
I cannot find it confirmed so clearly on Calibre's website though. Is it supported?

I could not get it to work yet, but everything suggests that it should work. The only thing not working is the audio coming through.

I have tried it with this Audio-ebook here:
https://www.readbeyond.it/ebooks/b7b497df.html
See attached picture: a bar appears, Calibre is highlighting the sentences, but I hear no sound.
With another Audio-ebook I get the same.

When I try Read Aloud with a regular ebook, without embedded audio, then I do hear audio. See the other attached screenshot. Now the bar appears at the right top instead of the bottom center. It has an extra icon to configure the voices.

So:
1) Are EPUB3 audio-ebooks supposed to work?
2) If yes, how do I get audio? What can I try to debug the issue?
I have already run with 'calibre-debug -w <bookname>.epub' but there are no prints related to audio:
Code:
QPA platform: xcb
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 81.55183946488295 x 81.64285714285714
ApplicationPaletteChange event ignored
Using calibre Qt style: True
Path override failed for key base::DIR_APP_DICTIONARIES and path '/home/matthijs/calibre-bin/calibre/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/home/matthijs/calibre-bin/calibre/libexec/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/home/matthijs/calibre-bin/calibre/libexec/qtwebengine_dictionaries'
[0.000] Load of book started
[0.002] prepared emitted
[0.040] webview loading requested
[0.186] bridge ready
[0.317] iframe ready
[0.417] loading finished
Path override failed for key base::DIR_APP_DICTIONARIES and path '/home/matthijs/calibre-bin/calibre/libexec/qtwebengine_dictionaries'
Attached Thumbnails
Click image for larger version

Name:	Calibre_highlights_audio_but_no_sound.png
Views:	154
Size:	30.2 KB
ID:	211742   Click image for larger version

Name:	Calibre_uses_TTS.png
Views:	163
Size:	37.9 KB
ID:	211743  
msypkenssmit is offline   Reply With Quote