@polyhymnia/mnx-score
v0.3.1
Published
Musical timeline over MNX documents: ticks, stable ids, pitch to MIDI, ties, tempo, play order and performance events.
Maintainers
Readme
@polyhymnia/mnx-score
The musical timeline over an MNX document: ticks, durations, stable ids, pitch → MIDI, ties, tempo and play order (repeats, voltas, D.S. al Fine), plus performance events for playback.
npm install @polyhymnia/mnx-scoreimport { buildTimeline, performance } from '@polyhymnia/mnx-score';
const timeline = buildTimeline(doc);
const { events, durationSeconds, tickAtSeconds } = performance(timeline, { tempo: { bpm: 90 } });MIT licensed. Source: https://github.com/adrian729/notation
