view chordtools/contents.m @ 1:8973548174c1 tip

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