💾 Archived View for tilde.pink › ~denn › posts › Jan2621.gmi captured on 2022-04-29 at 11:36:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

➡️ Next capture (2023-01-29)

-=-=-=-=-=-=-

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 SoX to make ocean surf sounds. It's super simple, lag free, etc.

play -n synth brownnoise synth pinknoise mix synth 0 0 0 10 10 40 trapezium amod 0.1 30

And best of all, I checked and discovered that SoX is available as a Termux package, which covers most android devices, so you can take this wherever you can go with an android device. A quick test shows it works just fine on my Samsung phone. Also seems to work on my Kindle Fire HD, but very very quietly, for some reason. Might have to poke at it more though.