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

Typed musical metadata attached to sealed audio content. More...

#include <assets.hpp>

Public Member Functions

auto operator<=> (const AudioLoopInfo &) const =default

Public Attributes

std::optional< timebase::TickDuration > musical_length
timebase::MeterSignature meter {4, 4}
bool one_shot = false
std::optional< std::uint8_t > root_note
std::optional< AudioFrameRange > active_range
std::vector< AudioLoopPoint > points
std::vector< std::string > tags

Detailed Description

Typed musical metadata attached to sealed audio content.

Tempo is derived from musical_length, frame count, and sample rate instead of being stored independently. Frame ranges are half-open.

Member Function Documentation

◆ operator<=>()

auto pulp::timeline::AudioLoopInfo::operator<=> ( const AudioLoopInfo & ) const
default

Member Data Documentation

◆ active_range

std::optional<AudioFrameRange> pulp::timeline::AudioLoopInfo::active_range

◆ meter

timebase::MeterSignature pulp::timeline::AudioLoopInfo::meter {4, 4}

◆ musical_length

std::optional<timebase::TickDuration> pulp::timeline::AudioLoopInfo::musical_length

◆ one_shot

bool pulp::timeline::AudioLoopInfo::one_shot = false

◆ points

std::vector<AudioLoopPoint> pulp::timeline::AudioLoopInfo::points

◆ root_note

std::optional<std::uint8_t> pulp::timeline::AudioLoopInfo::root_note

◆ tags

std::vector<std::string> pulp::timeline::AudioLoopInfo::tags

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