May 29, 2009 · General · Email This Post

Sponsored Link
projectM is an audio visualizer that is pretty spiffy. Just have it running while playing audio on your system and you will get some pretty cool effects to go with your music's beats and rhythms. It's by far my favorite addition to my Ubuntu 9.04 64bit HTPC.

These instructions cover how to build this from source using Subversion. All italicized instuctions are commands that you can copy and paste (one line at a time), otherwise they are just that -- only instructions.

1. First, lets get a few packages:

sudo apt-get install libglew1.5 libglew1.5-dev
ftgl-dev libpulse-dev subversion 
sudo apt-get install cmake libvisual-0.4-dev
libsdl-dev libqt4-dev build-essential
(Note: It's likely you may already have some of these packages, if so that's cool.)

2.  Next, add the trunk (the files you will need) to a directory in our home folder:

cd~
cd projectM-Trunk/src
mkdir projectm
cd projectm
svn co https://projectm.svn.sf.net/svnroot/projectm/trunk projectM-Trunk

3. Now we can  start the steps to configure before we install:

ccmake .
(Note: There's a "space" then "dot" after ccmake.)
Press "c" to enter the cmake configure screen.
Change the "CMAKE_INSTALL_PREFIX" value from "/usr/local" to "/usr".
Change the "CMAKE_BUILD_TYPE" to "Release".
Press "g" to generate your changes, which will create your makefile needed for compiling.
Press "q" after that has been generated.

4. Now we are ready to compile and install:

make
sudo make install

5. You should now see ProjectM-pulseaudio in your Sound menu under the Applications menu. Just start this up before or after launching your music player (I prefer Songbird). You can also start it from the CLI (command line) by typing:

projectM-pulseaudio

6. You can enter/exit fullscreen mode by pressing "f" when the projectM window is selected. Pressing "m" will bring up projectM's menus where you can select different presets and play with settings. Pressing "l" will stop the cycling of presets, and only display the one currently being used. Have fun!

projectM Homepage:

http://projectm.sourceforge.net/

Articles that helped me with my first projectM install:

http://ubuntuforums.org/showthread.php?t=749793

http://projectm.wiki.sourceforge.net/Installation+Instructions

Sponsored Link

Incoming search terms:

Related posts

34 Comments to “Ubuntu Howto: Install projectM Audio Visualizer”

  1. Daryl Tucker says:

    sudo apt-get install cmake-curses-gui

    ccmake is required by this tutorial, as well as cmake.

    [Reply]

  2. Al Pagan says:

    Just like to add that, following these instructions, I’ve successfully managed to build and compile projectm on Ubuntu Natty.

    This was surprising, as it’s refused to compile successfully on the previous 2 versions of Ubuntu due to a pulseaudio problem. Looks like it’s been fixed for Natty! Hurrah!

    [Reply]

  3. alex says:

    this worked on natty only when the svn address was projectM-Trun (minus the k) otherwise reported an invalid certificate.

    [Reply]

Leave a Reply