Nix: Make a noise!

less than 1 minute read

If you’re writing a script, and want it to make a noise to notify you when it’s done, look no further than SoX:

brew install sox

# Play a 400 Hz sound for 1 second.
play --null --no-show-progress synth 1 sine 400

Via Khuyen Tran.

Tags: ,

Categories:

Updated:

Comments