I had a friend help me configure
weechat-curses, version 0.4.2 in Cygwin. Got to where I wanted to set a custom sound for highlights with beep.pl. I set the command to run on highlight to
cat /cygdrive/$path_to_wav_file > /dev/dsp. It doesn't seem to work, though, even if I set the command back to the default of
Now I was told about ogg123 being able to play sounds inside of Cygwin. I asked a similar question on the Cygwin forums and their responses were.
There was a problem with /dev/dsp in a recent release (1.7.26) of cygwin1.dll. That was fixed in version 1.7.27. http://cygwin.com/ml/cygwin-announce/2013-12/msg00009.html. Make sure that your installation is up to date.
Don't know why >/dev/dsp does not work (I get just noise), but you can use
ogg123 (ogg-vorbis) and play for example .oga-files:
That works for me on 1.7.20. It's been a while since I played with sound-output, don't know if you can play wav-files from inside cygwin at all.
How would I go about setting it with ogg123
.oga files? He mentions that
It's been a while since I played with sound-output, don't know if you can play wav-files from inside cygwin at all.
I'm using Windows 7 Professional.