Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::SampleHeritageBusDsp Class Reference

Stateful post-mix processor for typed heritage bus blocks. More...

#include <sample_heritage_bus_dsp.hpp>

Public Member Functions

SampleHeritageBusDspStatus prepare (const SampleHeritagePreparedProfile &profile, double sample_rate, std::size_t channel_count) noexcept
void release () noexcept
void reset () noexcept
SampleHeritageBusDspStatus process (BufferView< float > buffer, bool any_voice_active) noexcept
SampleHeritageBusDspStatus process (BufferView< float > buffer, std::span< const std::uint8_t > voice_activity) noexcept
SampleHeritageRuntimeStateStatus capture_runtime_state (SampleHeritageRuntimeEngineState &state) const noexcept
SampleHeritageRuntimeStateStatus restore_runtime_state (const SampleHeritageRuntimeEngineState &state) noexcept
double tilt_response_db (std::size_t bus_index, double frequency) const noexcept

Detailed Description

Stateful post-mix processor for typed heritage bus blocks.

Spectral tilt law v1 is a fixed cascade of octave-width shelves normalized at the profile's reference frequency. Preparation computes all coefficients; process is allocation-free and advances one deterministic RNG stream per noise block.

Member Function Documentation

◆ capture_runtime_state()

SampleHeritageRuntimeStateStatus pulp::audio::SampleHeritageBusDsp::capture_runtime_state ( SampleHeritageRuntimeEngineState & state) const
inlinenoexcept

◆ prepare()

SampleHeritageBusDspStatus pulp::audio::SampleHeritageBusDsp::prepare ( const SampleHeritagePreparedProfile & profile,
double sample_rate,
std::size_t channel_count )
inlinenoexcept

◆ process() [1/2]

SampleHeritageBusDspStatus pulp::audio::SampleHeritageBusDsp::process ( BufferView< float > buffer,
bool any_voice_active )
inlinenoexcept

◆ process() [2/2]

SampleHeritageBusDspStatus pulp::audio::SampleHeritageBusDsp::process ( BufferView< float > buffer,
std::span< const std::uint8_t > voice_activity )
inlinenoexcept

◆ release()

void pulp::audio::SampleHeritageBusDsp::release ( )
inlinenoexcept

◆ reset()

void pulp::audio::SampleHeritageBusDsp::reset ( )
inlinenoexcept

◆ restore_runtime_state()

SampleHeritageRuntimeStateStatus pulp::audio::SampleHeritageBusDsp::restore_runtime_state ( const SampleHeritageRuntimeEngineState & state)
inlinenoexcept

◆ tilt_response_db()

double pulp::audio::SampleHeritageBusDsp::tilt_response_db ( std::size_t bus_index,
double frequency ) const
inlinenoexcept

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