matthiasm@8
|
1 % C4DM Chord Symbols Toolkit
|
matthiasm@8
|
2 %
|
matthiasm@8
|
3 % Version 1.0 November 05
|
matthiasm@8
|
4 %
|
matthiasm@8
|
5 %TYPES
|
matthiasm@8
|
6 % types - help describes types, structures and enumerations used in toolbox
|
matthiasm@8
|
7 %
|
matthiasm@8
|
8 %SYMBOL MANIPULATION FUNCTIONS
|
matthiasm@8
|
9 % parsechord - Parse chord symbol to its constituent string elements
|
matthiasm@8
|
10 % parsenote - Parse a note string to a natural plus accidentals
|
matthiasm@8
|
11 % parsedegree - Parse a degree to an interval plus accidentals
|
matthiasm@8
|
12 % parsedegreelist - Parse a degree list to intervals and accidentals
|
matthiasm@8
|
13 % degree2semitone - Convert a degree to equivalent number of semitones
|
matthiasm@8
|
14 % interval2semitone - Convert interval + accidentals to semitone value
|
matthiasm@8
|
15 % interval2degree - Convert interval + accidentals to a degree string
|
matthiasm@8
|
16 % degrees2semitones - Convert a degree list to an array of semitone values
|
matthiasm@8
|
17 % degree2note - Convert a degree to correctly spelled note w.r.t. a root
|
matthiasm@8
|
18 % degrees2quality - Return the quality of a given degreelist
|
matthiasm@8
|
19 % note2pitchclass - Convert a note to a pitchclass value w.r.t middle C
|
matthiasm@8
|
20 % notes2pitchclasses - Convert a note list to an array pitchclasses
|
matthiasm@8
|
21 % note2fifthinfo - Find line of fifths natural-position and accidentals
|
matthiasm@8
|
22 % note2fifthposition - Find note position on the line of fifths w.r.t. C=0
|
matthiasm@8
|
23 % notes2fifthpositions - Convert notes list to positions on line of fifths
|
matthiasm@8
|
24 % note2degree - Convert a note to a degree w.r.t. a given root
|
matthiasm@8
|
25 % shorthand2degrees - Convert a shorthand string to equivalent degreelist
|
matthiasm@8
|
26 % short2quality - Return the quality of a given shorthand string
|
matthiasm@8
|
27 %
|
matthiasm@8
|
28 %
|
matthiasm@8
|
29 %HIGHER LEVEL FUNCTIONS
|
matthiasm@8
|
30 % getchordinfo - Check chord symbol validity and return constituent parts
|
matthiasm@8
|
31 % syntaxcheck - Check the syntax and validity of a chord symbol
|
matthiasm@8
|
32 % addshort2list - Combine degrees of a shorthand with another degree list
|
matthiasm@8
|
33 % chord2quality - Returns the chord quality of a given chord symbol
|
matthiasm@8
|
34 % chord2notes - Convert chord symbol to list of constituent notes
|
matthiasm@8
|
35 % chord2midinotes - Generate MIDI note values for a given chord symbol
|
matthiasm@8
|
36 % chord2pitchclasses - Convert chord symbol to array of pitch classes
|
matthiasm@8
|
37 % chord2fifthpositions - Convert chord symbol to pitch positions on line of fifths
|
matthiasm@8
|
38 %
|
matthiasm@8
|
39 %LAB FILE FUNCTIONS
|
matthiasm@8
|
40 % labread - Read in times and symbols from a lab file
|
matthiasm@8
|
41 % labwrite - Write times and symbols to a lab file
|
matthiasm@8
|
42 % mlf2lab - Convert an mlf transcription file to a lab file
|
matthiasm@8
|
43 % checklabsyntax - Check the syntax of all chords in a lab file
|
matthiasm@8
|
44 % checklabs - Check chord syntax in all lab files in a directory
|
matthiasm@8
|
45 %
|
matthiasm@8
|
46 % Author: Christopher Harte, September 05
|
matthiasm@8
|
47 %
|
matthiasm@8
|
48 % Copyright: Centre for Digital Music, Queen Mary University of London 2005
|
matthiasm@8
|
49 %
|
matthiasm@8
|
50 % This file is part of the C4DM Chord Toolkit.
|
matthiasm@8
|
51 %
|
matthiasm@8
|
52 % The C4DM Chord Toolkit is free software; you can redistribute it and/or
|
matthiasm@8
|
53 % modify it under the terms of the GNU General Public License as published
|
matthiasm@8
|
54 % by the Free Software Foundation; either version 2 of the License, or
|
matthiasm@8
|
55 % (at your option) any later version.
|
matthiasm@8
|
56 %
|
matthiasm@8
|
57 % The C4DM Chord Toolkit is distributed in the hope that it will be useful,
|
matthiasm@8
|
58 % but WITHOUT ANY WARRANTY; without even the implied warranty of
|
matthiasm@8
|
59 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
matthiasm@8
|
60 % GNU General Public License for more details.
|
matthiasm@8
|
61 %
|
matthiasm@8
|
62 % You should have received a copy of the GNU General Public License
|
matthiasm@8
|
63 % along with the C4DM Toolkit; if not, write to the Free Software
|
matthiasm@8
|
64 % Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|