[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

[Emacspeak] Re: Changing espeak pitch, accent



Hi Patrick,

Can I get the output of

sudo dpkg -L libespeak-ng-dev

?

Because that's one weird error...

- Krzysztof

On 6/5/2022 20:00, Patrick Smyth via Emacspeak wrote:
Hi Krzisztof,

After sending the last email, it did occur to me that the version might likely be out of date, and yes, I was using an ancient version 50 that came from Ubuntu repositories.

I've got the version 56 source and recompiled it. When I go to recompile the server, though, I get a C linking error.

g++ -g    -O2 -fPIC  -DPIC  -pedantic -ansi -Wall -Wno-long-long --std=c++11 -I/usr/include/tcl8.6   -c -o tclespeak.o tclespeak.cpp
tclespeak.cpp:41:10: fatal error: espeak-ng/speak_lib.h: No such file or directory
41 | #include <espeak-ng/speak_lib.h>

I've installed espeak-ng, libespeak-dev, and espeak-data from aptitude and logged back into my user and it's still not finding this file. Any tips on this? I'm on Linux Mint, which for all intents and purposes is Ubuntu LTS 20.04. Should I try installing espeak-ng from source, which seems like it will be an adventure in itself?

Thanks again.


Best,
Patrick


On Sun, Jun 5, 2022, at 6:37 PM, Krzysztof Drewniak via Emacspeak wrote:

Hi Patrick,

Just as a sanity check, which version of emacspeak are you running? And have you recompiled the espeak server since 56.0 came out? The voice selection changes are rather new.

I'll note that language changes don't require a server restart.

- Krzisztof

On 6/5/2022 17:28, Patrick Smyth via Emacspeak wrote:
Hi Krzysztof,

Thanks for the quick and considerate reply. I evaluated the 

(dtk-set-language "en-us:victor")

_expression_ and then restarted the speech engine with C-e C-s. It seemed to have no detectable effect on the voice. I tried a few other strings, like "en-uk" and "en-us:betty," and the voice seemed to stay the same.

Any guesses as to why the voice is not changing? Also, what is the default Espeak voice? When I use emacspeak on Windows, it uses the default espeak voice (en-us, I think), while the Emacspeak Espeak voice on my Linux Mint system seems to be off, though I'm not experienced enough to say exactly what's different.

If I can get Emacspeak to use the default voice and pitch, I probably won't need to explore setting the pitch.  

Thanks again.


Best,
Patrick

On Sun, Jun 5, 2022, at 6:13 PM, T.V Raman via Emacspeak wrote:
Krzysztof Drewniak via Emacspeak <emacspeak@xxxxxxxxxxx> writes:


Absolute pitch control will not play well 
with voice-lock, especially since pitch is one of the few parameters
that Espeak does provide for voice control. 
> Hi Patrick,
>
> If you're looking to change the "accent", you can use dtk-set-lang in
> order to change the voice variant used by espeak. For example, I use
> (dtk-set-language "en-us:victor") in my init file because I like that
> voice better.
>
> As to an absolute pitch control, I haven't added one, but I can look
> into that if you'd like me to.
>
> Yours,
>
> Krzysztof
>
> On 6/5/2022 15:12, Patrick Smyth via Emacspeak wrote:
>
>     Hi Emacspeakers,
>
>     Hope you're all having a good weekend. I wanted to ask about
>     changing the voice features like pitch and accent while using
>     Espeak with Emacspeak. It seems there's only one custom variable,
>     which sets the speaking rate. I've been playing around overwriting
>     some functions in the espeak-voices.el, though that doesn't seem
>     like a particularly efficient way to set options. I've searched on
>     this list, and it seems that there's been some discussion of
>     providing a user API for this, but I didn't find much that's
>     actionable. Any guidance here would be appreciated.
>
>     Best,
>     Patrick
>
> _______________________________________________
> Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
> To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
>
>
> _______________________________________________
> Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
> To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
>

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♈ Id: kg:/m/0285kf1  🦮
_______________________________________________
Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx



_______________________________________________
Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx

_______________________________________________
Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx


Attachments:


_______________________________________________
Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx

Attachment: OpenPGP_0x2A1423082388E924.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature.sig
Description: PGP signature



|May 1995 - Last Year|Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page