Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::signal::LpcAnalyzerT< SampleType > Class Template Reference

#include <source_filter_analysis.hpp>

Public Types

using Result = LpcAnalysisResultT<SampleType>

Public Member Functions

SourceFilterAnalysisStatus prepare (int order, SampleType rank_tolerance=std::numeric_limits< SampleType >::epsilon() *SampleType{64})
Result analyze (std::span< const SampleType > samples) noexcept
 Failure clears the published coefficient, reflection, and error views.
bool prepared () const noexcept
int order () const noexcept
Result result () const noexcept
std::span< const SampleType > coefficients () const noexcept
std::span< const SampleType > reflection_coefficients () const noexcept

Static Public Member Functions

static bool checked_retained_bytes (int order, std::uint64_t target_max_bytes, std::uint64_t &bytes) noexcept

Member Typedef Documentation

◆ Result

template<typename SampleType = float>
using pulp::signal::LpcAnalyzerT< SampleType >::Result = LpcAnalysisResultT<SampleType>

Member Function Documentation

◆ analyze()

template<typename SampleType = float>
Result pulp::signal::LpcAnalyzerT< SampleType >::analyze ( std::span< const SampleType > samples)
inlinenodiscardnoexcept

Failure clears the published coefficient, reflection, and error views.

◆ checked_retained_bytes()

template<typename SampleType = float>
bool pulp::signal::LpcAnalyzerT< SampleType >::checked_retained_bytes ( int order,
std::uint64_t target_max_bytes,
std::uint64_t & bytes )
inlinestaticnoexcept

◆ coefficients()

template<typename SampleType = float>
std::span< const SampleType > pulp::signal::LpcAnalyzerT< SampleType >::coefficients ( ) const
inlinenodiscardnoexcept

◆ order()

template<typename SampleType = float>
int pulp::signal::LpcAnalyzerT< SampleType >::order ( ) const
inlinenodiscardnoexcept

◆ prepare()

template<typename SampleType = float>
SourceFilterAnalysisStatus pulp::signal::LpcAnalyzerT< SampleType >::prepare ( int order,
SampleType rank_tolerance = std::numeric_limits<SampleType>::epsilon() * SampleType{64} )
inlinenodiscard

◆ prepared()

template<typename SampleType = float>
bool pulp::signal::LpcAnalyzerT< SampleType >::prepared ( ) const
inlinenodiscardnoexcept

◆ reflection_coefficients()

template<typename SampleType = float>
std::span< const SampleType > pulp::signal::LpcAnalyzerT< SampleType >::reflection_coefficients ( ) const
inlinenodiscardnoexcept

◆ result()

template<typename SampleType = float>
Result pulp::signal::LpcAnalyzerT< SampleType >::result ( ) const
inlinenodiscardnoexcept

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