Namespace: roman

roman

music21j -- Javascript reimplementation of Core music21p features.
music21/roman -- roman.RomanNumeral -- Chord subclass

Copyright (c) 2013-19, Michael Scott Cuthbert and cuthbertLab
Based on music21 (=music21p), Copyright (c) 2006–19, Michael Scott Cuthbert and cuthbertLab

Roman numeral module. See music21.roman namespace
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, constant> exports.romanToNumber

maps an index number to a roman numeral in lowercase

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

Methods

<static> exports.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> exports.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-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.