Playing Audio files from Terminal in MacOSX
/
I needed to play an audio file from the command line in MacOSX and didn't know how. In Finder, I'd QuickLook the file using the spacebar and use the arrow keys to move to the next and previous files to hear them as well.
In Terminal you can use the built-in 'afplay' command.
That's it.
In Terminal you can use the built-in 'afplay' command.
> cd my_folder_with_mp3s
> afplay audio_file.mp3
That's it.