Skip to content
Simple guitar tuner sample app with BSD license
C C++
Find file
Latest commit c67ad99 Jul 19, 2014 @bejayoharen Merge pull request #2 from pope/master
Port guitartuner to Ubuntu.
Failed to load latest commit information.
src Port guitartuner to Ubuntu. Jul 12, 2014
.gitignore improved build Jul 22, 2012 Port guitartuner to Ubuntu. Jul 13, 2014
makefile Port guitartuner to Ubuntu. Jul 13, 2014


Simple guitar tuner sample app with BSD license.

There are plenty of tuners out there, this one is designed to be easy to understand and follow. It should also be easy to port to other platforms, though right now it compiles only on OS X and Linux.

To Compile:

  1. OS X and Linux only :(patches for other apps accepted!)
  2. Download and install portaudio.
    • For OS X, use homebrew or macports to install -- port install portaudio.
    • For Ubuntu, use apt-get install portaudio19-dev.
  3. run "make"
  4. the output is ./tuner


Tuner Copyright (C) 2012 by Bjorn Roche

FFT Copyright (C) 1989 by Jef Poskanzer

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.

More Info

This tuner app works by calculating the magnatude of the FFT, which is not the ideal method, but it works well enough.

You can find more info about this code on Bjorn Roche's blog:

Something went wrong with that request. Please try again.