Linux консольный музыкальный плеер

5 лучших музыкальных проигрывателей командной строки для Linux

Терминал обычно используется для выполнения административных задач в системе Linux, таких как установка пакетов, настройка служб, обновление и обновление пакетов, и это лишь некоторые из них.

Но знаете ли вы также, что можете наслаждаться воспроизведением своих любимых аудиофайлов прямо с терминала? Да, вы можете, благодаря некоторым крутым и инновационным музыкальным проигрывателям для консолей.

В этом руководстве мы освещаем лучшие музыкальные проигрыватели командной строки для Linux.

1. CMUS — консольный музыкальный проигрыватель

Написанный на языке программирования C, CMUS представляет собой легкий, но мощный консольный музыкальный проигрыватель, разработанный для систем Unix/Linux. Он поддерживает широкий спектр аудиоформатов, и в нем довольно легко ориентироваться после того, как вы освоите некоторые основные команды.

Давайте кратко рассмотрим некоторые из основных функций:

  • Поддержка множества популярных музыкальных форматов, включая mp3, aac, wave и flac и многие другие.
  • Вывод звука в формате ALSA и JACK.
  • Возможность организовывать музыку в плейлисты и создавать очереди для ваших песен. С помощью CMUS вы также можете создать собственную музыкальную библиотеку.
  • Множество быстрых клавиш, которые вы можете использовать, чтобы сделать работу с пользователем интереснее.
  • Поддержка непрерывного воспроизведения, что позволяет воспроизводить музыку без перерыва.
  • Вы можете найти расширения и другие удобные скрипты на вики CMUS.

Установите CMUS в Linux

$ sudo apt-get install cmus [On Debian, Ubuntu & Miny] $ sudo dnf install cmus [On CentOS, RHEL & Fedora] $ sudo pacman -S cmus [On Arch Linux & Manjaro]

2. MOC — Музыка на консоли

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

Давайте рассмотрим некоторые ключевые особенности:

  • Поддержка непрерывного воспроизведения.
  • Поддержка аудиофайлов, таких как wav, mp3, mp4, flac, oog, aac и MIDI.
  • Пользовательские клавиши или сочетания клавиш.
  • Аудиовыход ALSA, JACK и OSS.
  • Набор настраиваемых цветовых тем.

Установить МОС на Linux

$ sudo apt-get install moc [On Debian, Ubuntu & Miny] $ sudo dnf install moc [On CentOS, RHEL & Fedora] $ sudo pacman -S moc [On Arch Linux & Manjaro]

3. Музыкальный куб

Musikcube — еще один бесплатный музыкальный проигрыватель на базе терминала с открытым исходным кодом, который использует набор плагинов, написанных на C++, для обеспечения таких функций, как потоковая передача данных, обработка цифровых сигналов, обработка вывода и многое другое.

Читайте также:  Linux терминал остановить процесс

Musikcube — это кроссплатформенный музыкальный проигрыватель, который может работать даже на Raspberry Pi. Он использует базу данных SQLite для хранения плейлиста и метаданных дорожек. Он работает исключительно с текстовым пользовательским интерфейсом, созданным с помощью ncurses.

Давайте рассмотрим некоторые ключевые особенности:

  • Может легко воспроизводить звук 24 бит/192 КБ.
  • Музыкальный проигрыватель предлагает как плейлисты, так и управление очередью воспроизведения.
  • Может действовать как клиент потокового аудио на безголовом сервере.
  • Поддержка библиотек с более чем 100 000 дорожек.
  • Он обеспечивает непрерывное воспроизведение с эффектом плавного затухания вместе с тегами индекса.

Для установки перейдите к руководству по установке, чтобы приступить к работе.

4. mpg123 — аудиоплеер и декодер

Плеер mpg123 — это бесплатный консольный аудиоплеер и декодер с открытым исходным кодом, написанный на языке C. Он предназначен как для систем Windows, так и для Unix/Linux.

Давайте рассмотрим некоторые ключевые особенности:

  • Непрерывное воспроизведение аудиофайлов mp3.
  • Встроенные ярлыки терминала.
  • Поддерживает множество платформ (Windows, Linux, BSD и macOS).
  • Несколько вариантов аудио.
  • Поддержка широкого спектра аудиовыходов, включая ALSA, JACK и OSS.

Установите mpg123 в Linux

$ sudo apt-get install mpg123 [On Debian, Ubuntu & Miny] $ sudo dnf install mpg123 [On CentOS, RHEL & Fedora] $ sudo pacman -S mpg123 [On Arch Linux & Manjaro]

5. Mp3blaster — аудиоплеер для консоли

Mp3blaster существует с 1997 года. К сожалению, он не находился в активной разработке с 2017 года. Тем не менее, это все еще достойный аудиоплеер на базе терминала, который позволяет вам наслаждаться аудиодорожками. Вы можете найти официальный репозиторий, размещенный на GitHub.

