module RemiAudio::Resampler

Overview

The RemiAudio::Resampler module provides fast, high-quality resampling based on libsamplerate. This is not a set of bindings to libsamplerate, but rather a port of the code to native Crystal for easier use.

There are two APIs that you can use for resampling: the "Normal" API (called the "Full API" in libsamplerate documentation) and the "Callback" API.

Defined in:

remiaudio/resampler.cr
remiaudio/resampler/linear.cr
remiaudio/resampler/resampler.cr
remiaudio/resampler/sinc.cr
remiaudio/resampler/zoh.cr

Class Method Summary

Class Method Detail

def self.validRatio?(value : Float64) : Bool #

Returns true if value is a valid ratio for this library, or false otherwise.


[View source]