This program draws a three-dimensional visualization (which currently is a spectrogram) of music played by the Music Player Daemon, using the OpenGL API. It is currently at an experimental stage with (almost) no features.
Run make in the main directory (the one with this file). After successful build, the executable file should appear in the src directory. There's currently no build tools used, they will be later. If you happen to get a link error, it a missing dependency most probably.
This is hopefully a full list:
- OpenGL (comes with your graphic drivers usually). Note you need OpenGL 1.5 or higher supported by the drivers.
- GLU (comes with OpenGL usually).
- GLFW
- GLEW
- FFTW3
- MPD
Put this in your MPD config (usually /etc/mpd.conf):
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:1"
}
Note the path and format has to be this, otherwise it won't work. For now, later it will be configurable of course. Now start the program and play some music with MPD. Remember to have another output like alsa enabled as well, so that you can hear what's playing.
- GNU/Linux
- FreeBSD should work too (not tested)