You are not logged in.

#1 2010-06-26 11:47:02

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

ncmpcpp music visualizer

Hi,
I'm trying to set up the music visualizer in ncmpcpp, following  the instructions on .ncmpcpp/config, but I'm clearly missing something as it doesn't work.

I modified .ncmpcpp/config in this way:

##### music visualizer #####
##
## Note: In order to make music visualizer work you'll
## need to use mpd fifo output, whose format parameter
## has to be set to 44100:16:1. Example configuration:
## (it has to be put into mpd.conf)
##
## audio_output {
##        type            "fifo"
##        name            "My FIFO"
##        path            "/tmp/mpd.fifo"
##        format          "44100:16:1"
## }
##
#
visualizer_fifo_path = "/tmp/mpd.fifo"
#
##
## Note: Below parameter is needed for ncmpcpp
## to determine which output provides data for
## visualizer and thus allow syncing between
## visualization and sound as currently there
## are some problems with it.
##
#
visualizer_output_name = "my_fifo"
#
##
## Note: Below parameter defines how often ncmpcpp
## has to "synchronize" visualizer and audio outputs.
## 30 seconds is optimal value, but if you experience
## synchronization problems, set it to lower value.
## Keep in mind that sane values start with >=10.
##
#
visualizer_sync_interval = "30"
#
##
## Note: To enable spectrum frequency visualization
## you need to compile ncmpcpp with fftw3 support.
##
#
visualizer_type = "wave" (spectrum/wave)
#

Ad I've addedd the following in my /etc/mpd.conf (that I previously configured according to the wiki):

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

Now mpd starts completely muted and I have no idea on how to check the music visualizer is working or not.

Have someone the music visualizer properly configured?
Any help would be greatly appreciated.

Thank you! smile

Last edited by rent0n (2010-06-26 11:52:33)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#2 2010-06-26 12:06:06

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: ncmpcpp music visualizer

Did you keep the other audio_output you had earlier? The fifo output is supposed to be an addition to all the other ones, unless you only want the visualizer and no audio. The ncmpcpp package in community does not have support for the visualizer. You will have to rebuild the package with support for the visualizer.

Offline

#3 2010-06-26 12:15:29

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: ncmpcpp music visualizer

Nepherte wrote:

Did you keep the other audio_output you had earlier? The fifo output is supposed to be an addition to all the other ones, unless you only want the visualizer and no audio. The ncmpcpp package in community does not have support for the visualizer. You will have to rebuild the package with support for the visualizer.

Thanks for your reply!
I didn't have any other audio_output section in /etc/mdp.conf, but it worked correctly.
Are you sure I have to recompile the package? How can I check if the support for the music visualizer is enabled?


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#4 2010-06-26 14:11:29

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: ncmpcpp music visualizer

The ncmpcpp visualizer hides behind the 7 or 8 key, not sure which one it is exactly. But I'm positive you need to rebuild it. You can find the pkgbuild I've used here: https://svn.ulyssis.org/repos/nepherte/ … s/ncmpcpp/ (user: guest, password: guest). If you're unfamiliar with rebuilding, check the wiki: http://wiki.archlinux.org/index.php/Makepkg

Offline

#5 2010-07-03 03:47:34

~Fir3fly
Member
Registered: 2010-06-16
Posts: 15

Re: ncmpcpp music visualizer

thanks Nepherte
why doesnt  community  have the visualiser built in?


AMD athlon 3500+, dual Nvidia 7300GTs, 1Gb Ram

Offline

#6 2010-07-03 09:46:10

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: ncmpcpp music visualizer

~Fir3fly wrote:

thanks Nepherte
why doesnt  community  have the visualiser built in?

because it adds a 10mb dependency to a 600kb program for a feature that very little people need


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB