class RemiAudio::DSP::FirPitchShifter

Overview

A finite impulse response filter that uses a sinc function to interpolate samples.

Defined in:

remiaudio/dsp/fir.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(taps : Int32, cutoff : Float64, sampleRate : Float64, *, window : RemiAudio::Windows::WindowFunction = ->RemiAudio::Windows.hamming(Int32)) #

[View source]
def self.new(sinc : SincFunction) #

[View source]

Instance Method Detail

def applyHighpass(input : Array(Float64) | Slice(Float64), output : Array(Float64) | Slice(Float64)) #

[View source]
def applyLowpass(input : Array(Float64) | Slice(Float64), output : Array(Float64) | Slice(Float64)) #

[View source]
def sinc : SincFunction #

[View source]