What to use instead of /dev/dsp to (reversibly) transition scripts to Linux?

Backwoods BC via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <CAKwdsS-v74f-n0+AnE_F8qMJ0c0G4RpVJPBP3OQpzTTdyDrpXQ@mail.gmail.com>
Microsoft is forcing me to abandon Windows because my perfectly
functional laptop isn't W11-compatible. As a result, I have literally
decades worth of scripts written for Cygwin that I need to edit to be
made compatible with Linux. I'd prefer not to lose Cygwin
compatibility, if possible, as I may be forced by some unknown evil
entity to move back to Windows some day.

The most common issue I'm going to face is what to do about /dev/dsp.
I like things to make noise so that I know what's going on without
looking so many of my scripts use /dev/dsp.

I'm also going to have to deal with the various cyg... utilities that
I use, but that is likely a much harder issue to deal with and,
fortunately, less common in my scripts.

So... recommendations, please?

Thanks... and thanks for the many, many years of not having to write
scripts in Windows BAT format!

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.