@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias TrackEdit

    One track's notes as they stand after an edit.

    The whole note array is given rather than a description of what moved: a host always has the track's current contents, and working out what actually changed is this module's job, not the caller's.

    type TrackEdit = {
        trackIndex: number;
        notes: readonly NoteEvent[];
    }
    Index
    trackIndex: number

    Index of the track in the session's track array.

    notes: readonly NoteEvent[]

    The track's notes after the edit.