Class: RomanNumeral

.roman. RomanNumeral

new RomanNumeral(figure, keyStr)

Represents a RomanNumeral. By default, capital Roman Numerals are
major chords; lowercase are minor.

Parameters:
Name Type Argument Default Description
figure string

the roman numeral as a string, e.g., 'IV', 'viio', 'V7'

keyStr string | music21.key.Key <optional>
'C'
Properties:
Name Type Description
scale Array.<music21.pitch.Pitch>

(readonly) returns the scale associated with the roman numeral

key music21.key.Key

the key associated with the RomanNumeral (not allowed to be undefined yet)

figure string

the figure as passed in

degreeName string

the name associated with the scale degree, such as "mediant" etc., scale 7 will be "leading tone" or "subtonic" appropriately

scaleDegree int
impliedQuality string | undefined

"major", "minor", "diminished", "augmented"

secondaryRomanNumeral music21.roman.RomanNumeral | undefined
secondaryRomanNumeralKey music21.key.Key | undefined
frontAlterationString string | undefined
frontAlterationTransposeInterval music21.interval.Interval | undefined
frontAlterationAccidental music21.pitch.Accidental | undefined
romanNumeralAlone string | undefined
impliedScale scale.Scale | boolean | undefined
scaleOffset music21.interval.Interval | undefined
pitches Array.<music21.pitch.Pitch>

RomanNumerals are Chord objects, so .pitches will work for them also.

Source:

Extends

  • music21.harmony.Harmony
Music21j, Copyright © 2013-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.