a library for writing music in perl


Mubber is the toolkit I've built for writing music over the past five years, since I made the stubborn decision not to use anyone else's software. It consists of a synthesis engine written in glib-based C and a perl layer which makes it easy to write in terms of sequences, notes, and so forth, in a mostly functional style.

In case that didn't limit its appeal enough (I only recently heard of others making music with perl), I should mention that it makes no particular attempt to operate in real time. Nor does it have any facilities for making changes while it's running. Nonetheless, I find it pleasant enough to use for writing whole songs . . . who knows, maybe someone else will too.

Documentation is currently only in comments in the source code, so by all means if you have any questions.


  • perl >= 5.6.0
  • glib 2.0 >= 2.0.6
  • fftw2
  • libsndfile >= 1.0.2
  • Math::Rand48
  • Parse::RecDescent
tested platforms

  • Linux 2.4, 2.6
  • Mac OS 10.2 (10.3 coming soon)

Source tarball:

For cvs access, mailing lists, etc., please see the sourceforge project page.

sample output

Check out

copyright © 1999 - 2004 Michael Radford Logo

We are building a Fighting Force of Extraordinary Magnitude.