You are not logged in.
Pages: 1
The visualizer on my ncmpcpp-git is not working. I have the deps installed, according to the aur page. (ncurses + libmpdclient, right?)
Here are my confs:
~/.ncmpcpp/config
####################################################
## this is example configuration file, copy it to ##
## ~/.ncmpcpp/config and set up your preferences ##
####################################################
#
##### connection settings #####
#
## set it in order to make tag editor and renaming files work properly
#
#mpd_host = "localhost"
#
#mpd_port = "6600"
#
mpd_music_dir = "/media/Scott/Music/"
mpd_connection_timeout = "5"
mpd_crossfade_time = "1"
#
##### delays #####
#
## delay after playlist highlighting will be disabled (0 = don't disable)
#
playlist_disable_highlight_delay = "0"
#
## defines how long various messages are supposed to be visible
#
#message_delay_time = "4"
#
##### song format #####
##
## for song format you can use:
##
## %l - length
## %f - short filename
## %F - full filename
## %a - artist
## %t - title
## %b - album
## %y - year
## %n - track number
## %g - genre
## %c - composer
## %p - performer
## %d - disc
## %C - comment
## %r - begin right align
##
## you can also put them in { } and then it will be displayed
## only if all requested values are available and/or define alternate
## value with { }|{ } eg. {%a - %t}|{%f}
##
## text can also have different color than the main window has,
## eg. if you want length to be green, write $3%l$9
##
## available values:
##
## - 0 - default window color
## - 1 - black
## - 2 - red
## - 4 - green
## - 4 - yellow
## - 5 - blue
## - 6 - magenta
## - 7 - cyan
## - 8 - white
## - 9 - end of current color
##
## Note: colors can be nested.
##
song_list_format = "{$8(%l)$9 }{%a - }{%t}|{$8%f$9}"
song_library_format = "{%n - }{%t}|{%f}"
media_library_album_format = "{(%y) }%b"
tag_editor_album_format = "{(%y) }%b"
browser_playlist_prefix = "$7playlist$9 "
selected_item_prefix = "$8"
selected_item_suffix = "$9"
#
## colors are not supported for below veriables
#
#song_status_format = "{(%l) }{%a - }{%t}|{%f}"
#
#song_window_title_format = "{%a - }{%t}|{%f}"
#
##### columns settings #####
##
## syntax of song columns list format is "column column etc."
##
## - syntax for each column is:
##
## (width of column in %)[column's color]{displayed tag}
##
## - color is optional (if you want the default one, type [])
##
#
song_columns_list_format = "(6)[white]{l} (15)[blue]{a} (35)[white]{b} (53)[blue]{t}"
#
##### various settings #####
#
playlist_display_mode = "columns"
#
browser_display_mode = "columns"
#
#search_engine_display_mode = "classic" (classic/columns)
#
incremental_seeking = "yes"
#
#seek_time = "1"
#
autocenter_mode = "yes"
#
#repeat_one_mode = "no"
#
#default_place_to_search_in = "database" (database/playlist)
#
#media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
#
#default_find_mode = "wrapped" (wrapped/normal)
#
#default_space_mode = "add" (add/select)
#
#default_tag_editor_left_col = "albums" (albums/dirs)
#
#default_tag_editor_pattern = "%n - %t"
#
header_visibility = "yes"
#
statusbar_visibility = "yes"
#
fancy_scrolling = "yes"
#
follow_now_playing_lyrics = "yes"
#
#ncmpc_like_songs_adding = "no" (enabled - add/remove, disabled - always add)
#
display_screens_numbers_on_start = "yes"
#
#clock_display_seconds = "no"
#
##
## Note: If below is enabled, ncmpcpp will ignore leading
## "The" word while sorting items in browser, tags in
## media library, etc.
##
ignore_leading_the = "yes"
#
#enable_window_title = "yes"
#
##### lyrics support #####
##
## supported lyrics databases:
##
- 1 - lyricwiki.org
- 2 - lyricsplugin.com
##
#
lyrics_database = "1"
#
##### colors definitions #####
#
colors_enabled = "yes"
#
empty_tag_color = "white"
#
header_window_color = "white"
#
volume_color = "white"
#
state_line_color = "blue"
#
state_flags_color = "blue"
#
main_window_color = "blue"
#
color1 = "blue"
#
color2 = "cyan"
#
main_window_highlight_color = "white"
#
progressbar_color = "blue"
#
statusbar_color = "white"
#
active_column_color = "white"
#
window_border_color = "white"
#
active_window_border = "magenta"
#
#visualizer_fifo_path = "/tmp/mpd.fifo"
#visualizer_output_name = "FIFO"
#visualizer_sync_interval = "1"
#visualizer_type = "wave" (spectrum/wave)
#visualizer_type = "spectrum" (spectrum/wave)
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "FIFO"
visualizer_sync_interval = "30"
visualizer_type = "spectrum" #(spectrum/wave)
/etc/mpd.conf (which is same as ~/.mpd/mpd.conf)
#
music_directory "/media/Scott/Music"
playlist_directory "/home/realeyes/.mpd/playlists"
db_file "/home/realeyes/.mpd/mpd.db"
log_file "/home/realeyes/.mpd/mpd.log"
pid_file "/home/realeyes/.mpd/mpd.pid"
state_file "/home/realeyes/.mpd/mpdstate"
#sticker_file "/home/wintervenom/.config/mpd/mpd.sticker.db"
bind_to_address "127.0.0.1"
auto_update "yes"
save_absolute_paths_in_playlists "yes"
zeroconf_enabled "no"
gapless_mp3_playback "yes"
replaygain "track"
replaygain_preamp "1"
volume_normalization "yes"
#audio_buffer_size "8192"
#buffer_before_play "100%"
max_playlist_length "300000"
#max_command_list_size "2048"
max_output_buffer_size "16384"
input {
plugin "curl"
}
audio_output {
name "Normal"
type "alsa"
use_mmap "yes"
}
#audio_output {
# name "Headphones"
# type "alsa"
# use_mmap "yes"
# device "headphones"
#}
#audio_output {
# type "httpd"
# name "MPD"
# encoder "vorbis"
# port "7000"
# quality "3.0"
# format "44100:16:2"
# max_clients "4"
#}
audio_output {
type "fifo"
name "FIFO"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
Any and all help is much appreciated!
Offline
I have the deps installed, according to the aur page. (ncurses + libmpdclient, right?)
What about according to the PKGBUILD and/or pacman's output when you installed it? Just because a given program isn't listed as a hard dependency doesn't mean it can't be listed as something needed to enable optional functionality - some sort of ... nope. not going to spoil it
Offline
Laggg wrote:I have the deps installed, according to the aur page. (ncurses + libmpdclient, right?)
What about according to the PKGBUILD and/or pacman's output when you installed it? Just because a given program isn't listed as a hard dependency doesn't mean it can't be listed as something needed to enable optional functionality - some sort of ... nope. not going to spoil it
I used packer to install ncmpcpp-git, i have all the deps installed for sure. Which one were you meaning?
Offline
Last edited by Montague (2015-07-28 02:55:46)
Offline
Hmm... Let's see if I can help out here... Here are the two audio outputs I have in my /etc/mpd.conf
audio_output { type "alsa" name "My ALSA Device" format "44100:16:2" # optional mixer_type "software" # optional } audio_output { type "fifo" name "my_fifo" host "localhost" path "/tmp/mpd.fifo" format "44100:16:2" }
And in my ~/.ncmpcpp/config I have
visualizer_in_stereo = "yes" visualizer_fifo_path = "/tmp/mpd.fifo" visualizer_output_name = "my_fifo" visualizer_type = "spectrum"
Don't know if the above will help you sort it out, report back!
And also: do you have fftw installed?
I have fftw installed for sure.
I thought that adding "localhost" or "127.0.0.1" would help, but still the same result. Fail.
/etc/mpd.conf
audio_output {
type "alsa"
name "My ALSA Device"
format "44100:16:2" # optional
mixer_type "software" # optional
}
~/.ncmpcpp/config
####################################################
## this is example configuration file, copy it to ##
## ~/.ncmpcpp/config and set up your preferences ##
####################################################
#
##### connection settings #####
#
## set it in order to make tag editor and renaming files work properly
#
#mpd_host = "localhost"
#
#mpd_port = "6600"
#
mpd_music_dir = "/media/Scott/Music/"
mpd_connection_timeout = "5"
#mpd_crossfade_time = "1"
#
##### delays #####
#
## delay after playlist highlighting will be disabled (0 = don't disable)
#
playlist_disable_highlight_delay = "0"
#
## defines how long various messages are supposed to be visible
#
#message_delay_time = "4"
#
##### song format #####
##
## for song format you can use:
##
## %l - length
## %f - short filename
## %F - full filename
## %a - artist
## %t - title
## %b - album
## %y - year
## %n - track number
## %g - genre
## %c - composer
## %p - performer
## %d - disc
## %C - comment
## %r - begin right align
##
## you can also put them in { } and then it will be displayed
## only if all requested values are available and/or define alternate
## value with { }|{ } eg. {%a - %t}|{%f}
##
## text can also have different color than the main window has,
## eg. if you want length to be green, write $3%l$9
##
## available values:
##
## - 0 - default window color
## - 1 - black
## - 2 - red
## - 4 - green
## - 4 - yellow
## - 5 - blue
## - 6 - magenta
## - 7 - cyan
## - 8 - white
## - 9 - end of current color
##
## Note: colors can be nested.
##
song_list_format = "{$8(%l)$9 }{%a - }{%t}|{$8%f$9}"
song_library_format = "{%n - }{%t}|{%f}"
media_library_album_format = "{(%y) }%b"
tag_editor_album_format = "{(%y) }%b"
browser_playlist_prefix = "$7playlist$9 "
selected_item_prefix = "$8"
selected_item_suffix = "$9"
#
## colors are not supported for below veriables
#
#song_status_format = "{(%l) }{%a - }{%t}|{%f}"
#
#song_window_title_format = "{%a - }{%t}|{%f}"
#
##### columns settings #####
##
## syntax of song columns list format is "column column etc."
##
## - syntax for each column is:
##
## (width of column in %)[column's color]{displayed tag}
##
## - color is optional (if you want the default one, type [])
##
#
song_columns_list_format = "(6)[white]{l} (15)[blue]{a} (35)[white]{b} (53)[blue]{t}"
#
##### various settings #####
#
playlist_display_mode = "columns"
#
browser_display_mode = "columns"
#
#search_engine_display_mode = "classic" (classic/columns)
#
incremental_seeking = "yes"
#
#seek_time = "1"
#
autocenter_mode = "yes"
#
#repeat_one_mode = "no"
#
#default_place_to_search_in = "database" (database/playlist)
#
#media_library_left_column = "a" (possible values: a,y,g,c,p, legend above)
#
#default_find_mode = "wrapped" (wrapped/normal)
#
#default_space_mode = "add" (add/select)
#
#default_tag_editor_left_col = "albums" (albums/dirs)
#
#default_tag_editor_pattern = "%n - %t"
#
header_visibility = "yes"
#
statusbar_visibility = "yes"
#
fancy_scrolling = "yes"
#
follow_now_playing_lyrics = "yes"
#
#ncmpc_like_songs_adding = "no" (enabled - add/remove, disabled - always add)
#
display_screens_numbers_on_start = "yes"
#
#clock_display_seconds = "no"
#
##
## Note: If below is enabled, ncmpcpp will ignore leading
## "The" word while sorting items in browser, tags in
## media library, etc.
##
ignore_leading_the = "yes"
#
#enable_window_title = "yes"
#
##### lyrics support #####
##
## supported lyrics databases:
##
- 1 - lyricwiki.org
- 2 - lyricsplugin.com
##
#
lyrics_database = "1"
#
##### colors definitions #####
#
colors_enabled = "yes"
#
empty_tag_color = "white"
#
header_window_color = "white"
#
volume_color = "white"
#
state_line_color = "blue"
#
state_flags_color = "blue"
#
main_window_color = "blue"
#
color1 = "blue"
#
color2 = "cyan"
#
main_window_highlight_color = "white"
#
progressbar_color = "blue"
#
statusbar_color = "white"
#
active_column_color = "white"
#
window_border_color = "white"
#
active_window_border = "magenta"
#
#visualizer_fifo_path = "/tmp/mpd.fifo"
#visualizer_output_name = "FIFO"
#visualizer_sync_interval = "1"
#visualizer_type = "wave" (spectrum/wave)
#visualizer_type = "spectrum" (spectrum/wave)
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "FIFO"
visualizer_sync_interval = "30"
visualizer_type = "spectrum" #(spectrum/wave)
Visualizer is just blank.
What else could it be?
Do I need mpd-git as well?
Offline
Last edited by Montague (2015-07-28 02:56:34)
Offline
Well I've got the visualizer working with plain mpd + ncmpcpp-git, so no. I'll post my complete config file next time I'm at my computer (soon).
Edit: here they are: /etc/mpd.conf and ~/.ncmpcpp/config
Hope you can find some guidance in them files!
Yeah, I copied your config files exactly and it still didnt work.
Maybe it's a urxvt issue or something.
Offline
Last edited by Montague (2015-07-28 02:57:04)
Offline
Laggg wrote:Maybe it's a urxvt issue or something.
Well I have the visualizer running in urxvt, so it works over here...
Just a wild guess, it may be an character encoding thing?...
Try to add the following line in your ~/.ncmpcpp/configvisualizer_look = "+|"
That was it!
Now it absolutely works!!
Thanks so much Montague!
Offline
Last edited by Montague (2015-07-28 02:57:51)
Offline
Pages: 1