00001 #ifndef __TUTORIAL__ 00002 #define __TUTORIAL__ 00003 00004 // The Musimat Tutorial © 2006 Gareth Loy 00005 // Derived from Chapter 9 and Appendix B of "Musimathics Vol. 1" © 2006 Gareth Loy 00006 // and published exclusively by The MIT Press. 00007 // This program is released WITHOUT ANY WARRANTY; without even the implied 00008 // warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00009 // For information on usage and redistribution, and for a DISCLAIMER OF ALL 00010 // WARRANTIES, see the file, "LICENSE.txt," in this distribution. 00011 // "Musimathics" is available here: http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=10916 00012 // Gareth Loy's Musimathics website: http://www.musimathics.com/ 00013 // The Musimat website: http://www.musimat.com/ 00014 // This program is released under the terms of the GNU General Public License 00015 // available here: http://www.gnu.org/licenses/gpl.txt 00016 00017 #include "Musimat.h" 00018 #include "Pitches.h" 00019 00020 namespace Chapter9 { 00021 void musimatCh9(); // Chapter 9 tutorial 00022 void musimatCircularPermutation1(); 00023 void musimatCircularPermutation2(); 00024 } // end namespace Chapter9 00025 00026 namespace MusimatTutorial { 00027 void B0100(); 00028 void B0101(); 00029 void B0102(); 00030 void B0103(); 00031 void B0104(); 00032 void B0105(); 00033 void B0106(); 00034 void B0107(); 00035 void B0108(); 00036 void B0109(); 00037 void B0110(); 00038 void B0111(); 00039 void B0112(); 00040 void B0113(); 00041 void B0114(); 00042 void B0115(); 00043 void B0116(); 00044 void B0117(); 00045 void B0118(); 00046 void B0119(); 00047 void B0120(); 00048 void B0121(); 00049 void B0122(); 00050 void B0123(); 00051 void B0124(); 00052 void B0125(); 00053 void B0126(); 00054 void B0127(); 00055 void B0128(); 00056 void B0129(); 00057 void B0200(); 00058 void B0201(); 00059 void B0201a(); 00060 void B0201b(); 00061 void B0201c(); 00062 void B0201d(); 00063 void B0202(); 00064 void B0203(); 00065 void B0204(); 00066 void B0300(); 00067 void B0400(); 00068 00069 void testEuclid(); 00070 static void sumExample1(); 00071 static void sumExample2(); 00072 static void para1(); 00073 static void para2(); 00074 static void addExample(); 00075 00076 Real pitchToHz( Pitch, Real, RealList); 00077 00078 } // end namespace MusimatTutorial 00079 00080 #define MusimatTutorialSection(x)namespace MusimatTutorial { void x() 00081 00082 #endif // __TUTORIAL__
1.4.7