Humdrum: section-structured kern file parses to 8 of 69 measures (silent truncation)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 56/100
Línea de trabajo
Start with the Humdrum importer used by converter.parse and reproduce with the mazurka41-2.krn file from the chopin-mazurkas set; compare the parsed measure count and numbering with the source’s 69 barlines and section labels. Investigate how section labels and the expansion list are handled. Done means the importer preserves the full expanded sequence, or at least all sections in source order, rather than silently returning only measures 1–8.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Environment: music21 10.5.0, Python 3.14, macOS.
Summary: the Humdrum importer parses a section-structured kern file to a small fraction of its measures. The kernscores transcription of Chopin's Mazurka Op. 41 No. 2 (mazurka41-2.krn: 69 numbered measures, section labels *>A, *>B, ... with an expansion list) parses to a score whose parts contain 8 measures, numbered 1–8 — the remaining ~61 source measures are silently absent. Content addressed by source measure number (e.g. a text annotation at source measure 64) has no corresponding location in the parse at all.
Expected: either the full expanded sequence of sections, or (if expansion is unsupported) the sections in source order — not a silent 8-measure fragment.
Reproduction:
from music21 import converter, stream
sc = converter.parse("mazurka41-2.krn") # kernscores chopin-mazurkas
part = sc.parts[0]
print(len(part.getElementsByClass(stream.Measure))) # 8; the source has 69 "=N" barlines
Source file: the kernscores chopin-mazurkas set (craigsapp/chopin-mazurkas on GitHub), kern/mazurka41-2.krn.
- Lenguaje dominante
- Python
- Estrellas
- 2.6k
- Forks
- 459
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 42
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cuthbertLab/music21
-
Midi bank number supportAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
cuthbertLab/music21#2088 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cuthbertLab/music21#2084 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cuthbertLab/music21#2055 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Slur bezier-x/y from start element gets overwritten by stop element's valuesQuizá libre de nuevo @bingliscodes la tomó hace 15 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
cuthbertLab/music21#2019 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
cuthbertLab/music21#1714 ·
Los mantenedores suelen responder en 1 día
Todos los issues de cuthbertLab/music21
Issues similares
-
follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Download helper still uses huggingface_hub arguments removed in 1.0: USE_SYMLINKS is silently ignored and every download ends with a WinError 3 linePosiblemente ocupada @li-lizhe la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
IPv6 node addresses produce an invalid request URLPosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
typesense/typesense-python#154 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
elastic/elasticsearch-py#3592 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
developmentseed/titiler-cmr#250 · 1 comentario ·
Los mantenedores suelen responder en 1 día