Re: Is there a project that is jovie successor? (fwd)
Gustav Degreef <[email protected]> Thu, 28 Oct 2021 12:50:35 +0200
| Newsgroups | gmane.comp.kde.devel.accessibility |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------0321FD204065BF7D579BE360 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Jeremy,  Yes, correct - So just to confirm the mary had a lamb lines sound fine on the speaker/headphones but the larger text from pdf via okular still sounds .... as if there are .. (2 things) being said at the same time? I created the file testfile.txt and put the exact content you speicified and ran "cat ./testfile.txt | spd-say -x -e". The output was one voice, perfectly clear, the entire text content without mistake or hiccup. Since Kmouth has the exact same issue as Okular, I copied the same exact text as in testfile.txt (without your commands) and had Kmouth read it out. Same 2 streams as in Okular. I'm attaching the sdlogs as a zip (I deleted the old logs and logged out first befoe running kmouth). HTH. Thanks, Gustav On 10/27/21 9:48 PM, Jeremy Whiting wrote: > Hi Gustav, > > That looks a lot more interesting. So just to confirm the mary had a > lamb lines sound fine on the speaker/headphones but the larger text > from pdf via okular still sounds strange or as if there are multiple > things being said at the same time? > > I don't see much difference between the 2, I tried sending longer text > through okular here and got some weird different accent somehow, but > see similar things in espeak.log about it selecting en+0 like you have > there. I think it's possible espeak is switching languages for some > reason, maybe when it gets non utf8 text like the character between > the copyright symbol "Authors ... Contributions" but I tried having > spd-say read just that and it read it fine. > > I then put a whole block of text from your log like this into a > testfile.txt and use this to read: > > testfile.txt contents: > <speak>Statement of Ethics > Written informed consent was obtained from the patient for > publication of this case report and any accompanying images.<mark > name="__spd_0"/> > Authorsâ–¡~@~Y Contributions > Elena Rudakova was the primary physician who treated the > patient and who obtained and analyzed the data for the study.<mark > name="__spd_1"/> > Seema Mahesh analyzed the data, wrote the manuscript, and > obtained the references.<mark name="__spd_2"/> George Vithoulkas was > the guide, > final approver, and guarantor of the work.<mark name="__spd_3"/> All > authors have > read and approved the final version of the manuscript.<mark > name="__spd_4"/> > Acknowledgements > The authors are thankful to Aishwarya Madhusudhan for the > technical support.<mark name="__spd_5"/> > </speak> > > cat ./testfile.txt | spd-say -x -e > > -x makes it parse the <speak> and <mark> tags, etc. and -e makes it > read text given from standard input that cat is giving it. > > When I tried that here it read about a line, then got an assertion. > > From my espeak.log here: > > Wed Oct 27 13:28:19 2021 [333272]: Espeak: module_speak(). >  Wed Oct 27 13:28:19 2021 [333297]: Espeak: Requested data: > |publication of this case report and any accompanying images.<mark > name="__spd_0"/><mark name="__spd_0"/> > | 0 105 >  Wed Oct 27 13:28:19 2021 [384129]: Espeak: Leaving module_speak() > normally. >  Wed Oct 27 13:28:19 2021 [385487]: Espeak: Playback semaphore on. >  Wed Oct 27 13:28:19 2021 [385499]: Printing reply: 701 BEGIN > >  Wed Oct 27 13:28:19 2021 [385509]: Printed >  Wed Oct 27 13:28:19 2021 [385518]: Espeak: Sending 51283 samples > to audio. >  Wed Oct 27 13:28:20 2021 [878168]: CMD: <STOP > > >  Wed Oct 27 13:28:20 2021 [878194]: Espeak: module_stop(). >  Wed Oct 27 13:28:20 2021 [878217]: Espeak: stopping... >  Wed Oct 27 13:28:20 2021 [878237]: CMD: <QUIT > > >  Wed Oct 27 13:28:20 2021 [878278]: Espeak: Stop or pause semaphore on. >  Wed Oct 27 13:28:20 2021 [878299]: Espeak: Stopping audio. > Assertion 'pthread_mutex_destroy(&m->mutex) == 0' failed at > pulsecore/mutex-posix.c:83, function pa_mutex_free(). Aborting. > > I think espeak is having issues with the longer text given from okular. > > I took a quick look at using espeak-ng on opensuse 15.2, but that > doesn't seem to be possible, nothing is providing sd_espeak-ng > speech-dispatcher module from the available packages which would be > needed to use espeak-ng instead of espeak. > > If you create a text file like above and cat it into spd-say -x -e > like above does it duplicate then also? > > BR, > Jeremy > > On Wed, Oct 27, 2021 at 10:41 AM Gustav Degreef <[email protected] > <mailto:[email protected]>> wrote: > > Sorry Jeremy. I rushed the previous response and did not see > the last > part regarding the Debug 1. Yes, I had to change the Debug from 0 > to 1. > I rebooted to make sure both espeak and speech-dispatcher used the > updated config files. I had spd-say speak 3 sentences and > I had Okular > read 1/2 page of a pdf three times, just in case. Here are the > zipped > logs. I deleted the old logs before rebooting. Thanks for > your patient > efforts, Gustav. > > On 10/26/21 8:00 PM, Jeremy Whiting wrote: > > Gustav, > > > > Yeah, I think the missing bits were the Debug 1 in espeak.conf > file. I > > had that here but forgot to mention it originally. Also, the extra > > details are in the espeak.log not speech-dispatcher.log it > seems. The > > one you sent was empty, but that's probably because of the missing > > Debug 1 in there. Once that's in place it should give a bunch of > this > > kind of details. > > > > thanks, > > Jeremy > > > > On Tue, Oct 26, 2021 at 11:41 AM Gustav Degreef > <[email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > > >   Hi Jeremy, > > > >   I did EXACTLY as you said when I sent you the zip > file. When I > >   first > >   edited the .conf file, there was no output to the > logs, so I rebooted > >   the system (I did not know how to re-start the > deamon). No clue > >   why the > >   output you expected is not there.  So now I > did the same thing > >   again, > >   but I had Okular read two separate long instnaces > and then had > >   spd-say a > >   whole sentence twice. Here is the single > log file (I did not > >   delete the > >   old log file, so I figure the new info has been > appended. Gustav > > > >   On 10/26/21 7:03 PM, Jeremy Whiting wrote: > >   > Gustav, > >   > > >   > I see speech dispatcher itself started and ended > a couple of > >   times in > >   > there, but I don't see what text it was sent to > synthesize. Did you > >   > try spd-say "Hello" or trying with okular to > speak some document > >   or a > >   > page? I was hoping to see something like this: > >   > > >   > Tue Oct 26 09:31:25 2021 [617497]: Espeak: Stop > or pause thread > >   > starting....... > >   >  Tue Oct 26 09:31:25 2021 > [636516]: CMD: <SET > >   > > > >   >  Tue Oct 26 09:31:25 2021 > [636587]: CMD: <SPEAK > >   > > > >   >  Tue Oct 26 09:31:25 2021 > [636617]: Espeak: module_speak(). > >   >  Tue Oct 26 09:31:25 2021 > [636627]: Espeak: Requested data: > >   > |<speak>hello</speak>| 0 20 > >   >  Tue Oct 26 09:31:25 2021 > [636637]: Espeak: > >   set_language_and_voice en 1 > >   >  Tue Oct 26 09:31:25 2021 > [636647]: Espeak: > >   set_language_and_voice > >   > name=en+0 > >   >  Tue Oct 26 09:31:25 2021 > [636840]: Espeak: Successfully set > >   voice to > >   > "en+0" > >   >  Tue Oct 26 09:31:25 2021 > [636850]: Espeak: > >   set_language_and_voice en 1 > >   >  Tue Oct 26 09:31:25 2021 > [636860]: Espeak: > >   set_language_and_voice > >   > name=en+0 > >   >  Tue Oct 26 09:31:25 2021 > [636973]: Espeak: Successfully set > >   voice to > >   > "en+0" > >   >  Tue Oct 26 09:31:25 2021 > [687987]: Espeak: Rate set to 170. > >   >  Tue Oct 26 09:31:25 2021 > [738788]: Espeak: Volume set to 200. > >   >  Tue Oct 26 09:31:25 2021 > [937535]: Espeak: Pitch set to 50. > >   >  Tue Oct 26 09:31:25 2021 > [987698]: Set punctuation mode. > >   >  Tue Oct 26 09:31:26 2021 > [37917]: Set capitals mode. > >   >  Tue Oct 26 09:31:26 2021 > [88426]: Espeak: Leaving > >   module_speak() > >   > normally. > >   >  Tue Oct 26 09:31:26 2021 > [88689]: Espeak: Playback semaphore on. > >   >  Tue Oct 26 09:31:26 2021 > [88729]: Printing reply: 701 BEGIN > >   > > >   > in the espeak.log but it's empty. Ah, may need to > also set > >   espeak.conf > >   > to debug like this in > /etc/speech-dispatcher/modules/espeak.conf: > >   > > >   > #Debugging > >   > Debug 1 > >   > > >   > Change the 0 to 1 if it's there, otherwise add > Debug 1 to the > >   end of > >   > the file if it's not there at all. > >   > > >   > thanks, > >   > Jeremy > --------------0321FD204065BF7D579BE360 Content-Type: application/zip; name="sdlogs.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sdlogs.zip" UEsDBBQAAgAIAGNlXFM1buGG2wYAAKUbAAAKAAAAZXNwZWFrLmxvZ61Z7W7cRBT9v08xyg8E oiQz4/nwLKUitKsqoiVVtwQhhKKJPVlb8drGHifaCiHegSeAR4E34Um4Y8eON3VjuyU/kl3Z 58y5d+49d+ygN1GFTgOLq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