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