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

Prepared, fixed-memory processor for the typed per-voice heritage blocks. More...

#include <sample_heritage_voice_dsp.hpp>

Public Member Functions

bool prepare (const SampleHeritagePreparedProfile &profile, double processing_sample_rate) noexcept
bool prepare (const SampleHeritagePreparedProfile &profile, double machine_sample_rate, double host_sample_rate) noexcept
void release () noexcept
void reset () noexcept
bool prepared () const noexcept
bool converter_continues_state (std::size_t index) const noexcept
std::uint64_t converter_random_state (std::size_t index) const noexcept
bool restore_converter_random_state (std::size_t index, std::uint64_t state) noexcept
void process (BufferView< float > buffer) noexcept
void process_before_live (BufferView< float > buffer, bool draining_tail=false) noexcept
void process_after_live (BufferView< float > buffer, bool draining_tail=false) noexcept
void process_host_frame (BufferView< float > buffer, bool draining_tail=false) noexcept
void process_machine_tail (BufferView< float > buffer) noexcept
void process_tail (BufferView< float > buffer) noexcept
std::size_t live_stage_index () const noexcept
bool live_stage_active () const noexcept
std::uint64_t tail_machine_frames () const noexcept
std::uint64_t tail_machine_domain_frames () const noexcept
std::uint64_t tail_host_frames () const noexcept

Static Public Attributes

static constexpr float kTailSilenceThreshold = 1.0e-6f
static constexpr double kMaximumTailSeconds = 10.0

Detailed Description

Prepared, fixed-memory processor for the typed per-voice heritage blocks.

Member Function Documentation

◆ converter_continues_state()

bool pulp::audio::SampleHeritageVoiceDsp::converter_continues_state ( std::size_t index) const
inlinenoexcept

◆ converter_random_state()

std::uint64_t pulp::audio::SampleHeritageVoiceDsp::converter_random_state ( std::size_t index) const
inlinenoexcept

◆ live_stage_active()

bool pulp::audio::SampleHeritageVoiceDsp::live_stage_active ( ) const
inlinenoexcept

◆ live_stage_index()

std::size_t pulp::audio::SampleHeritageVoiceDsp::live_stage_index ( ) const
inlinenoexcept

◆ prepare() [1/2]

bool pulp::audio::SampleHeritageVoiceDsp::prepare ( const SampleHeritagePreparedProfile & profile,
double machine_sample_rate,
double host_sample_rate )
inlinenoexcept

◆ prepare() [2/2]

bool pulp::audio::SampleHeritageVoiceDsp::prepare ( const SampleHeritagePreparedProfile & profile,
double processing_sample_rate )
inlinenoexcept

◆ prepared()

bool pulp::audio::SampleHeritageVoiceDsp::prepared ( ) const
inlinenoexcept

◆ process()

void pulp::audio::SampleHeritageVoiceDsp::process ( BufferView< float > buffer)
inlinenoexcept

◆ process_after_live()

void pulp::audio::SampleHeritageVoiceDsp::process_after_live ( BufferView< float > buffer,
bool draining_tail = false )
inlinenoexcept

◆ process_before_live()

void pulp::audio::SampleHeritageVoiceDsp::process_before_live ( BufferView< float > buffer,
bool draining_tail = false )
inlinenoexcept

◆ process_host_frame()

void pulp::audio::SampleHeritageVoiceDsp::process_host_frame ( BufferView< float > buffer,
bool draining_tail = false )
inlinenoexcept

◆ process_machine_tail()

void pulp::audio::SampleHeritageVoiceDsp::process_machine_tail ( BufferView< float > buffer)
inlinenoexcept

◆ process_tail()

void pulp::audio::SampleHeritageVoiceDsp::process_tail ( BufferView< float > buffer)
inlinenoexcept

◆ release()

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

◆ reset()

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

◆ restore_converter_random_state()

bool pulp::audio::SampleHeritageVoiceDsp::restore_converter_random_state ( std::size_t index,
std::uint64_t state )
inlinenoexcept

◆ tail_host_frames()

std::uint64_t pulp::audio::SampleHeritageVoiceDsp::tail_host_frames ( ) const
inlinenoexcept

◆ tail_machine_domain_frames()

std::uint64_t pulp::audio::SampleHeritageVoiceDsp::tail_machine_domain_frames ( ) const
inlinenoexcept

◆ tail_machine_frames()

std::uint64_t pulp::audio::SampleHeritageVoiceDsp::tail_machine_frames ( ) const
inlinenoexcept

Member Data Documentation

◆ kMaximumTailSeconds

double pulp::audio::SampleHeritageVoiceDsp::kMaximumTailSeconds = 10.0
staticconstexpr

◆ kTailSilenceThreshold

float pulp::audio::SampleHeritageVoiceDsp::kTailSilenceThreshold = 1.0e-6f
staticconstexpr

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