Subject: Emacspeak discussion list
List archive
- From: Jeff Dittel <jeff AT britlan.com>
- To: Emacspeak Mailing List <emacspeak AT emacspeak.net>
- Subject: [Emacspeak] Auditory icons
- Date: Thu, 24 Oct 2024 10:14:50 -0500
Hello,
I am trying to play an auditory icon in one of my elisp functions. Below
describes my situation:
*I did a describe variable (C-h v)
emacspeak-use-auditory-icons is a variable defined in ‘emacspeak-sounds.el’.
Its value is t
* using customize I set the following:
'(emacspeak-sounds-default-theme
"/Users/jeffdittel/emacspeak/sounds/classic/")
* In terminal, in that directory, I did:
$ which sox
/usr/local/bin/sox
$ play open-object.wav
open-object.wav:
File Size: 89.4k Bit Rate: 1.41M
Encoding: Signed PCM
Channels: 2 @ 16-bit
Samplerate: 44100Hz
Replaygain: off
Duration: 00:00:00.51
In:100% 00:00:00.51 [00:00:00.00] Out:24.3k [ | ] Hd:0.0 Clip:0
Done.
and I heard the sound
*Also, in emacs when I hit enter, cross a blank line using the arrow keys,
open a large file, I hear auditory sounds.
* I wrote the following function:
(defun play-icon ()
"play an icon"
(interactive)
(dtk-speak "playing my icon")
(emacspeak-auditory-icon 'open-object))
I hear the phrase "playing my icon" but do not hear the auditory icon
BTW, I comment out the dtk-speak line and still do not hear the icon.
What am I missing?
Thanks,
Jeff
Jeff Dittel
~~~~~~~~~~~
jeff AT britlan.com
(414) 248-2292
- [Emacspeak] Auditory icons, Jeff Dittel, 10/24/2024
Archive powered by MHonArc 2.6.19+.