| 
			
			 | 
		#1 | 
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 569 
				Karma: 32228 
				Join Date: Feb 2012 
				
				
				
				Device: Onyx Boox Leaf 
				
				
				 | 
	
	
	
		
		
			
			 
				
				[Content Server Reader] Read Aloud issue
			 
			
			
			Dear Kovid, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	On my mobile (Chrome, Android 11), I hit the Read aloud, a popup window appears, saying "Error: Speaking failed An error has occurred with speech synthesis: synthesis-failed." I remember it worked before, when you first intro this feature. However, if I select texts (words or paragraphs) and use the Read aloud button on the action/behavior bar, it works What do you think the reason could be?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Probably it's hitting some limit on the max size of read aloud text. There have been no changes to read aloud calibre side, so likely the mobile browsers have changed.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 569 
				Karma: 32228 
				Join Date: Feb 2012 
				
				
				
				Device: Onyx Boox Leaf 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You are right. There is a limit, but the limit is 4 pages (Calibre count). I tried chapters of 4-3-2 pages, the read-aloud was ok, but not if longer than that. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Any suggestions?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			According to this: https://developer.mozilla.org/en-US/...Utterance/text 
		
	
		
		
		
		
		
		
		
		
		
		
	
	the limit is 32K characters which calibre already respects. If you can find some reference for a smaller limit, I can change it to that. Or you can experiment yourself, see the function speak_marked_text in tts.pyj  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 569 
				Karma: 32228 
				Join Date: Feb 2012 
				
				
				
				Device: Onyx Boox Leaf 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Literally I have no idea what that means.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	If Calibre can't handle this for technical reasons, I hope it will in the future. For now, I will use Reasily or Moon+ Reader to read the ebooks for me. It is not prioritized anyway. Thank you.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			That will take care of it: https://github.com/kovidgoyal/calibr...1929a1ac949496
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 569 
				Karma: 32228 
				Join Date: Feb 2012 
				
				
				
				Device: Onyx Boox Leaf 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you Kovid.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Browser reader suggestion: allow scrolling during Read Aloud | georgehuang | Viewer | 6 | 04-23-2021 01:13 PM | 
| Calibre & Moon Reader Content Server Issue | diremommy | Android Devices | 4 | 08-04-2016 02:12 AM | 
| reader for read aloud feature in epub3 | me too | ePub | 1 | 08-17-2012 03:00 AM | 
| Adobe Reader (Read-Aloud) on PE | hilaryfrompa | enTourage eDGe | 10 | 01-18-2012 05:12 PM | 
| Any Read-Aloud Apps for *Reader* (Not Tablet)? | hilaryfrompa | enTourage eDGe | 5 | 01-17-2012 12:37 PM |