module DSP::DiscreteResampling

Overview

Provide resampling methods (upsampling and downsampling) using discrete filtering.

Defined in:

dsp/resampling/discrete_resampling.cr

Class Method Summary

Class Method Detail

def self.downsample(input : Array(Float64), sample_rate : Float64, downsample_factor : Int32, filter_order : Int32, lowpass_cutoff : Float64) #

[View source]
def self.downsample(input : Array(Float64), sample_rate : Float64, downsample_factor : Int32, filter_order : Int32) #

[View source]
def self.downsample_input_padding(input_size, downsample_factor) #

[View source]
def self.resample(input : Array(Float64), sample_rate : Float64, upsample_factor : Int32, downsample_factor : Int32, filter_order : Int32) #

[View source]
def self.upsample(input : Array(Float64), sample_rate : Float64, upsample_factor : Int32, filter_order : Int32) #

[View source]