Skip to content

Add robust Type 1 MIDI export#8440

Open
TheWoomy27 wants to merge 1 commit into
LMMS:masterfrom
TheWoomy27:fix/type1-midi-export
Open

Add robust Type 1 MIDI export#8440
TheWoomy27 wants to merge 1 commit into
LMMS:masterfrom
TheWoomy27:fix/type1-midi-export

Conversation

@TheWoomy27

@TheWoomy27 TheWoomy27 commented Jun 21, 2026

Copy link
Copy Markdown

Summary

  • Export a Standard MIDI File Type 1 conductor track with the tempo map and one track per LMMS instrument track.
  • Preserve configured MIDI output channels, including channels imported from Standard MIDI Files.
  • Serialize MIDI tracks dynamically so long tempo automation curves are not truncated by the former fixed buffer.

Testing

  • cmake --build build --target midiexport midiimport MidiFileTest --parallel 4
  • build/tests/MidiFileTest
  • tests/scripted/verify

Standard MIDI Files represent tempo changes as discrete events. Linear and cubic LMMS tempo automation is sampled at sixteenth-note resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant