Tick-grid, loss policy, and work bound for SMF export. More...
#include <smf.hpp>
Public Attributes | |
| std::uint16_t | ticks_per_quarter = 960 |
| MThd ticks per quarter; 960 is exact against the canonical tick grid. | |
| bool | allow_lossy_tick_rounding = false |
| Whether unrepresentable ticks may round half away from zero. | |
| bool | skip_non_note_clips = false |
| Whether clips with non-note, non-empty content may be omitted. | |
| std::size_t | max_events = 5'000'000 |
| Maximum emitted MIDI events across the whole file. | |
Tick-grid, loss policy, and work bound for SMF export.
| bool pulp::timeline::SmfExportOptions::allow_lossy_tick_rounding = false |
Whether unrepresentable ticks may round half away from zero.
| std::size_t pulp::timeline::SmfExportOptions::max_events = 5'000'000 |
Maximum emitted MIDI events across the whole file.
| bool pulp::timeline::SmfExportOptions::skip_non_note_clips = false |
Whether clips with non-note, non-empty content may be omitted.
| std::uint16_t pulp::timeline::SmfExportOptions::ticks_per_quarter = 960 |
MThd ticks per quarter; 960 is exact against the canonical tick grid.