Skip to content

Instantly share code, notes, and snippets.

@pbrisbin
Created March 23, 2011 13:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbrisbin/883120 to your computer and use it in GitHub Desktop.
Save pbrisbin/883120 to your computer and use it in GitHub Desktop.
mpd visualizer setup.
mpd config
299 ## A Fifo output for visualizations in ncmpcpp-git
300 #
301 audio_output {
302 type "fifo"
303 name "ncmpcpp visualizer"
304 path "/tmp/mpd.fifo"
305 format "44100:16:1"
ncmpcpp config
23 ##### music visualizer #####
24 ##
25 ## Note: In order to make music visualizer work you'll
26 ## need to use mpd fifo output, whose format parameter
27 ## has to be set to 44100:16:1. Example configuration:
28 ## (it has to be put into mpd.conf)
29 ##
30 ## audio_output {
31 ## type "fifo"
32 ## name "My FIFO"
33 ## path "/tmp/mpd.fifo"
34 ## format "44100:16:1"
35 ## }
36 ##
37 #
38 #visualizer_fifo_path = ""
39 visualizer_fifo_path = "/tmp/mpd.fifo"
and finally,
//blue/0/~/ ll /tmp/mpd.*
prw-r--r-- 1 patrick patrick 0 Mar 23 09:58 /tmp/mpd.fifo
restart yo shit...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment