The Musimat Home Page

NEW VERSION 1.2 – Release Notes

Musimat Version 1.2 was released November 26, 2010.


The Musimat code in Gareth Loy's book "Musimathics Vol. 1" can be downloaded for free here.  Or, you can view the sources and other documentation for Musimat on-line here.

What Is Musimat?

In "Musimathics Vol. 1", Gareth Loy introduces a programming language he calls "Musimat", designed for the musical examples in his book. He describes Musimat as "C++ in sheep's clothing." Indeed, Musimat is a simplified version of the C++ programming language designed for didactic purposes. Musimat provides a straightforward introduction to programming in a modern computer language and especially provides a demonstration of how to begin to adapt such a language to musical purposes.

The Musimat code consists of  three software projects:

Download Musimat

The software download consists of source code in Musimat and C++, documentation, makefiles, executables, and project files for building the source code.

Code Development Tools

If you just want to examine the code, you can view it on-line here. To compile and run the code, you will need to have a C++ code development platform, such as:

If you are just getting started and run Windows, I recommend the freeware version of Visual .NET C++, or the full version if you can afford it.  If not, then Cygwin is free, but offers only a line-oriented user interface.  Visual SlickEdit provides an IDE, is very flexible, and has many useful features at moderate price. Unix and Linux are complete operating systems that include line-oriented code development systems. Apple's Xcode is excellent and free if you are running MacOSX.

Musimat On-Line Documentation

Documentation consists of::

Additional Links

Other links of interest:


Musimat, the Musimat Tutorial, the documentation, examples, and library are © 2006 Gareth Loy, and are released under the terms of the GNU General Public License available here:  Musimat is released WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see :, or the file, LICENSE.txt, in this distribution. 

Last updated: October 30, 2010