Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 References  





2 External links  














Music on Console







Čeština
Deutsch
Español
Polski
Português
Русский
Suomi
Українська

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


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)

Repositorysvn.daper.net/moc/trunk
Written inC
Operating systemLinux/Unix
TypeAudio player
LicenseGPL-2.0-or-later
Websitemoc.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, OSSorJACK 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.

References

[edit]
  1. ^ Chapnik, Rebecca (11 June 2012). "Rock Out with Your Console Out". Linux Journal. Retrieved 13 January 2015.
  • ^ Dan, Craciun (3 December 2011). "10 Console Music Players for Linux". TuxArena. Retrieved 13 January 2015.
  • ^ "Music on Console". Linux Links. 25 August 2014. Retrieved 13 January 2015.
  • ^ Ruchi (25 May 2011). "MOC (music on console) – Console audio player for LINUX/UNIX". Ubuntu Geek. Retrieved 13 January 2015.
  • [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Music_on_Console&oldid=1217276517"

    Categories: 
    Free audio software
    Free software programmed in C
    Linux media players
    Free media players
    Client/server media players
    Free software that uses ncurses
    Audio software with JACK support
    Audio player software for Linux
    Console applications
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
     



    This page was last edited on 4 April 2024, at 21:27 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki