Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Thursday, August 26, 2010

OS X sounds on the command line

I found a couple of ways to make sounds from the command line – useful for scripts, to let you know when a long-running operation is complete:

say -v Alex "Upload complete"
say -v Vicki "Saved"
afplay /System/Library/Sounds/Submarine.aiff

Besides Alex and Vicki, there are a bunch of interesting voices you can try: Agnes, Albert, Alex, Bad News, Bahh, Bells, Boing, Bruce, Bubbles, Cellos, Deranged, Fred, Good News, Hysterical, Junior, Kathy, Pipe Organ, Princess, Ralph, Trinoids, Vicki, Victoria, Whisper, Zarvox

0 Comments:

Post a Comment

<< Home