abstract class RemiAudio::Resampler::SincResampler

Overview

A bandlimited interpolator derived from the mathematical sinc function. Based on the techniques of Julius O. Smith, although this code was developed independently.

Direct Known Subclasses

Defined in:

remiaudio/resampler/sinc.cr

Constant Summary

INV_FP_ONE = 1.0 / FP_ONE

:nodoc

MAX_CHANNELS = 128

Instance Method Summary

Instance methods inherited from class RemiAudio::Resampler::Resampler

channels : Int32 channels, process(source : Array(Float32) | Slice(Float32), dest : Array(Float32) | Slice(Float32), ratio : Float64) : Tuple(Int64, Int64, Bool)
process(source : Array(Float64) | Slice(Float64), dest : Array(Float64) | Slice(Float64), ratio : Float64) : Tuple(Int64, Int64, Bool)
process
, ratio=(value : Float64) : Nil ratio=, reset : Nil reset

Instance Method Detail

def quality : Quality #

The Quality for this instance.


[View source]
def reset : Nil #

Resets the resampler.


[View source]