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

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