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