top of page

Hypnosis Tools Free Webinar

Public·33 members

Mac Os X Terminal Music Player __HOT__

Is there a way to play the audio without having to keep the terminal window open?On a related note, could I run it off an applescript and have the applescript quit without the audio stopping?Thanks,MacTipper

Mac Os X Terminal Music Player


Just add an & after the command and it will run in the background, thus allowing you to close the terminal window (or even quit terminal entirely) without affecting playback.---Aluminum iMac 20" 2.4 GHz/3GB/300GB HD

That only somewhat works. I can continue working in that same terminal window, however, if I close it, I get a warning saying that I'm going to terminate running processes (login, bash, afplay)My command:afplay /Users/Shared/iTunes/iTunes\ Music/Aaron\ Shust/Whispered\ and\ Shouted/01\ Long\ Live\ the\ King.mp3 &

Don't worry that you're doing something wrong. You're correct. Using & puts it in the background of the shell, but if you kill the shell, you kill that application as well.(Applications don't run without a controller of some manner.)You have two options, and both may be a bit more involved than you want to be.One is that you can use the 'nohup' command to continue command execution even if the shell goes away. Or you can learn how to use the 'screen' command.nohup will continue command execution until completion (or failure, either way a program exit), and then it'll go away.screen is a "terminal multiplexer", it allows you to turn one terminal into many all self contained. It serves an excellent second purpose that if you're doing something (say, ssh'ed into a remote server) and your connection goes away, everything you were doing inside screen continues to run, or everything you have done remains there in context until you reconnect to the server and resume screen.This of course works locally. Be forewarned this is a VERY extreme example. If you're running screen, and terminal crashes, nothing happens to screen. It's all still there to reconnect to when you re-open Terminal and reconnect to it.The only thing screen doesn't do is survive a reboot (go figure).It'll take a little bit of learning to get used to it (the man page is VERY big), but I absolutely swear by screen.

There's an easier way to close a terminal window (which is not the preferred way to end the shell inside it---similar to using 'force quit' to end safari instead of the quit menu command) without OS X whining or killing the programs you've started: Instead of ending a command with '&', end it with '& disown' (no quotes, of course).Note: This will work for essentially *any* program, but if there are semi-colons (;) in the line you typed, you are running more than one program and simply adding ' & disown' to the end of the line may not be sufficient to get the behavior you want.I am sure the OP gave up on this page long ago, but in case future readers who stumble on this page are daunted by your suggestions (valid though they are), I though this very simple fix would be useful.

Does for me, exactly as I described. If it doesn't for you, then you are doing something different. I started the music with the command as I described, and the proceeded to completely quit terminal. The music happily continued playing. It works.---Aluminum iMac 20" 2.4 GHz/3GB/300GB HD

But what does work is, afplay /Users/User/Music/MusicFile.mp3 & exitI can then close the window or quit terminal.Thanks ---mh [ Reply to This # ] Play Audio in Background? Authored by: tommybarbour on Oct 03, '08 10:00:12AM it does work. when i run it, i get the following on my screen:bash-3.2$ 2008-10-03 12:57:02.956 afplay[524:10b] Error loading /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: dlopen(/Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder, 262): no suitable image found. Did find: /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: mach-o, but wrong architecture2008-10-03 12:57:02.958 afplay[524:10b] Error loading /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: dlopen(/Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder, 262): no suitable image found. Did find: /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: mach-o, but wrong architecture2008-10-03 12:57:02.960 afplay[524:10b] Error loading /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: dlopen(/Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder, 262): no suitable image found. Did find: /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: mach-o, but wrong architecturehit enter to return to your prompt. type 'exit'the music should continue.

You can also chain several songs together by repeating the afplay command after a semicolon:afplay music.mp3 &; afplay sound.mp3 &etc..I'm not a terminal geek so i had to fart around with this a bit to get it, but if I simply copy a file in the Finder then paste it after the afplay command (or simply drag it into the terminal) the path formatting will stay intact. So, that's probably the easiest thing to do for most people if they are getting file not found errors.

This is awesome! I am deployed to Iraq and when I want to mess with my wife & son I ssh home and make the computer 'say' stuff. Now I can play them music in the AM!! YES!!! Thank you Mac OS X Hints, once again you are the *censored* of the walk! OK, I cannot say rooster's other names, so its censored, there by ruining my SNL reference.

MacOS X has in-built basic CLI music player which we talked many years back. However, that thing really not any good solution. SoundCloud also can be used from command line interface. That is also not a universal solution as music player. There is actually a bunch of music players.

Legal Report Trademark Abuse VideoLAN, VLC, VLC media player and x264 are trademarks internationally registered by the VideoLAN non-profit organization. VideoLAN software is licensed under various open-source licenses: use and distribution are defined by each software license.

Strawberry is a music player and music collection organizer. It is aimed at music collectors and audiophiles. With Strawberry you can play and manage your digital music collection, or stream your favorite radios. Strawberry is free software released under GPL. The source code is available on GitHub. Strawberry is a fork of Clementine. It's written in C++ using the Qt toolkit and GStreamer. Strawberry is compatible with both Qt version 5 and 6.

Many people who want to use VLC media player on macOS will be intending to use the standard graphical interface that is provided by VLC. The standard interface consists of the eight menus in the menu bar and the 'VLC - Controller' window that opens up by default. This section outlines what VLC can do for you (at V0.8.6a current active is V3.0.12) and will be completed as I check the use of menu options.

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.

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.

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.

Thank you for sharing. Tera ( ) is easy to install and operate. You can listen to 27780+ radio stations powered by Radio Browser API. It uses the MPV, a free, open-source, and cross-platform media player.

The options we discussed here are all available using tools included in the Mac system. But there are other music player apps out there that can play audio files (and other types of media files) if you want an app to play your music but don't want to use iTunes.

Lori Kaufman is a freelance technical writer living in the Sacramento, CA area. She's a gadget and tech geek who loves to write how-to articles about a wide range of topics. Lori also loves reading mysteries, cross stitching, musical theatre, and Doctor Who. Connect with Lori on LinkedIn.

Linux terminal is used for performing administrative tasks without having any issues. However, many people don't know that we can play music through the command line. Linux provides different CLI music players by which users can play the audio files from the terminal.

CMUS (Console Music Player) is a fast and compact console audio player developed in C programming for Linux operating systems. It is one of the best CLI music players because it supports various audio formats and easy-to-use commands. CMUS operates through the specific text-based UI. It is distributed under the GPL-2.0 terms. Considering the audio format support, CMUS can play music of various formats like acc, mp3, FLAC, wave, and many more. Users require to type cmus in the terminal to open play the music.if(typeof ez_ad_units != 'undefined')ez_ad_units.push([[250,250],'linuxopsys_com-medrectangle-4','ezslot_4',103,'0','0']);__ez_fad_position('div-gpt-ad-linuxopsys_com-medrectangle-4-0');

Musikcube is an absolutely free CLI-based music player that provides cross-platform support to play music from the terminal. It provides multiple options such as tag indexing, playlist crud, file scanning, crossfading playback, great plugin architecture, and support for the music libraries. Musikcube uses different plugins which are written in C++. This plugin provides the function for digital signal processing, data streaming, metadata parsing, audio decoding, and so on. Musikcube currently supports a wide range of audio codecs like FLAC, MP3, Ogg, M4A, and many more. 350c69d7ab

  • About

    Welcome to the group! You can connect with other members, ge...

    bottom of page