Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
track_mixer_program.hpp File Reference
#include <pulp/playback/automation_program.hpp>
#include <pulp/timebase/compiled_tempo_map.hpp>
#include <pulp/timeline/model.hpp>
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Classes

struct  pulp::playback::TrackMixerProgram
 The compiled form of a track's own level and stereo placement. More...
struct  pulp::playback::TrackMixerChannelGains
 Per-side multipliers for a stereo balance. More...
class  pulp::playback::TrackMixerControlCursor
 Streams one mixer control's value in timeline-sample order without allocating. More...

Namespaces

namespace  pulp
namespace  pulp::playback

Functions

constexpr float pulp::playback::clamped_track_gain (float value) noexcept
 Constrains a streamed control value to the range the document accepts for the same control as a constant.
constexpr float pulp::playback::clamped_track_pan (float value) noexcept
constexpr TrackMixerChannelGains pulp::playback::track_mixer_channel_gains (float pan) noexcept
constexpr float pulp::playback::track_mixer_channel_gain (float pan, std::size_t channel, std::size_t channel_count) noexcept
 The balance multiplier for one output channel.

Variables

constexpr float pulp::playback::kMaximumTrackMixerGain = 64.0f
 Mirrors timeline::kMaximumTrackGainLinear.