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: Arkadiusz <nuno69a AT gmail.com>
  • To: Victor Tsaran <vtsaran AT gmail.com>
  • Cc: Jerry Sievers <gsievers19 AT comcast.net>, Emacspeaks <emacspeak AT emacspeak.net>
  • Subject: Re: [Emacspeak] Noob Question: getting swift-mode to work with Emacspeak
  • Date: Tue, 8 Jul 2025 08:22:02 +0200

Hi Victor,
The one thing I don't understand is whether I can adjust other parameters or
onlyh pitch. I have an idea for a system where all pitch, volume and rate
play a role.

> On 8 Jul 2025, at 7:42 AM, Victor Tsaran <vtsaran AT gmail.com> wrote:
>
> 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 AT emacspeak.net> wrote:
>>
>> "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
>> 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