Skip to Content.
Sympa Menu

emacspeak - Re: [Emacspeak] Some auditory icon related bugs/issues

Subject: Emacspeak discussion list

List archive

Re: [Emacspeak] Some auditory icon related bugs/issues

Chronological Thread 
  • From: Tim Cross <theophilusx AT>
  • To: "T.V Raman" <raman AT>
  • Cc: emacspeak AT
  • Subject: Re: [Emacspeak] Some auditory icon related bugs/issues
  • Date: Wed, 24 Apr 2024 08:05:56 +1000

The problematic defcustom is for emacspeak-play-program not sox-play. It
is defined as

(defcustom emacspeak-play-program
(or emacspeak-pactl sox-play)
"Play program.
Pulse: For systems running Pipewire or Pulseaudio.
sox-play: For systems using SoX as the local player.
None: For systems that rely on the speech server playing the icon."
(const :tag "None" nil)
(const :tag "Pulse" "/usr/bin/pactl")
(const :tag "SoX" "/usr/local/bin/play"))
#'(lambda(sym val)
(set-default sym val)
(cond; only 3 valid states:
((null val) (setq ems--play-args nil)) ; serve icons
((string= emacspeak-pactl val); pactl: play-sample
(setq ems--play-args "play-sample"))
((or (string= "/usr/bin/play" val); sox-play: play file
(string= "/usr/local/bin/play" val))
(setq ems--play-args "-q -v 0.4"))))
:group 'emacspeak)

"T.V Raman" <raman AT> writes:

> 1. I fixed the bug in emacspeak-preamble, later I'll likely move the
> defconst of emacspeak-icon to emacspeak.el since that is the only
> place it is used.
> 2. I'm confused as to why you hit the location issue with the play
> executable -- it's defined here:
> (defconst sox-play (executable-find "play") "Location of play")
> so the location is being detected, not hard-wired.
> I'd like to get to the bottom of that first before deciding
> what/how we need to address.
> --

Archive powered by MHonArc 2.6.19+.

Top of Page