@@ -22,6 +22,8 @@ def practice_document(document: dict) -> dict:
|
||||
section_label=str(measure.get("section_label", "")),
|
||||
)
|
||||
output_measure['voices'] = voices
|
||||
for chord in output_measure['harmonies']:
|
||||
chord.pop('chord_optional', None)
|
||||
measures.append(output_measure)
|
||||
tuplets = reidentify(measures, staff.get('tuplets', []))
|
||||
result = make_arranged_document(
|
||||
|
||||
@@ -86,8 +86,6 @@ def extend_fingerings(held: dict[str, TabPosition], pending: list[tuple[str, tup
|
||||
yield from extend_fingerings({**held, identifier: position}, pending[1:])
|
||||
|
||||
def validate_guitar_practice(document: dict) -> None:
|
||||
from generator.repeats import expand_document
|
||||
document = expand_document(document)
|
||||
tones = guitar_tones(document)
|
||||
by_id = {tone.pitch['id']: tone for tone in tones}
|
||||
options = {tone.pitch['id']: tone_positions(tone) for tone in tones}
|
||||
|
||||
Reference in New Issue
Block a user