Linux audio player console

Десять консольных музыкальных плейеров для Linux

Это один из лучших и самых функциональных плейеров для консоли. Он создан с использованием ncurses и имеет текстовый пользовательский интерфейс с несколькими режимами просмотра, позволяющими упорядочить вашу музыку по исполнителям/альбомам, показывать ее в виде плейлистов или библиотеки, а также просматривать файловую систему. CMus также поддерживает поисковые функции и интеграцию с Last.fm/Libre.fm с помощью скриптов. Плейер использует клавиатурные сочетания в стиле Vi.

mp3blaster

mp3blaster — один из самых популярных консольных музыкальных плейеров. Он использует ncurses, а его возможности включают группировку треков и плейлистов, режимы случайного и циклического воспроизведения.

MOC значит Music on Console и он представляет собой двухпанельный аудиоплейер с файловым браузером в левой панели и плейлистом в правой. MOC также создан на базе ncurses и поддерживает режимы случайного и циклического воспроизведения, а также регулировку уровня громкости.

Herrie

Еще один консольный аудиоплейер на базе ncurses. Herrie представляет собой минималистичный плейер, поддерживающий плейлисты, различные типы аудио файлов, включая Ogg и MP3, и переход по трекам плейлиста.

mplayer

Это mplayer, известный видео/аудио плейер и конвертер. Однако MPlayer также можно использовать в качестве аудиоплейера командной строки, и он поддерживает практически все форматы файлов, включая Ogg, FLAC, MP3 и WAV.

Разработчики расшифровывают его название как «Sound eXchange, the Swiss Army Knife of audio manipulation», то есть своеобразный универсальный швейцарский нож в области аудио. И действительно, SoX — это очень мощная программа для работы с аудиофайлами, которая может быть использована в качестве терминального аудиоплейера с помощью команды play music_file.

PyTone

Написанный на Python, PyTone представляет собой еще один консольный аудиоплейер, простой и незамысловатый. Он поддерживает форматы MP3 и Ogg.

PyRadio

Еще одна программа, написанная на Python, PyRadio, которая способна воспроизводить интернет-радио в терминале. Для ее использования скачайте архив отсюда, распакуйте его и запустите скрипт ./pyradio.

ogg123

Эта маленькая утилита командной строки включена в состав пакета vorbis-tools и способная воспроизводить форматы Ogg и FLAC. Она обладает только базовой функциональностью, но зато работает очень быстро.

mpg123

То же самое, что и ogg123, но воспроизводит формат MP3.

Источник

CMUS (C* Music Player) – A Console Based Audio Player for Linux

CMus is an open source ncursed based lightweight, fast and powerful terminal audio player for Unix/Linux like operating systems. It was released and distributed under GNU General Public License (GPL) and runs exclusively through a terminal based user interface.

CMus was designed to run on a text-only user interface, that reduces the resources required to run the application on older computers as well as systems where X window system isn’t available.

CMus application was originally developed by Timo Hirvonen, but he discontinued development around in 2008. Later it was named “cmus-unofficial” and then taken over by SourceForge in November 2008. In February 2010, it was merge into the official project named “cmus“.

Читайте также:  Windows switch between applications

Cmus Features

  1. Added support for many audio formats including MP3, MPEG, WMA, ALAC, Ogg Vorbis, FLAC, WavPack, Musepack, Wav, TTA, SHN and MOD.
  2. Faster start-up with thousands of tracks.
  3. Continuous playback and ReplayGain support.
  4. Steaming of Ogg and MP3 tracks from Icecast and Shoutcast.
  5. Strong music library filters and live filtering.
  6. Play queue and excellent compilations handling.
  7. Easy to use directory browser and customizable colors with dynamic keybindings.
  8. Added Vi style search mode and command mode with tab completion.
  9. Easily controlled via cmus-remote command (UNIX socket or TCP/IP).
  10. Runs on Unix-like systems, including Linux, OS X, FreeBSD, NetBSD, OpenBSD and Cygwin.
  11. For more core features visit THIS PAGE.

Installing CMUS Audio Player on Ubuntu/Debian and Linux Mint

To install CMus music player, open a terminal window by hitting “Ctrl+Alt+T” from the Desktop and run the following command to install it.

Sample Output

In case your package manager doesn’t provide an up to date version of cmus, you can get it from the adding following repository on your systems.

Installing CMUS Audio Player on RHEL/CentOS and Fedora

CMus audio player can be installed on Red Hat based system, using third party repository. So, let’s install and enable RPMForge repository on your systems. Once you’ve rpmforge enabled on your system, you can install using following ‘yum command‘.

Sample Output

Starting CMus

To launch first time, just type `cmus` in a terminal and press ‘Enter‘. It will start and open an album/artist view, which looks something like this.

Start CMUS Music Player

Adding Music to CMus

Open file browser view by pressing “5” and add some music. The view should be something similar to like this.

Add Tracks to CMus Music Player

Use arrow keys to select the folder and hit ‘Enter‘ to navigate to the folder where you’ve stored all audio files. To add audio files to your library, use arrow keys to select a file or folder and press ‘a‘ key, will take you down to the next line (so it’s easy to add a lots of files/folders). So, start adding files or folders by pressing ‘a‘ on to your library. Once you’ve added music files, save them by typing “:save” on command prompt of cmus and press ‘Enter‘.

Adding Tracks to CMus Music Player

Playing Tracks From The CMus Library

To play track simply type ‘2‘ to get the library view. You will get something similar to like this.

Playing Tracks in CMus Player

Use the ‘up‘ and ‘down‘ keys to choose a track, that you like to play and press ‘Enter‘.

Use the ‘up‘ and ‘down‘ arrow keys to select a track you’d like to hear, and press ‘Enter‘ to play it.

