module RemiAudio::DSP::StereoEnhancer

Defined in:

remiaudio/dsp/stereoenhancer.cr

Class Method Summary

Class Method Detail

def self.process(blockLeft : Array(Float64) | Slice(Float64), blockRight : Array(Float64) | Slice(Float64), coeff : Float64) : Nil #

Applies a stereo enhancement effect to the audio blocks. The coeff parameter defines how much widening (or narrowing) to apply. 0.5 is neutral, 0.0 mono-fies it, and values above 0.5 widen the sound. The expected range is 0.0 to 1.5.


[View source]
def self.process(blockLeft : Array(Float32) | Slice(Float32), blockRight : Array(Float32) | Slice(Float32), coeff : Float64) : Nil #

Applies a stereo enhancement effect to the audio blocks. The coeff parameter defines how much widening (or narrowing) to apply. 0.5 is neutral, 0.0 mono-fies it, and values above 0.5 widen the sound. The expected range is 0.0 to 1.5.


[View source]
def self.process(block : Array(Float64) | Slice(Float64), coeff : Float64) : Nil #

Applies a stereo enhancement effect to the interleaved audio block. The coeff parameter defines how much widening (or narrowing) to apply. 0.5 is neutral, 0.0 mono-fies it, and values above 0.5 widen the sound. The expected range is 0.0 to 1.5.


[View source]
def self.process(block : Array(Float32) | Slice(Float32), coeff : Float64) : Nil #

Applies a stereo enhancement effect to the interleaved audio block. The coeff parameter defines how much widening (or narrowing) to apply. 0.5 is neutral, 0.0 mono-fies it, and values above 0.5 widen the sound. The expected range is 0.0 to 1.5.


[View source]