Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Make measures in incomplete parts either in MIDI parsing or MusicXML export

Abierto
#1,857 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@jacobtylerwalls ya está trabajando en esto.

Desde el 25/1/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement

Motivation
The refStreamOrTimeRange parameter of makeMeasures already allows to fix jagged ends of parts in a score, for instance, from MIDI files that stopped recording events when a part finished:

Say for instance you'd like to make a complete
score from a short ossia section, then you might use another
Part from the Score as a refStreamOrTimeRange to make sure
that the appropriate measures of rests are added at either side.

Feature summary
I'm proposing to call this utility somewhere, either in MIDI import, or Musicxml export, or both.

Proposed implementation
MIDI import now makes measures as of several versions ago, so when exporting to MusicXML, it runs fixupNotationMeasured() on the assumption the measures are fine (i.e., does not call makeMeasures()). But I have some MIDI files with jagged edges that then get truncated in several musicxml readers (e.g. Finale, music21j)

Intent

  • I plan on implementing this myself.

Happy to contribute something here as soon as I have a gut check on where to place this.

Lenguaje dominante
Python
Estrellas
2.6k
Forks
459
Merge medio
1 d 7 h
PR fusionados (30 d)
40

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cuthbertLab/music21

Todos los issues de cuthbertLab/music21

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.