module DSP::DiscreteResampling
Overview
Provide resampling methods (upsampling and downsampling) using discrete filtering.
Defined in:
dsp/resampling/discrete_resampling.crClass Method Summary
- .downsample(input : Array(Float64), sample_rate : Float64, downsample_factor : Int32, filter_order : Int32, lowpass_cutoff : Float64)
- .downsample(input : Array(Float64), sample_rate : Float64, downsample_factor : Int32, filter_order : Int32)
- .downsample_input_padding(input_size, downsample_factor)
- .resample(input : Array(Float64), sample_rate : Float64, upsample_factor : Int32, downsample_factor : Int32, filter_order : Int32)
- .upsample(input : Array(Float64), sample_rate : Float64, upsample_factor : Int32, filter_order : Int32)
Class Method Detail
def self.downsample(input : Array(Float64), sample_rate : Float64, downsample_factor : Int32, filter_order : Int32, lowpass_cutoff : Float64)
#
def self.downsample(input : Array(Float64), sample_rate : Float64, downsample_factor : Int32, filter_order : Int32)
#
def self.resample(input : Array(Float64), sample_rate : Float64, upsample_factor : Int32, downsample_factor : Int32, filter_order : Int32)
#
def self.upsample(input : Array(Float64), sample_rate : Float64, upsample_factor : Int32, filter_order : Int32)
#