Clip-level audio controls. More...
#include <clip.hpp>
Public Member Functions | |
| constexpr auto | operator<=> (const ClipPlaybackProperties &) const =default |
Public Attributes | |
| float | gain_linear = 1.0f |
| std::uint64_t | fade_in_duration = 0 |
| std::uint64_t | fade_out_duration = 0 |
| ClipFadeShape | fade_shape = ClipFadeShape::Linear |
Clip-level audio controls.
Fade lengths use the clip anchor's native unit: canonical ticks for musical clips and timeline samples for absolute clips. The playback compiler resolves both to sample-exact frame counts. The shape governs both fades; it is a reparameterization of the same normalized progress, so it carries no unit of its own.
|
constexprdefault |
| std::uint64_t pulp::timeline::ClipPlaybackProperties::fade_in_duration = 0 |
| std::uint64_t pulp::timeline::ClipPlaybackProperties::fade_out_duration = 0 |
| ClipFadeShape pulp::timeline::ClipPlaybackProperties::fade_shape = ClipFadeShape::Linear |
| float pulp::timeline::ClipPlaybackProperties::gain_linear = 1.0f |