#ifndef __TUTORIAL__
#define __TUTORIAL__

// The Musimat Tutorial © 2006 Gareth Loy
// Derived from Chapter 9 and Appendix B of "Musimathics Vol. 1" © 2006 Gareth Loy 
// and published exclusively by The MIT Press.
// This program 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 the file, "LICENSE.txt," in this distribution.
// "Musimathics" is available here:	http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=10916
// Gareth Loy's Musimathics website:	http://www.musimathics.com/
// The Musimat website:			http://www.musimat.com/
// This program is released under the terms of the GNU General Public License
// available here:			http://www.gnu.org/licenses/gpl.txt

#include "Musimat.h"
#include "Pitches.h"

namespace Chapter9 {
	void musimatCh9();  // Chapter 9 tutorial
	void musimatCircularPermutation1();
	void musimatCircularPermutation2();
} // end namespace Chapter9

namespace MusimatTutorial {
	void B0100();
	void B0101();
	void B0102();
	void B0103();
	void B0104();
	void B0105();
	void B0106();
	void B0107();
	void B0108();
	void B0109();
	void B0110();
	void B0111();
	void B0112();
	void B0113();
	void B0114();
	void B0115();
	void B0116();
	void B0117();
	void B0118();
	void B0119();
	void B0120();
	void B0121();
	void B0122();
	void B0123();
	void B0124();
	void B0125();
	void B0126();
	void B0127();
	void B0128();
	void B0129();
	void B0200();
	void B0201();
	void B0201a();
	void B0201b();
	void B0201c();
	void B0201d();
	void B0202();
	void B0203();
	void B0204();
	void B0300();
	void B0400();
	
	void testEuclid();
	static void sumExample1();
	static void sumExample2();
	static void para1();
	static void para2();
	static void addExample();

	Real pitchToHz( Pitch,	Real, RealList);								

} // end namespace MusimatTutorial

#define MusimatTutorialSection(x)namespace MusimatTutorial { void x()

#endif // __TUTORIAL__
