RomanNumeral

class tonalanalysistools.RomanNumeral(*arguments)

A functions in tonal harmony: I, I6, I64, V, V7, V43, V42, bII, bII6, etc., also i, i6, i64, v, v7, etc.

Value object that can not be changed after instantiation.

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_abctools { graph [label=abctools]; "abjad.tools.abctools.AbjadObject.AbjadObject" [color=1, group=0, label=AbjadObject, shape=box]; "abjad.tools.abctools.AbjadObject.AbstractBase" [color=1, group=0, label=AbstractBase, shape=box]; "abjad.tools.abctools.AbjadValueObject.AbjadValueObject" [color=1, group=0, label=AbjadValueObject, shape=box]; "abjad.tools.abctools.AbjadObject.AbjadObject" -> "abjad.tools.abctools.AbjadValueObject.AbjadValueObject"; "abjad.tools.abctools.AbjadObject.AbstractBase" -> "abjad.tools.abctools.AbjadObject.AbjadObject"; } subgraph cluster_tonalanalysistools { graph [label=tonalanalysistools]; "abjad.tools.tonalanalysistools.RomanNumeral.RomanNumeral" [color=black, fontcolor=white, group=2, label=<<B>RomanNumeral</B>>, shape=box, style="filled, rounded"]; } subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=2, group=1, label=object, shape=box]; } "abjad.tools.abctools.AbjadValueObject.AbjadValueObject" -> "abjad.tools.tonalanalysistools.RomanNumeral.RomanNumeral"; "builtins.object" -> "abjad.tools.abctools.AbjadObject.AbstractBase"; }

Bases

Attribute summary

bass_scale_degree Base scale degree of roman numeral.
extent Extend of roman numeral.
figured_bass_string Figured bass string of roman numeral.
inversion Inversion of roman numeral.
markup Markup of roman numeral.
quality Quality of roman numeral.
root_scale_degree Root scale degree.
scale_degree Scale degree of roman numeral.
suspension Suspension of roman numeral.
symbolic_string Symbolic string of roman numeral.
__copy__(*arguments) Copies Abjad value object.
__eq__(arg) Is true when arg is a roman numeral with scale degree, quality, extent, inversion and suspension equal to those of this roman numeral.
__format__([format_specification]) Formats Abjad object.
__hash__() Hashes roman numeral.
__ne__(arg) Is true when roman numeral does not equal arg.
__repr__() Gets interpreter representation of arg.

Read-only properties

RomanNumeral.bass_scale_degree

Base scale degree of roman numeral.

Returns scale degree.

RomanNumeral.extent

Extend of roman numeral.

Returns extent.

RomanNumeral.figured_bass_string

Figured bass string of roman numeral.

Returns string.

RomanNumeral.inversion

Inversion of roman numeral.

Returns nonnegative integer.

RomanNumeral.markup

Markup of roman numeral.

Returns markup.

RomanNumeral.quality

Quality of roman numeral.

Returns chord quality.

RomanNumeral.root_scale_degree

Root scale degree.

Returns scale degree.

RomanNumeral.scale_degree

Scale degree of roman numeral.

Returns scale degree.

RomanNumeral.suspension

Suspension of roman numeral.

Returns suspension.

RomanNumeral.symbolic_string

Symbolic string of roman numeral.

Returns string.

Special methods

(AbjadValueObject).__copy__(*arguments)

Copies Abjad value object.

Returns new Abjad value object.

RomanNumeral.__eq__(arg)

Is true when arg is a roman numeral with scale degree, quality, extent, inversion and suspension equal to those of this roman numeral. Otherwise false.

Returns true or false.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’.

Returns string.

RomanNumeral.__hash__()

Hashes roman numeral.

Required to be explicitly redefined on Python 3 if __eq__ changes.

Returns integer.

RomanNumeral.__ne__(arg)

Is true when roman numeral does not equal arg. Otherwise false.

Returns true or false.

RomanNumeral.__repr__()

Gets interpreter representation of arg.

Returns string.