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

One authored value on a controller lane, positioned in canonical ticks. More...

#include <midi_lane.hpp>

Public Member Functions

constexpr auto operator<=> (const MidiLanePoint &) const =default

Public Attributes

ItemId id
timebase::TickPosition position
std::uint32_t value = 0
bool chased = false
 Whether flattening derived this point at a retained-window boundary rather than reading it where the user placed it.

Detailed Description

One authored value on a controller lane, positioned in canonical ticks.

The value is the full 32-bit channel-voice data width, which is what a 7-bit or 14-bit MIDI 1.0 controller value scales into, so a lane never needs to record which resolution it was authored at.

Member Function Documentation

◆ operator<=>()

auto pulp::timeline::MidiLanePoint::operator<=> ( const MidiLanePoint & ) const
constexprdefault

Member Data Documentation

◆ chased

bool pulp::timeline::MidiLanePoint::chased = false

Whether flattening derived this point at a retained-window boundary rather than reading it where the user placed it.

An authored document never sets this: it is written only when a nested clip is trimmed and the value sounding on entry came from a point before the retained window. The point keeps the identity of the entry it read, so the derivation stays traceable and reproducible, and a consumer re-editing the arrangement can tell the two apart.

◆ id

ItemId pulp::timeline::MidiLanePoint::id

◆ position

timebase::TickPosition pulp::timeline::MidiLanePoint::position

◆ value

std::uint32_t pulp::timeline::MidiLanePoint::value = 0

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