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

[Emacspeak] Auditory icons



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@xxxxxxxxxxx
(414) 248-2292








|Full archive May 1995 - present by Year|Search the archive|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page