Thanks Jerry.
Arkadiusz, that’s pretty much the syntax. You can then experiment with various voices. If you look into SwiftMac source directory, you will find there is a SWIFT script that will allow you to list all the voices available on your system along with their identifiers.
> On Jul 7, 2025, at 5:18 PM, Jerry Sievers (via emacspeak Mailing List) <emacspeak@xxxxxxxxxxxxx> wrote:
>
> "Arkadiusz" (via emacspeak Mailing List) <emacspeak@xxxxxxxxxxxxx>
> writes:
>
>> Ni hao,
>> As I wrote in my introduction E-Mail I am an iOS/MacOS developer and I
>> use Swift to make my remarkably buggy apps. I found that I can install
>> swift-mode from within Emax. I did install it, but legendary
>> Emacspeak's audio syntax highlighting doesn't work. No matter if I am
>> in function, statement, I write correct or incorrect code, everything
>> is spoken in the same kind of voice.
>> Does the developer of Emacspeak need to rewrite every plugin to make it support this feature or I need to configure something?
>> I am using Emacs for less than a day so please, bear with me.
>
> Greetings and welcome.
>
> I recall wondering why SwiftMAc driver was not doing any voice lock
> but then upon browsing the docs somewhere (github maybe) I found the
> below... put it into my init.el file and it works.
>
> ; examples of messing with voices
> (swiftmac-define-voice voice-bolden " [{voice en_US:Fred}] [[pitch 0.8]] " )
> (swiftmac-define-voice voice-animate " [{voice en-US:Kit}] [[pitch 1]] " )
> (swiftmac-define-voice voice-animate-extra " [{voice en-US:Kit}] [[pitch 1.5 ]] " )
> (swiftmac-define-voice voice-lighten " [{voice en-AU:Matilda}] [[pitch 1]] " )
> (swiftmac-define-voice voice-lighten-extra " [{voice en-AU:Matilda}] [[pitch 1.1]] " )
> (swiftmac-define-voice voice-smoothen " [{voice en-UK:Daniel}] [[pitch 1]] " )
> (swiftmac-define-voice voice-monotone " [{voice en-US:Eddy}] [[pitch 1]] " )
> (swiftmac-define-voice voice-monotone-extra " [{voice en-US:Eddy}] [[pitch 1.5]] " )
>
> FWIW, speech performance and reliability is somewhat reduced for
> certain types of content and I am in the habit of temporarily
> disabling voice-=lock at times, but it's generally nice to have it all
> enabled by default.
>
> Good luck!
>
>>
>> Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
>> To unsubscribe send email to:
>> emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
> Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
> To unsubscribe send email to:
> emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
|Full archive May 1995 - present by Year|Search the archive|
If you have questions about this archive or had problems using it, please contact us.