speechd-discuss
[Top][All Lists]
Advanced

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

cxxpiper punctuation and caps, plus eloud and espeechd-el


From: DD
Subject: cxxpiper punctuation and caps, plus eloud and espeechd-el
Date: Wed, 23 Oct 2024 11:34:44 -0400

[CC: Patrick Smyth]

Interesting to me, but without me doing much about it, punctuation
modes are kind of working.  The characters for the various modes are
not configurable yet, but I'm grateful for the existing functionality!

I don't see support in spd-say for fiddling with capital mode.  I
thought about adding it to spd-say, but instead I found the speechd-el
project, which is better for me than using spd-say.  I got distracted
setting it up.  I include a simple example below and may send it in to
the speechd-el maintainer.  Patrick Smyth, who wrote "eloud" and I
have been working together for a while and I am very excited to get
speechd support into eloud if and when we can.  So speechd-el would be
a way for us to get emacs, eloud and speechd-dispatcher working
together!

No "free" support for caps mode for me, ala punctuation.  So that is
what I'm on now.  I'm mostly cribbing from espeak.  If there's a
better OM to look at please let me know.  Will have spell and sound
icon support for indicating caps.

I'm going away for a few days will be back at it on Sunday.

Thanks!
Derek

===


(require 'speechd)


(speechd--set-variable-and-reopen
 'speechd-voices
 '((sybil-cxxpiper . ((punctuation-mode . all)
                      (rate . 10)
                      (capital-character-mode . spell)
                      (output-module . "cxxpiper")))))

(speechd--set-variable-and-reopen
 'speechd-connection-voices
 '(("tryitnow" . sybil-cxxpiper)))

;; Must bind this in order to use it as a key into speechd-connection-voices.
(let ((speechd-client-name "tryitnow"))

  (speechd-set-voice "sybil-cxxpiper")
  (speechd-say-text "Hi Mom, it's me, the Commander!")
  (speechd-close-all))


;; End




reply via email to

[Prev in Thread] Current Thread [Next in Thread]