christopherh@1: % C4DM Chord Symbols Toolkit christopherh@1: % christopherh@1: % Version 2.0 March 2009 christopherh@1: % christopherh@1: %TYPES christopherh@1: % types - help describes types, structures and enumerations used in toolkit christopherh@1: % christopherh@1: %SYMBOL MANIPULATION FUNCTIONS christopherh@1: % parsechord - Parse chord symbol to its constituent string elements christopherh@1: % parsenote - Parse a note string to a natural plus accidentals christopherh@1: % parseinterval - Parse an interval to a degree plus accidentals christopherh@1: % parseintervals - Parse an interval list to degrees and accidentals christopherh@1: % interval2semitone - Convert an interval to equivalent number of semitones christopherh@1: % degree2semitone - Convert degree + accidentals to semitone value christopherh@1: % degree2interval - Convert degree + accidentals to an interval string christopherh@1: % intervals2semitones - Convert an interval list to an array of semitone values christopherh@1: % interval2note - Convert an interval to correctly spelled note w.r.t. a root christopherh@1: % intervals2quality - Return the quality of a given interval list christopherh@1: % note2pitchclass - Convert a note to a pitchclass value w.r.t C=0 christopherh@1: % notes2pitchclasses - Convert a note list to an array pitchclasses christopherh@1: % note2fifthinfo - Find line of fifths natural-position and accidentals christopherh@1: % note2fifthposition - Find note position on the line of fifths w.r.t. C=0 christopherh@1: % notes2fifthpositions - Convert notes list to positions on line of fifths christopherh@1: % note2interval - Convert a note to an interval w.r.t. a given root christopherh@1: % shorthand2intervals - Convert a shorthand string to equivalent interval list christopherh@1: % short2quality - Return the quality of a given shorthand string christopherh@1: % christopherh@1: % christopherh@1: %HIGHER LEVEL CHORD SYMBOL FUNCTIONS christopherh@1: % getchordinfo - Check chord symbol validity and return constituent parts christopherh@1: % syntaxcheck - Check the syntax and validity of a chord symbol christopherh@1: % addshort2list - Combine intervals of a shorthand with another interval list christopherh@1: % chord2quality - Returns the chord quality of a given chord symbol christopherh@1: % chord2notes - Convert chord symbol to list of constituent notes christopherh@1: % chord2midinotes - Generate MIDI note values for a given chord symbol christopherh@1: % chord2pitchclasses - Convert chord symbol to array of pitch classes w.r.t C=0 christopherh@1: % chord2fifthpositions - Convert chord symbol to pitch positions on line of fifths christopherh@1: % christopherh@1: %LAB FILE FUNCTIONS christopherh@1: % labread - Read in times and symbols from a lab file christopherh@1: % labwrite - Write times and symbols to a lab file christopherh@1: % mlf2lab - Convert an mlf transcription file to a lab file christopherh@1: % checklabsyntax - Check the syntax of all chords in a lab file christopherh@1: % checklabs - Check chord syntax in all lab files in a directory christopherh@1: % christopherh@1: % Author: Christopher Harte, March 2009 christopherh@1: % christopherh@1: % Copyright: Centre for Digital Music, Queen Mary University of London 2005 christopherh@1: % christopherh@1: % This file is part of the C4DM Chord Toolkit version 2.0 christopherh@1: % christopherh@1: % The C4DM Chord Toolkit is free software; you can redistribute it and/or christopherh@1: % modify it under the terms of the GNU General Public License as published christopherh@1: % by the Free Software Foundation; either version 2 of the License, or christopherh@1: % (at your option) any later version. christopherh@1: % christopherh@1: % The C4DM Chord Toolkit is distributed in the hope that it will be useful, christopherh@1: % but WITHOUT ANY WARRANTY; without even the implied warranty of christopherh@1: % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the christopherh@1: % GNU General Public License for more details. christopherh@1: % christopherh@1: % You should have received a copy of the GNU General Public License christopherh@1: % along with the C4DM Toolkit; if not, write to the Free Software christopherh@1: % Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA