ferfebles / redtick

Smallest emacs pomodoro timer (1 char)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no sound

jots opened this issue · comments

commented

have sox version: SoX v14.4.1

init.el has:

(use-package redtick                                                            
  :init                                                                         
  (setq redtick-play-sound t)                                                   
  (setq redtick-sox-buffer "*sox-debug*")                                       
  (setq redtick-sound-volume "1")                                               
  :ensure t)        

after starting, sox-debug has:

/usr/bin/sox FAIL repeat: usage: [count (1)]
Process sox exited abnormally with code 1

any ideas?

Are you on Windows?? In my windows computer, I need to define the AUDIODRIVER environment variable:

(use-package redtick
  :ensure t
  :config
  (setenv "AUDIODRIVER" "waveaudio")
  (setq redtick-play-sound t
        redtick-sound-volume "0.1")
  :bind ("C-c r" . redtick))

If this is not the problem, can you test the sox executable with the command line?

sox ./resources/work.wav -d vol 1.0 repeat - fade t 4 10