Re:Can brown noise turn off your brain?
by philshem on Thursday September 29, 2022 @12:11PM
(#33022695)
MacOS users can get get "play" by installing SoX (Sound eXchange)
brew install soxThanks, I should have realized searching for "play" in a package manager was going to be a poor user experience.
I think it must be installed by default in my distro.
Re:Can brown noise turn off your brain?
by ineedasername on Thursday September 29, 2022 @08:51AM
(#33019861)
Not in front of my Linux box right now, are these tools built in or part of stand repository?
Re:Can brown noise turn off your brain?
by nannal on Thursday September 29, 2022 @09:05AM
(#33020040)
It's part of SoX which may be in your repo depending on which distro you use.
These are just using the 'play' command, the aliases are just so I don't have to remember the arguments.
Play is a standard package from your package manager
They'd probably be better searching for sox, not play.
Yeah, I think we cleared that up about four hours before your comment.
Thanks!
Re:Can brown noise turn off your brain?
by disabled on Thursday September 29, 2022 @03:57PM
(#33026229)
Personally, I just use brew to install SoX on Ubuntu.
brew is a really nice package installer that works with both MacOS and Linux.
Re:Can brown noise turn off your brain?
by kzrdude on Thursday September 29, 2022 @04:18PM
(#33026542)
sox is in the default repository (for example jammy/universe). And it will be suggested as an install if you try to run play when it's not installed.
So brew, any "killer apps" on brew for linux? What's nice to get from there?
Re:Can brown noise turn off your brain?
by LoganDark on Friday September 30, 2022 @10:01AM
(#33034942)
Linuxbrew is pretty convenient for installing dependencies, especially on "stable" distributions like Debian/Ubuntu. You can install specific versions of dependencies that you want, even keep them side-by-side.
It's also distro-agnostic, so it works almost everywhere.
Looks interesting. It both says that installing without sudo is a feature, which sounds neat, and that installing into ~/.linuxbrew is an unsupported feature.
# On Linux, it installs to /home/linuxbrew/.linuxbrew if you have sudo access
# and ~/.linuxbrew (which is unsupported) if run interactively.
HOMEBREW_PREFIX_DEFAULT="/home/linuxbrew/.linuxbrew"
HOMEBREW_CACHE="${HOME}/.cache/Homebrew"
Re:Can brown noise turn off your brain?
by duncancarroll on Thursday September 29, 2022 @02:15PM
(#33024920)
Wow these are great, thank you
alias brownnoise='play -n synth brownnoise synth pinknoise mix synth sine amod 0.3 10'
It sounds like waves gently coming ashore.
I'm sure I collected it somewhere here on HN, because I don't know anything about how the command works.
Edit: I have these, too, and I like them all:
alias whitenoise='play -q -c 2 -n synth brownnoise band -n 1600 1500 tremolo .1 30'
alias pinknoise='play -t sl -r48000 -c2 -n synth -1 pinknoise .1 80'