GithubHelp home page GithubHelp logo

Comments (14)

dpayne avatar dpayne commented on July 30, 2024

Are you using mpd?

from cli-visualizer.

lopy67 avatar lopy67 commented on July 30, 2024

i did the brew mpd if that is what you are asking

from cli-visualizer.

dpayne avatar dpayne commented on July 30, 2024

Well that is part of it. But you also need to configure mpd to output to a file the visualizer can use

My mpd.conf looks something like this

music_directory         "~/Music/mpd"
playlist_directory      "~/.mpd/playlists"
db_file                 "~/.mpd/mpd.db"
log_file                "~/.mpd/mpd.log"
pid_file                "~/.mpd/mpd.pid"
state_file              "~/.mpd/mpdstate"
auto_update             "yes"
auto_update_depth       "2"
follow_outside_symlinks "yes"
follow_inside_symlinks  "yes"

audio_output {
  type                  "osx"
  name                  "CoreAudio"
  mixer_type            "software"
}

audio_output {
  type                  "fifo"
  name                  "my_fifo"
  path                  "/tmp/mpd.fifo"
  format                "44100:16:2"
}

decoder {
  plugin                "mp4ff"
  enabled               "no"
}

bind_to_address         "127.0.0.1"
port                    "6600"

user                    "dpayne"

from cli-visualizer.

lopy67 avatar lopy67 commented on July 30, 2024

I made a mpd.conf file can it be anywhere also how do I hook it up together

On Tuesday, 26 April 2016, Darby Payne [email protected] wrote:

Well that is part of it. But you also need to configure mpd to output to a
file the visualizer can use

My mpd.conf looks something like this

music_directory "/Music/mpd"
playlist_directory "
/.mpd/playlists"
db_file "/.mpd/mpd.db"
log_file "
/.mpd/mpd.log"
pid_file "/.mpd/mpd.pid"
state_file "
/.mpd/mpdstate"
auto_update "yes"
auto_update_depth "2"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"

audio_output {
type "osx"
name "CoreAudio"
mixer_type "software"
}

audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}

decoder {
plugin "mp4ff"
enabled "no"
}

bind_to_address "127.0.0.1"
port "6600"

user "dpayne"


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#18 (comment)

from cli-visualizer.

dpayne avatar dpayne commented on July 30, 2024

This guide takes you through the steps well https://timothy.sh/article/install-mpd-ncmpcpp-on-osx-yosemite. After following the guide mpd should be setup, however you also need to add the fifo audio_output to the config to get the visualizer working

audio_output {
 type                  "fifo"
 name                  "my_fifo"
 path                  "/tmp/mpd.fifo"
 format                "44100:16:2"
}

from cli-visualizer.

lopy67 avatar lopy67 commented on July 30, 2024

this is my mpd.conf

music_directory "/Music"
playlist_directory "
/.mpd/playlists"
db_file "/.mpd/database"
pid_file "
/.mpd/pid"
state_file "/.mpd/state"
sticker_file "
/.mpd/sticker.sql"
port "6600"
auto_update "yes"
audio_output {
type "osx"
name "My Mac Device"
mixer_type "software"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}

On Tue, Apr 26, 2016 at 10:10 AM, Darby Payne [email protected]
wrote:

This guide takes you through the steps well
https://timothy.sh/article/install-mpd-ncmpcpp-on-osx-yosemite. After
following the guide mpd should be setup, however you also need to add the
fifo audio_output to the config to get the visualizer working

audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#18 (comment)

from cli-visualizer.

lopy67 avatar lopy67 commented on July 30, 2024

status update i have done the mpd and ncmpcpp and when i do the mpd command nothing happens but when i do the ncmpcpp it comes up with a fancy little layout which is good i think

from cli-visualizer.

dpayne avatar dpayne commented on July 30, 2024

mpd runs as a background process (aka a daemon), so mpd doing nothing is actually a good thing. Put some music under the directory ~/Music then in nmpcpp update the library by press u. The mpd library will update, if you don't have many songs this should be pretty immediate. After this you can add songs to the playlist, this is a pretty useful guide of ncmpcpp's controls https://wiki.archlinux.org/index.php/ncmpcpp#Basic_usage

from cli-visualizer.

lopy67 avatar lopy67 commented on July 30, 2024

So if that is all working what do you say the problem is with I'm thinking
Alsa or pulse audio

On Wednesday, 27 April 2016, Darby Payne [email protected] wrote:

mpd runs as a background process (aka a daemon), so mpd doing nothing is
actually a good thing. Put some music under the directory ~/Music then in
nmpcpp update the library by press u. The mpd library will update, if you
don't have many songs this should be pretty immediate. After this you can
add songs to the playlist, this is a pretty useful guide of ncmpcpp's
controls https://wiki.archlinux.org/index.php/ncmpcpp#Basic_usage


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#18 (comment)

from cli-visualizer.

dpayne avatar dpayne commented on July 30, 2024

So alsa and pulse audio do not work on mac os x. You have to play your music through mpd to to get it to work. Mac osx does uses CoreAudio instead of alsa/pulse audio, and there is not a way to make the vis work with CoreAudio.

from cli-visualizer.

lopy67 avatar lopy67 commented on July 30, 2024

so basically i cant do it? on mac os x

On Wed, Apr 27, 2016 at 9:56 AM, Darby Payne [email protected]
wrote:

So alsa and pulse audio do not work on mac os x. You have to play your
music through mpd to to get it to work. Mac osx does uses CoreAudio instead
of alsa/pulse audio, and there is not a way to make the vis work with
CoreAudio.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#18 (comment)

from cli-visualizer.

dpayne avatar dpayne commented on July 30, 2024

Correct, unless used with mpd mac os x will not work.

from cli-visualizer.

lopy67 avatar lopy67 commented on July 30, 2024

Is it easy to use it with MPd

On Wednesday, 27 April 2016, Darby Payne [email protected] wrote:

Correct, unless used with mpd mac os x will not work.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#18 (comment)

from cli-visualizer.

dpayne avatar dpayne commented on July 30, 2024

If you're not used using the terminal then mpd is not the easiest music player to use. There are some mpd clients like https://github.com/TheStalwart/Theremin that are a little easier to use, you might want to try that. As long as your mpd configuration file has the fifo audio_output vis should work with any client you choose.

I am closing this ticket, since there are not specific issues related to the visualizer here.

from cli-visualizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.