If you are a fan of the command-line interface and want to enjoy your favorite tunes without leaving the terminal, you might be interested in some of the terminal-based music players available for Mac OS X. In this article, we will introduce you to three of them: namp, musikcube and cmus.
namp is a terminal-based MP3 player for Linux and macOS, implemented in C++ / Qt. It has a simple and intuitive interface that displays the playlist, the current track information and the playback controls. You can use keyboard shortcuts to navigate and control the player, such as z for previous track, x for play, c for pause, v for stop, b for next track and q for quit. You can also use / or j to find tracks, + or - to adjust the volume, left or right to skip or fast forward, home or end to go to the top or bottom of the playlist, enter to play the selected track and tab to toggle between the main window and the playlist. namp also supports last.fm scrobbling and shuffle mode.
To install namp on Mac OS X, you need to have brew installed. Then you can run the following commands:
brew install ncurses taglib gnu-sed qtTo run namp, you can use the following syntax:
namp OPTIONFor example, you can run namp /Music to play all files in your Music folder, or namp hello.mp3 to play a specific file. You can also use namp -h to see the help message.
musikcube is a cross-platform terminal-based music player, music management application and a music server. It is open source and available for Windows, Mac OS X, Linux and as an Android app that acts as a client which connects to the desktop server. It has a user-friendly interface that categorizes your library by albums, artists and genres. You can use the search bar at the top of the window to find a specific track, artist or album. You can also use keyboard shortcuts to switch between views and control the playback, such as 1-5 for different views, tab or arrow keys for navigation, enter or double-click for playing a track, space for pausing or resuming a track, z,x,c,v,b for playback controls and q or esc for quitting. musikcube also supports replay gain, gapless playback, shuffle mode and visualizers.
To install musikcube on Mac OS X, you need to have brew installed. Then you can run the following command:
brew install musikcubeTo run musikcube, you can simply type musikcube in your terminal.
cmus is another terminal-based music player that supports various formats such as MP3, FLAC, Ogg Vorbis, Opus, WavPack and more. It has a modular design that allows you to use different user interfaces such as ncurses (default), readline or rofi. It also has a powerful command-line interface that lets you perform various actions such as adding tracks to the library or playlist, filtering tracks by genre or artist, sorting tracks by title or duration, seeking within tracks, adjusting volume and more. You can also use keyboard shortcuts to control cmus, such as c for play/pause, x for stop, z/b for previous/next track, v/V for volume up/down and q/Q for quit/save.
To install cmus on Mac OS X, you need to have brew installed. Then you can run the following command:
brew install cmusTo run cmus, you can simply type cmus in your terminal.
In this article, we have shown you how to
51082c0ec5