termux

A neat trick...

I saw a nifty trick on Mastodon the other day. Someone pointed out that you can use the SoX library to generate sounds like you get from the bedside sleep aids. I’d forgotten SoX even has synthesizers, but it does. So you can use play -n synth brownnoise synth pinknoise mix synth 0 0 0 10 10 40 trapezium amod 0.1 30 to make ocean surf sounds. It’s super simple, lag free, etc.