DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::detail::offline_clip::NativeClipKernel< C > Class Template Referencefinal

#include <OfflineClipProjection.h>

Public Member Functions

 NativeClipKernel ()
 
void reset (double ceiling) noexcept
 
void process (double *nonlinear, double *reference, int count)
 

Static Public Member Functions

static constexpr std::size_t storage () noexcept
 Heap payload of one kernel, in doubles.
 
static double reconstructionBound ()
 Bound on |p(t)| / max|x| over the reconstruction window (Bernstein hull).
 
static double kernelNorm ()
 Upper bound on the integral of |h| of the synthesized kernel.
 

Static Public Attributes

static constexpr int delay = native_clip_coefficients::delay
 
static constexpr int history = inputHistory + frameHistory
 

Detailed Description

template<ClipperCurve C>
class dspark::detail::offline_clip::NativeClipKernel< C >

Definition at line 56 of file OfflineClipProjection.h.

Constructor & Destructor Documentation

◆ NativeClipKernel()

template<ClipperCurve C>
dspark::detail::offline_clip::NativeClipKernel< C >::NativeClipKernel ( )
inline

Definition at line 82 of file OfflineClipProjection.h.

Member Function Documentation

◆ kernelNorm()

template<ClipperCurve C>
static double dspark::detail::offline_clip::NativeClipKernel< C >::kernelNorm ( )
inlinestatic

Upper bound on the integral of |h| of the synthesized kernel.

Definition at line 181 of file OfflineClipProjection.h.

◆ process()

template<ClipperCurve C>
void dspark::detail::offline_clip::NativeClipKernel< C >::process ( double *  nonlinear,
double *  reference,
int  count 
)
inline

Definition at line 101 of file OfflineClipProjection.h.

◆ reconstructionBound()

template<ClipperCurve C>
static double dspark::detail::offline_clip::NativeClipKernel< C >::reconstructionBound ( )
inlinestatic

Bound on |p(t)| / max|x| over the reconstruction window (Bernstein hull).

Definition at line 159 of file OfflineClipProjection.h.

◆ reset()

template<ClipperCurve C>
void dspark::detail::offline_clip::NativeClipKernel< C >::reset ( double  ceiling)
inlinenoexcept

Definition at line 88 of file OfflineClipProjection.h.

◆ storage()

template<ClipperCurve C>
static constexpr std::size_t dspark::detail::offline_clip::NativeClipKernel< C >::storage ( )
inlinestaticconstexprnoexcept

Heap payload of one kernel, in doubles.

Definition at line 77 of file OfflineClipProjection.h.

Member Data Documentation

◆ delay

template<ClipperCurve C>
constexpr int dspark::detail::offline_clip::NativeClipKernel< C >::delay = native_clip_coefficients::delay
staticconstexpr

Definition at line 74 of file OfflineClipProjection.h.

◆ history

template<ClipperCurve C>
constexpr int dspark::detail::offline_clip::NativeClipKernel< C >::history = inputHistory + frameHistory
staticconstexpr

Definition at line 75 of file OfflineClipProjection.h.


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