comparison chordtools/types.m @ 1:8973548174c1 tip

adding tools to repo
author christopherh
date Mon, 06 May 2013 14:43:47 +0100
parents
children
comparison
equal deleted inserted replaced
0:0a4ad3e72e75 1:8973548174c1
1 %
2 %TYPES for C4DM Chord Toolkit
3 %
4 % Help file on types, structures and enumerations used in chord symbol
5 % toolbox
6 %
7 %
8 % *** STRING TYPES ***
9 %
10 %NATURAL
11 %
12 % Character A|B|C|D|E|F|G
13 %
14 %
15 %MODIFIER
16 %
17 % Character b|#
18 %
19 %
20 %NOTE
21 %
22 % Character string containing one natural and optional modifiers.
23 % Modifiers may only occur after the natural.
24 %
25 % note = <natural> | <note> <modifier>
26 %
27 %
28 %INTERVAL
29 %
30 % Character string containing one degree and optional modifiers.
31 % Modifiers may only occur before the degree.
32 %
33 % interval = <degree> | <modifier> <interval>
34 %
35 %
36 % *** OTHER TYPES ***
37 %
38 %DEGREE
39 %
40 % Integer which can take values in the range 1 to 13
41 %
42 %
43 %ACCIDENTALS
44 %
45 % signed integer number of sharps or flats. If positive then denotes
46 % sharps, if negative then denotes flats.
47 %
48 %
49 %SEMITONE
50 %
51 % Integer value signifying a relative number of semitones.
52 %
53 %
54 %PITCHCLASS
55 %
56 % Integer value between 0 and 11 enumerating pitch classes with C as
57 % reference pitch class 0.
58 %
59 %
60 %CHORDTYPE
61 %
62 % Enumerates shorthand chordtypes
63 %
64 % 0 maj
65 % 1 min
66 % 2 dim
67 % 3 aug
68 % 4 maj7
69 % 5 min7
70 % 6 7
71 % 7 dim7
72 % 8 hdim7
73 % 9 minmaj7
74 % 10 maj6
75 % 11 min6
76 % 12 9
77 % 13 maj9
78 % 14 min9
79 % 15 sus4
80 % 16 sus2
81 %
82 %QUALITY
83 %
84 % Enumerates chord quality
85 %
86 % 0 Major
87 % 1 Minor
88 % 2 Diminished
89 % 3 Augmented
90 % 4 Suspended
91 %
92 %
93 %
94 %
95 % Author: Christopher Harte, March 2009
96 %
97 % Copyright: Centre for Digital Music, Queen Mary University of London 2005
98 %
99 % This file is part of the C4DM Chord Toolkit V2.0
100 %
101 % The C4DM Chord Toolkit is free software; you can redistribute it and/or
102 % modify it under the terms of the GNU General Public License as published
103 % by the Free Software Foundation; either version 2 of the License, or
104 % (at your option) any later version.
105 %
106 % The C4DM Chord Toolkit is distributed in the hope that it will be useful,
107 % but WITHOUT ANY WARRANTY; without even the implied warranty of
108 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
109 % GNU General Public License for more details.
110 %
111 % You should have received a copy of the GNU General Public License
112 % along with the C4DM Toolkit; if not, write to the Free Software
113 % Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
114 %