Is there a project that is jovie successor? (fwd)
Gustav Degreef
gustav97 at gmail.com
Sun Oct 31 20:51:45 GMT 2021
English US 5 voices plus default at end - all sound normal, no
duplication. English UK and English Seychelles, both one voice each,
both sound normal no duplication. Gustav
On 10/31/21 7:25 PM, Jeremy Whiting wrote:
> Hi Gustav,
>
> No it's not meant to save any settings, etc. I was just wondering
> about using it as a way to exercise QtSpeech directly manipulating the
> voice/language like you can't do currently in KMouth or Okular. Do you
> experience the double voices with hello_speak also? Does it happen no
> matter which language or voice you select? If you choose the last
> voice on the list (should be some generic english iirc) does that
> sound right or still have the duplication overlapping issue?
>
> thanks,
> Jeremy
>
> On Sun, Oct 31, 2021 at 12:01 PM Gustav Degreef <gustav97 at gmail.com
> <mailto:gustav97 at gmail.com>> wrote:
>
> Hello Jeremy,
>
> I managed to get "hello_speak example" to work on opensuse 15.3. I
> enlisted the help of the opensuse users list. I installed
> ""libqt5-qtspeech-examples.rpm" and ran
> "/usr/lib64/qt5/examples/speech/hello_speak/hello_speak example" (it
> needed the full path to run).
>
> The default voice here is English westindies. Many languages are
> available and about six english voices. However, it does not
> save my
> selection and it does not help with the duplicate voices in Okular
> or in
> Kmouth.  I do not see any way to save the changes and the
> program seems
> only useful to hear different voices/languages. Am I missing
> something? I saw your other pst on the list, thak you. Gustav
>
>
> On 10/29/21 5:48 PM, Jeremy Whiting wrote:
> > Gustav,
> >
> > Sorry, I didn't respond yesterday. The espeak.log you sent looks
> like
> > espeak is getting text fine from kmouth and okular. I'm betting
> that
> > since kmouth and okular do not tell QtSpeech which voice to use
> it's
> > using some default that isn't ideal. Were you ever able to get
> > hello_speak example to work? With it you can select each voice that
> > QtSpeech knows about and probably see what default it's using for a
> > given language. Here when I open it on my opensuse 15.2 vm it
> starts
> > with English, but has some west indies voice as the default which
> > pronounces everything strangely. If I change it to another english
> > voice it all sounds the same as spd-say.
> >
> > So it won't be in the next release since feature freeze will be
> soon
> > or has already happened, but I'll get voice selection in at least
> > okular's settings window where you can already select between flite
> > and speechd. And do likewise for KMouth with the other improvements
> > I'll do to KMouth. I think once you're able to select a voice (and
> > language) in those just like in hello_speak it should be pretty
> > straight forward to make it sound the way you want.
> >
> > BR,
> > Jeremy
> >
> >
> > On Thu, Oct 28, 2021 at 4:50 AM Gustav Degreef
> <gustav97 at gmail.com <mailto:gustav97 at gmail.com>
> > <mailto:gustav97 at gmail.com <mailto:gustav97 at gmail.com>>> wrote:
> >
> >Â Â Â 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
> >Â Â Â <gustav97 at gmail.com <mailto:gustav97 at gmail.com>
> <mailto:gustav97 at gmail.com <mailto:gustav97 at gmail.com>>
> >Â Â Â > <mailto:gustav97 at gmail.com <mailto:gustav97 at gmail.com>
> <mailto:gustav97 at gmail.com <mailto:gustav97 at gmail.com>>>> 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
> >   >   <gustav97 at gmail.com
> <mailto:gustav97 at gmail.com> <mailto:gustav97 at gmail.com
> <mailto:gustav97 at gmail.com>>
> >Â Â Â <mailto:gustav97 at gmail.com <mailto:gustav97 at gmail.com>
> <mailto:gustav97 at gmail.com <mailto:gustav97 at gmail.com>>>
> >   >   > <mailto:gustav97 at gmail.com
> <mailto:gustav97 at gmail.com> <mailto:gustav97 at gmail.com
> <mailto:gustav97 at gmail.com>>
> >Â Â Â <mailto:gustav97 at gmail.com <mailto:gustav97 at gmail.com>
> <mailto:gustav97 at gmail.com <mailto:gustav97 at gmail.com>>>>> 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
> >Â Â Â >
> >
>
More information about the kde-accessibility
mailing list