spectre.console icon indicating copy to clipboard operation
spectre.console copied to clipboard

Sounds

Open RealDotNetDave opened this issue 2 years ago • 3 comments

It would be beneficial to add a new feature to play sounds with spectre.console. For example, sounds for prompts, errors, success, etc.

Many thanks for considering my request.


Please upvote :+1: this issue if you are interested in it.

RealDotNetDave avatar Feb 16 '23 18:02 RealDotNetDave

Could you elaborate a bit on what you mean with sound? Do you mean something like emitting ASCII BEL or functionality for playing audio files?

patriksvensson avatar Feb 16 '23 19:02 patriksvensson

Right now, just similar to the Console.Beep command. Using different frequencies for sounds. Audio files would be nice too.

RealDotNetDave avatar Feb 22 '23 23:02 RealDotNetDave

Windows terminal since Preview v1.15.186 (https://github.com/microsoft/Terminal/pull/13208) version supports the DECPS escape sequence, which allows you to play sound. (https://vt100.net/emu/ctrlseq_dec.html) If possible, the implementation I think should support both the Console.Beep() and the DECPS escape sequences.

webmaster442 avatar Mar 10 '23 08:03 webmaster442