To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / _chordtools / types.m
History | View | Annotate | Download (2.24 KB)
| 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 digits 1|2|3|4|5|6|7|8|9|10|11|12|13 |
| 31 |
% |
| 32 |
% |
| 33 |
%DEGREE |
| 34 |
% |
| 35 |
% Character string containing one interval and optional modifiers. |
| 36 |
% Modifiers may only occur before the interval. |
| 37 |
% |
| 38 |
% degree = <interval> | <modifier> <degree> |
| 39 |
% |
| 40 |
% |
| 41 |
% *** OTHER TYPES *** |
| 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 number of semitone intervals. |
| 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, August 2005 |
| 96 |
% |
| 97 |
% Copyright: Centre for Digital Music, Queen Mary University of London 2005 |
| 98 |
% |
| 99 |
% This file is part of the C4DM Chord Toolkit. |
| 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 |
% |