Namespace: roman

music21. roman

music21.roman -- namespace for dealing with RomanNumeral analysis.

Source:

Requires

  • module:music21/chord
  • module:music21/common
  • module:music21/figuredBass
  • module:music21/harmony
  • module:music21/key
  • module:music21/pitch
  • module:music21/interval

Classes

RomanNumeral

Members

<static> roman.romanToNumber

maps an index number to a roman numeral in lowercase

Source:
Example
music21.roman.romanToNumber[4]
// 'iv'

Methods

<static> roman.correctSuffixForChordQuality(chordObj, inversionString) → {string}

correctSuffixForChordQuality - Correct a given inversionString suffix given a
chord of various qualities.

Parameters:
Name Type Description
chordObj music21.chord.Chord
inversionString string

a string like '6' to fix.

Source:
Returns:

corrected inversionString

Type
string

<static> roman.expandShortHand(shorthand) → {Array.<string>}

expandShortHand - expand a string of numbers into an array

N.B. this is NOT where abbreviations get expanded

Parameters:
Name Type Description
shorthand string

string of a figure w/o roman to parse

Source:
Returns:

array of shorthands

Type
Array.<string>
Music21j, Copyright © 2013-2018 Michael Scott Cuthbert and cuthbertLab.
Documentation generated by JSDoc 3.5.5 on Wed Jul 4th 2018 using the DocStrap template.