Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::signal::osc::Correction Struct Reference

A discontinuity's correction, split across the two samples it touches. More...

#include <blep.hpp>

Public Attributes

double before = 0.0
 Add to the sample preceding the discontinuity.
double after = 0.0
 Add to the sample following it.

Detailed Description

A discontinuity's correction, split across the two samples it touches.

A two-point kernel spans the sample before the discontinuity and the sample after it, so a generator must be able to reach back one sample — via a one-sample delay, a correction ring, or a second pass over the block. A generator that can only write the current sample cannot apply the before term and will leave part of the step uncorrected.

Member Data Documentation

◆ after

double pulp::signal::osc::Correction::after = 0.0

Add to the sample following it.

◆ before

double pulp::signal::osc::Correction::before = 0.0

Add to the sample preceding the discontinuity.


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/signal/include/pulp/signal/osc/blep.hpp