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

One musical note emitted by a registered content compiler. More...

#include <compile_context_registry.hpp>

Public Member Functions

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

Public Attributes

timebase::TickPosition start
timebase::TickDuration duration
std::uint16_t velocity = 0xffff
std::uint8_t pitch = 60
std::uint8_t channel = 0

Detailed Description

One musical note emitted by a registered content compiler.

Positions are relative to the owning clip; ProgramCompiler performs the authoritative tempo-map conversion and assigns collision-free generated identities.

Member Function Documentation

◆ operator<=>()

auto pulp::playback::ContentFragmentNote::operator<=> ( const ContentFragmentNote & ) const
constexprdefault

Member Data Documentation

◆ channel

std::uint8_t pulp::playback::ContentFragmentNote::channel = 0

◆ duration

timebase::TickDuration pulp::playback::ContentFragmentNote::duration

◆ pitch

std::uint8_t pulp::playback::ContentFragmentNote::pitch = 60

◆ start

timebase::TickPosition pulp::playback::ContentFragmentNote::start

◆ velocity

std::uint16_t pulp::playback::ContentFragmentNote::velocity = 0xffff

The documentation for this struct was generated from the following file: