Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Downsample ¶
func Downsample( input []float64, srate float64, upsampleFactor float64, downsampleFactor, filterOrder int, ) ([]float64, error)
Downsample performs discrete downsampling using FIR lowpass filter followed by skip sampling. If the input does not contain upsampled data, then the upsample factor should be 1.0. The input size must be >= 4 The downsample factor must be > 1. The sample rate must be positive. Returns non-nil error in case of failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.