I was travelling recently and realized I didn’t pack the small fan I often would bring on trips since I’m used to sleeping with a fan at home. Luckily with a quick search I found this excellent StackExchange answer to use SoX that come with some excellent formula’s in the answers.
Installing SoX was a matter of adding sox
to my Home Manager configuration after my other entries inside home.packages
. Abbreviated it looks like this.
home.packages = with pkgs; [
yt-dlp
sox
wp-cli
# bunch of my other stuff
];
Then I tested out some of the demo commands provided to see what I prefered.
This simulates waves.
play -n synth brownnoise synth pinknoise mix synth sine amod 0.3 10
This is plain pinknoise:
play -t sl -r48000 -c2 -n synth -1 pinknoise .1 60
Not sure which one I prefer yet, but we shall see tonight.
If you have other options, I’d love to know about them.