‏مجموعات Google

How about sound?


Bram Moolenaar 04/06/2019 06:08 ص
تم نشره في المجموعة: vim_dev

I have been wondering if it would help if Vim could play a sound.  Think
of a gentle "ping" to indicate the cursor can't move there, or a
"tadaa" when a background build finishes successfully.  At least I have
had times where I didn't notice something that was going on, because I
was looking in the wrong place.  Currently there only is the annoying
beep (which I usually have disabled).

I wonder how useful this would be.  It's probably a matter of taste
anyway. And it only works locally (unless there is an xterm sequence to
play a sound?).

And I wonder if it can be implemented in a way it's portable.  There are
some audio libraries floating around, but I don't expect the "-dev"
version to be installed on most systems.  Perhaps MS-Windows has
something that's always available?

Another way would be to use a system command (in the background), but
that could have some latency.

--
From "know your smileys":
 ...---...   SOS

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///