Давайте рассмотрим некоторые ключевые особенности:

  • Поддержка сочетаний клавиш, что делает его относительно простым в использовании.
  • Отличная поддержка плейлистов.
  • Отличное качество звука.

Установите Mp3blaster на Linux

$ sudo apt-get install mp3blaster [On Debian, Ubuntu & Miny] $ sudo dnf install mp3blaster [On CentOS, RHEL & Fedora] $ sudo pacman -S mp3blaster [On Arch Linux & Manjaro]

Это был обзор некоторых из самых популярных проигрывателей командной строки, доступных для Linux и даже для Windows. Есть ли что-то, что, по вашему мнению, мы упустили? Дайте нам крик.

Источник

Best Command Line Music Players for Linux

This article will list various free and open source command line music players available for Linux. These command line applications are mainly navigated through arrow keys and keyboard shortcuts and they are pretty useful if you are using a headless operating system based on Linux.

Mpg123

Mpg123 is a command line music player and audio decoder for Linux. It can play and decode mp3 files in real time, shuffle songs, downmix music and has built-in support for an equalizer.

Читайте также:  Информация об linux ubuntu

To install mpg123 in Ubuntu, use the following command:

You can install Mpg123 in other Linux distributions form the package manager or you can download it from here.

To play all mp3 files in a folder using Mpg123, run a command in the following format:

To view all command line options, run the following commands:

Ogg123

Ogg123 works similar to Mpg123, but only for “.ogg” files. Its feature set is also identical to Mpg123.

To install Ogg123 in Ubuntu, run the command below:

You can install Ogg123 in other Linux distributions by searching for “vorbis-tools” in package manage or you can compile it from source.

To play all ogg files in a folder using Ogg123, run a command in the following format:

To view all command line options, run the following commands:

MOC

MOC or “Music On Console” is a free and open source command line music player for Linux. It allows you to play music and control playback using an interactive keyboard-driven console based layout. It works like a dual pane file manager, all you have to do is navigate to the folder where your music is stored and hit the key to start playback. Other features of MOC include customizable color schemes, an equalizer, and user defined keyboard shortcuts.

To install MOC in Ubuntu, you can use the command mentioned below:

You can install MOC music player in other Linux distributions by searching for it in the package manager. Alternatively, MOC can be downloaded from its official website.

You can launch MOC by running the command below:

For further information, you can run these commands:

Mp3blaster

Mp3blaster is a command line music player for Linux that can be navigated through a text based user interface using pre-defined keyboard shortcuts. It supports random and looped playback and running tracks can be paused and resumed using numeric keys on the keyboard.

To install Mp3blaster in Ubuntu, use the command specified below:

Mp3blaster can be installed in other Linux distributions from the package manager shipped with the OS. You can also compile it from source code available on its code repository.

You can run Mp3blaster by executing the command below:

For further information, you can run these commands:

Musikcube

Musickcube is a console based music player and streaming server for Linux. Its user interface is mainly keyboard driven but you can also control certain elements using mouse pointer. It features a robust library classification and management interface and can be used as a library to develop third party apps.

Читайте также:  Установка принтера simply linux

To install Musikcube in Ubuntu, use the following command:

You can also install it in Ubuntu using “.deb” packages available here. Packages for other Linux distributions are available on its GitHub page.

To run Musikcube app in the terminal, use the following command:

For further information, you can run the following command:

Mpv

Mpv is one of the most popular media players for Linux, capable of playing both video and audio files. While videos are played in a GUI window, you can use it as a command line music player by passing the “–no-video” option.

To install Mpv in Ubuntu, you can use the command mentioned below:

You can install Mpv in other Linux distributions from package manager or you can download packages available on its official website.

To play all music files in a folder, run a command in the following format:

You can pause and resume tracks using the

key. For further information on Mpv, run these commands:

VLC

VLC is a free, open source and cross-platform graphical media player. It also includes a command line tool that allows you to run VLC as a standalone music player.

To install VLC player in Ubuntu, you can use the following command:

To install VLC media player in other Linux distributions, search for the term “vlc” in the package manager shipped with the OS. You can also install VLC player from its official website.

To play all music files in a folder, run a command in the following format:

You can use the key to pause and resume tracks and to mute and unmute sound. For further information, use these commands:

Mplayer

Mplayer is a graphical media player for Linux capable of playing both audio and video files. You can also use it as a console based music player using its command line interface.

To install Mplayer in Ubuntu, execute the command below:

You can install Mplayer in other Linux distributions from the package manager or you can download packages from its official website.

To play all music files in a folder, run a command in the following format:

You can pause and resume tracks using the

key. For further information on Mplayer, use the following commands:

Conclusion

These are some of the most popular console based music players available for Linux. They are especially useful if you are using a minimal desktop environment to save up resources or if you are using a console only user interface.

About the author

Nitesh Kumar

I am a freelancer software developer and content writer who loves Linux, open source software and the free software community.

Источник

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