Some CMus keys to control Play

Managing The Queue

Suppose your are listening to a song, and want to play next song of your choice, without interrupting the currently running track. Simply go to the track that you want to play next and type ‘e‘.

To view/edit queue, press ‘4‘ and your queue view should looks like a simple library view.

Add Tracks to CMus Queue

If you would like to change the order of the tracks, you can by hitting ‘p‘ keys. To remove a track from the queue list, simple use ‘*shift-D‘.

Читайте также:  Экранная клавиатура windows раскладка

The Playlist

The playlist mode on ‘3‘, but before moving to playlist view, lets add some songs. Press ‘2‘ to get the library view and go to the track that you want and press ‘y‘ to add. Now type ‘3‘ to go the newly created playlist.

Add Tracks to CMus Playlist

Similar to queue view, where you can use ‘p‘ keys and ‘d‘ keys to move and delete songs from the playlist.

Search for track

To search a track go to the library view by pressing ‘2‘ and then press ‘/‘ to start a search. Type a track name you’re looking for. CMus will start searching for tracks that have all those words in them. Press ‘Enter‘ to get out of search mode and press ‘n‘ to find the next match.

Search Tracks in CMus Player

CMus Customization

As I said Cmus has bunch of very cool settings to tweak, like changing track disk numbers, enabling replaygian support or changing the keybindings. To get the quick view of current keybindings and settings, press ‘7‘ and to change setting or keybind use (up/down keys) and press ‘Enter‘.

Change Keybindings and Settings

Quit CMus

Once you’ve done, press ‘:q‘ and hit ‘Enter‘ to quit. This will save all your library, settings, playlist and queue.

Further Reading

CMus application comes with a great reference manual. Here I not covered most of features and commands like ‘loading‘ and ‘saving‘ playlists, managing and controlling cmus remotely using ‘cmus-remote‘ command, etc. For more commands and options use *man cmus* in a terminal or read the following reference page.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

We are thankful for your never ending support.

Источник

The 5 Best Command Line Music Players for Linux

The terminal is usually used to accomplish administrative tasks on a Linux system such as installing packages, configuring services, updating, and upgrading packages to mention a few.

But did you also know you can enjoy playing your favourite audio files straight from the terminal? Yes, you can, thanks to some cool and innovative console-based music players.

In this guide, we shine the spotlight on the best command-line music players for Linux.

1. CMUS – Console Music Player

Written in C programming language, CMUS is a light-weight yet powerful console-based music player designed for Unix/Linux systems. It supports a wide range of audio formats and is quite easy to navigate once you have mastered some basic commands.

Let’s take a look at some of the main features in brief:

  • Support for an array of popular music formats including mp3, aac, wave, and flac to mention a few.
  • Output sound in ALSA and JACK format.
  • Ability to organize your music in playlists and create queues for your songs. With CMUS, you can also create your custom music library.
  • Plenty of keyboard shortcuts that you can use to make your user experience fun.
  • Support for gapless playback that lets you play music without interruption.
  • You can find extensions and other handy scripts from CMUS’s wiki.
Читайте также:  Cablexpert usb to db9m драйвер windows 10

CMUS Console Music Player

Install CMUS on Linux

2. MOC – Music On Console

Short for Music On Console, MOC is a light and easy-to-use command-line music player. MOC allows you to select a directory and play audio files contained in the directory beginning with the first on the list.

Let’s take a look at some of the key features:

  • Support for gapless playback.
  • Support for audio files such as wav, mp3, mp4, flac, oog, aac and MIDI.
  • User defined-keys or keyboard shortcuts.
  • ALSA, JACK & OSS audio output.
  • A collection of customizable colour themes.

Moc – Music On Console

Install MOC on Linux

3. Musikcube

Musikcube is another free and opensource terminal-based music player that leverages a collection of plugins written in C++ to provide functionality such as data streaming, digital signal processing, output handling and so much more.

Musikcube is a cross-platform music player that can even run on Raspberry Pi. It uses the SQLite database for storing playlist and track metadata. It runs purely on a text-based UI built with ncurses.

Let’s take a look at some of the key features:

  • Can deliver an output of 24bit/192k audio with ease.
  • The music player offers both playlists and play queue management.
  • Can act as a streaming audio client on a headless server.
  • Support for libraries with over 100,000 tracks.
  • It provides gapless playback with cross-fading effect along with index tagging.

Musikcube – Terminal Based Music Player

For installation, head over to the releases page and grab the .deb or .rpm for your version of Linux and install it using the installation guide to get up and running.

4. mpg123 – Audio Player and Decoder

The mpg123 player is a free and opensource fast console-based audio player and decoder written in C language. It is tailored for both Windows & Unix/Linux systems.

Let’s take a look at some of the key features:

  • Gapless playback of mp3 audio files.
  • Built-in terminal shortcuts.
  • Supports many platforms ( Windows, Linux, BSD and macOS ).
  • Multiple Audio options.
  • Support a vast variety of audio output including ALSA, JACK and OSS.

Mpg123 – Audio Player and Decoder

Install mpg123 on Linux

5. Mp3blaster – Audio Player for Console

Mp3blaster has been around since 1997. Sadly it hasn’t been in active development since 2017. Nevertheless, it’s still a decent terminal-based audio player that lets you enjoy your audio tracks. You can find the official repo hosted on GitHub.

Let’s take a look at some of the key features:

  • Support for shortcut keys which makes it relatively easy to use.
  • Commendable playlist support.
  • Great sound quality.

Mp3blaster – Audio Player for Linux Console

Install Mp3blaster on Linux

That was a round-up of some of the most popular command-line players available for Linux, and even for Windows. Is there any you feel we have left out? Give us a shout.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

We are thankful for your never ending support.

Источник

Оцените статью