Music on Console

Last updated
Music On Console
Original author(s) Damian Pietras
Developer(s) John Fitzgerald
Initial release2002
Stable release
2.5.2 / November 16, 2016;7 years ago (2016-11-16)
Preview release
2.6-alpha3 / November 16, 2016;7 years ago (2016-11-16)
Repository svn.daper.net/moc/trunk
Written in C
Operating system Linux/Unix
Type Audio player
License GPL-2.0-or-later
Website moc.daper.net

Music On Console (MOC) is an ncurses-based console audio player for Linux/UNIX. [1] It was originally written by Damian Pietras, and is currently maintained by John Fitzgerald. It is designed to be powerful and easy to use, with an interface inspired by the Midnight Commander console file manager. The default interface layout comprises a file list in the left pane with the playlist on the right. [2] It is configurable with customizable key bindings, color schemes and interface layouts. MOC comes with several themes defined in text files, which can be modified to create new layouts. It supports ALSA, OSS or JACK outputs.

Supported file formats include: MP3, Ogg Vorbis, FLAC, Musepack, Speex, WAV (and other less popular formats supported by libsndfile), MOD, WavPack, AAC, SID, MIDI. Moreover most audio formats recognized by FFMpeg/Libav are also supported (e.g. MP4, Opus, WMA, APE, AC3, DTS - even embedded in video files). New formats support is under development. Internet streams (Icecast, SHOUTcast) are also supported.

MOC has a single playlist (which can be saved in m3u format) and has the concept of a 'music directory' but it has no library file where metadata is saved. Instead this information is read as needed from tags in the files themselves or from tags cache, either upon access or during idle CPU time. If the playlist has extended m3u information, that will be read as well. If the playlist is saved, any read metadata will be stored.

Its text-only nature consumes very little system resources, and it uses an output buffer in a separate thread to avoid skipping under high system loads and to enable gapless playback. [3] Normally, exiting the program only closes the interface - the program daemonizes itself so the audio continues playing in the background. [4]

This client/server architecture is similar to MPD and XMMS2, but unlike those players, the MOC daemon is not accessible over a network, and does not have an open API to communicate with alternate clients. This has both advantages and disadvantages as, while MOC can't be controlled by a remote graphical client (it can be used via SSH), it can securely range the entire filesystem, which is not advisable by a remotely and anonymously accessible server such as MPD.

The binary is named mocp for "MOC Player" because of a conflict with a Qt utility called moc.

Related Research Articles

Shoutcast is a service for streaming media over the internet to media players, using its own cross-platform proprietary software. It allows digital audio content, primarily in MP3 or High-Efficiency Advanced Audio Coding format. The most common use of Shoutcast is for creating or listening to Internet audio broadcasts; however, there are also video streams. The software is available to use for free or as a paid cloud service with additional professional features.

<span class="mw-page-title-main">Amarok (software)</span> Free and open source music player

Amarok is a free and open-source music player, available for Unix-like, Windows, and macOS systems. Although Amarok is part of the KDE project, it is released independently of the central KDE Software Compilation release cycle. Amarok is released under the terms of the GPL-2.0-or-later.

M3U is a computer file format for a multimedia playlist. One common use of the M3U file format is creating a single-entry playlist file pointing to a stream on the Internet. The created file provides easy access to that stream and is often used in downloads from a website, for emailing, and for listening to Internet radio.

PLS is a computer file format for a multimedia playlist. It is typically used by media players for streaming media over the Internet, but may also be used for playing local media.

<span class="mw-page-title-main">JRiver Media Center</span> Media player software

JRiver Media Center is a multimedia application that allows the user to play and organize various types of media on a computer running Windows, macOS, or Linux operating systems. Developed by JRiver, Inc., it is offered as shareware.

Music Player Daemon (MPD) is a free and open source music player server. It plays audio files, organizes playlists and maintains a music database. In order to interact with it, a client program is needed. The MPD distribution includes mpc, a simple command line client.

<span class="mw-page-title-main">AudioTron</span>

