Skip to Content.
Sympa Menu

emacspeak - Re: [Emacspeak] Noob Question: getting swift-mode to work with Emacspeak

Subject: Emacspeak discussion list

List archive

Re: [Emacspeak] Noob Question: getting swift-mode to work with Emacspeak


Chronological Thread 
  • From: Jerry Sievers <gsievers19 AT comcast.net>
  • To: "Arkadiusz" (via emacspeak Mailing List) <emacspeak AT emacspeak.net>
  • Cc: Arkadiusz <nuno69a AT gmail.com>
  • Subject: Re: [Emacspeak] Noob Question: getting swift-mode to work with Emacspeak
  • Date: Mon, 07 Jul 2025 19:18:07 -0500

"Arkadiusz" (via emacspeak Mailing List) <emacspeak AT emacspeak.net>
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 AT emacspeak.net
> To unsubscribe send email to:
> emacspeak-request AT emacspeak.net with a subject of: unsubscribe



Archive powered by MHonArc 2.6.19+.

Top of Page