Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline::RemoveNotes Struct Reference

Removes a named set of notes under an exact optimistic-value gate. More...

#include <command.hpp>

Public Attributes

ItemId sequence_id
 Sequence containing the target track.
ItemId track_id
 Track containing the target MIDI clip.
ItemId clip_id
 MIDI clip from which the notes are removed.
std::vector< NoteEvent > expected
 Exact current note values whose identities are removed.

Detailed Description

Removes a named set of notes under an exact optimistic-value gate.

Each expected entry must equal the current note with the same identity in every field. The reducer captures any attached modifiers in the generated InsertNotes inverse, so undo restores the complete note behavior without making forward callers restate clip-owned modifier data.

Member Data Documentation

◆ clip_id

ItemId pulp::timeline::RemoveNotes::clip_id

MIDI clip from which the notes are removed.

◆ expected

std::vector<NoteEvent> pulp::timeline::RemoveNotes::expected

Exact current note values whose identities are removed.

◆ sequence_id

ItemId pulp::timeline::RemoveNotes::sequence_id

Sequence containing the target track.

◆ track_id

ItemId pulp::timeline::RemoveNotes::track_id

Track containing the target MIDI clip.


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline/include/pulp/timeline/command.hpp