NoteRecord

alignment.NoteRecord(
    id,
    midi_pitch,
    onset_tick,
    offset_tick,
    velocity,
    channel=0,
    track=0,
)

Performance note record for .match format export.

Each field corresponds to a positional element in the note(...) Prolog-style term.

Attributes

Name Type Description
id str Performance note identifier (e.g. "n0").
midi_pitch int MIDI pitch number (0–127).
onset_tick int MIDI onset tick.
offset_tick int MIDI offset tick.
velocity int MIDI velocity (0–127).
channel int MIDI channel (default 0).
track int MIDI track (default 0).