The Turtle Beach AudioTron AT-100 and AT-101 are 1U rack-mountable, hi-fi network music players. An AudioTron can stream digital music files from personal computers or NAS devices without the need to install server software on these storage devices since the AudioTron is based on Windows CE and is therefore a computer that looks like audio hardware. Supported file formats include Wave, WMA, MP3 and MP3 playlists. These files can reside on a Microsoft Windows network share or on a Samba server. AudioTron reads music files over Ethernet or HPNA network, and generates analog audio via RCA connectors as well as digital audio via S/PDIF.

<span class="mw-page-title-main">Cog (software)</span> Audio player for macOS

Cog is an open source audio player for macOS. The basic layout is a single-paned playlist interface with two retractable drawers, one for navigating the user's music folders and another for viewing audio file properties, like bitrate. Along with supporting most audio formats compatible with macOS's Core Audio API, Cog supports a wide array of other audio formats, along with their metadata, which are otherwise unsupported on macOS.

<span class="mw-page-title-main">Tag editor</span> Software for editing the metadata of media files

A tag editor is an app that can add, edit, or remove embedded metadata on multimedia file formats. Content creators, such as musicians, photographers, podcasters, and video producers, may need to properly label and manage their creations, adding such details as title, creator, date of creation, and copyright notice.

cmus Console audio player

Cmus is a small, fast console audio player for Unix-like operating systems. cmus is distributed under the terms of the GPL-2.0-or-later and is operated exclusively through a text-based user interface, built with ncurses.

<span class="mw-page-title-main">Asunder (software)</span> Free and open-source graphical audio CD ripper program for Unix-like systems

Asunder is a free and open-source graphical audio CD ripper program for Unix-like systems. It doesn't have dependencies to the GNOME libraries or libraries of other desktop environments. It functions as a front-end for cdparanoia.

<span class="mw-page-title-main">Mp3tag</span> Tag editor for Microsoft Windows and Apple macOS

Mp3tag is a metadata tag editor that supports many popular audio file formats. It is freeware for Microsoft Windows, while it costs USD $19.99 for Apple macOS in the Mac App Store.

<span class="mw-page-title-main">Mpxplay</span>

Mpxplay is a 32-bit console audio player for MS-DOS and Windows. It supports a wide range of audio codecs, playlists, as well as containers for video formats. The MS-DOS version uses a 32-bit DOS extender.

The following comparison of audio players compares general and technical information for a number of software media player programs. For the purpose of this comparison, "audio players" are defined as any media player explicitly designed to play audio files, with limited or no support for video playback. Multi-media players designed for video playback, which can also play music, are included under comparison of video player software.

<span class="mw-page-title-main">MusicBee</span> Media player for Microsoft Windows

MusicBee is a freeware media player for playback and organization of audio files on Microsoft Windows, built using the BASS audio library.

<span class="mw-page-title-main">Puddletag</span> Tag editor for Unix-like operating systems

Puddletag is a graphical audio file metadata editor ("tagger") for Unix-like operating systems.

WildMIDI is a free open-source software synthesizer which converts MIDI note data into an audio signal using GUS sound patches without need for a GUS patch-compatible soundcard. WildMIDI, whose aim is to be as small as possible and easily portable, started in December 2001, can act as a virtual MIDI device, capable of receiving MIDI data from any program and transforming it into audio on-the-fly. It is the standard MIDI renderer for the GStreamer framework.

<span class="mw-page-title-main">DeaDBeeF</span> Audio player

DeaDBeeF is an audio player software available for Windows, Linux and other Unix-like operating systems. An ad-supported Android version is available, but has not been updated since 2017. DeaDBeeF is free and open-source software, except on Android.

References

  1. Chapnik, Rebecca (11 June 2012). "Rock Out with Your Console Out". Linux Journal. Retrieved 13 January 2015.
  2. Dan, Craciun (3 December 2011). "10 Console Music Players for Linux". TuxArena. Retrieved 13 January 2015.
  3. "Music on Console". Linux Links. 25 August 2014. Retrieved 13 January 2015.
  4. Ruchi (25 May 2011). "MOC (music on console) – Console audio player for LINUX/UNIX". Ubuntu Geek. Retrieved 13 January 2015.