From 292e3e8e2ba7e2de037e707a7d4c9cf35365615d Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 21 Mar 2023 09:34:07 -0400 Subject: [PATCH] meta: Add visualization support This should have an insignificant impact on performance, so it doesn't hurt to have the option to run a visualizer with ncmpcpp or other applications. --- mpd/.config/mpd/mpd.conf | 7 +++++++ ncmpcpp/.config/ncmpcpp/config | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/mpd/.config/mpd/mpd.conf b/mpd/.config/mpd/mpd.conf index 6d88cec..0749a39 100644 --- a/mpd/.config/mpd/mpd.conf +++ b/mpd/.config/mpd/mpd.conf @@ -13,4 +13,11 @@ audio_output { name "PipeWire Sound Server" } +audio_output { + type "fifo" + name "my_fifo" + path "/tmp/mpd.fifo" + format "44100:16:2" +} + auto_update "yes" diff --git a/ncmpcpp/.config/ncmpcpp/config b/ncmpcpp/.config/ncmpcpp/config index 624bdc9..6bd8f35 100644 --- a/ncmpcpp/.config/ncmpcpp/config +++ b/ncmpcpp/.config/ncmpcpp/config @@ -21,3 +21,10 @@ allow_for_physical_item_deletion = "no" mouse_support = "no" execute_on_song_change = "~/.config/mpd/mpdnotify" + +# Visualizer support +visualizer_data_source = "/tmp/mpd.fifo" +visualizer_output_name = "my_fifo" +visualizer_in_stereo = "yes" +visualizer_type = "spectrum" +visualizer_look = "+|"