Signalsmith Audio's DSP Library  1.6.0
Useful C++ classes/templates for audio effects
Static Methods | Methods
signalsmith::windows::ApproximateConfinedGaussian Class Reference

#include <windows.h>

Detailed Description

The Approximate Confined Gaussian window is (almost) optimal.

ACG windows can be constructing using the shape-parameter (sigma) or using the static with???() methods.

Static Methods

static double bandwidthToSigma (double bandwidth)
 Heuristic map from bandwidth to the appropriately-optimal sigma. More...
 
static ApproximateConfinedGaussian withBandwidth (double bandwidth)
 

Methods

 ApproximateConfinedGaussian (double sigma)
 
template<typename Data >
void fill (Data &&data, int size) const
 Fills an arbitrary container. More...
 

Method Details

◆ bandwidthToSigma()

static double signalsmith::windows::ApproximateConfinedGaussian::bandwidthToSigma ( double  bandwidth)
inlinestatic

Heuristic map from bandwidth to the appropriately-optimal sigma.

◆ fill()

template<typename Data >
void signalsmith::windows::ApproximateConfinedGaussian::fill ( Data &&  data,
int  size 
) const
inline

Fills an arbitrary container.