Class: RomanNumeral

music21.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

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

pitches Array.<music21.pitch.Pitch>

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

Source:

Extends

Methods

<static> RomanNumeral#_updatePitches()

Update the .pitches array. Called at instantiation, but not automatically afterwards.

Source:

<static> RomanNumeral#asString(displayType, inversion) → {String}

Gives a string display. Note that since inversion is not yet supported
it needs to be given separately.

Inverting 7th chords does not work.

Parameters:
Name Type Argument Default Description
displayType string

['roman', 'bassName', 'nameOnly', other]

inversion Int <optional>
0
Source:
Returns:
Type
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.