Added rest and chords to music21 converter

This commit is contained in:
2023-02-16 00:41:31 +02:00
parent f6c6497319
commit 1ff7e3b6d2
3 changed files with 19 additions and 10 deletions

View File

@ -401,7 +401,7 @@ class Sequence(Meta):
text=pitch_text,
pitch_classes=pitch_classes,
notes=chord_notes,
kwargs=options,
kwargs=options
)
return chord
@ -416,6 +416,7 @@ class Sequence(Meta):
elif isinstance(item, (RandomPitch, RandomInteger)):
item = _create_pitch(item, options)
elif isinstance(item, Chord):
item.update_options(options)
item.update_notes(options)
elif isinstance(item, RomanNumeral):
item = _create_chord_from_roman(item, options)