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

Inserts a set of identity-bearing notes into one MIDI clip. 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 that receives the notes.
std::vector< NoteEvent > notes
 Identity-bearing note values to insert.
std::vector< NoteModifier > modifiers
 Optional modifiers attached only to notes in this insertion.

Detailed Description

Inserts a set of identity-bearing notes into one MIDI clip.

The set is plural so one gesture consumes one journal command regardless of selection size. Every note identity must be available. modifiers may describe only notes in this same payload; a reducer-built inverse uses it to restore modifiers removed with their notes. The clip-level modifier seed and every controller lane carry over unchanged.

Member Data Documentation

◆ clip_id

ItemId pulp::timeline::InsertNotes::clip_id

MIDI clip that receives the notes.

◆ modifiers

std::vector<NoteModifier> pulp::timeline::InsertNotes::modifiers

Optional modifiers attached only to notes in this insertion.

◆ notes

std::vector<NoteEvent> pulp::timeline::InsertNotes::notes

Identity-bearing note values to insert.

◆ sequence_id

ItemId pulp::timeline::InsertNotes::sequence_id

Sequence containing the target track.

◆ track_id

ItemId pulp::timeline::InsertNotes::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