Filter löschen
Filter löschen

Regarding loudness based gain adjustment in gammatone filter

2 Ansichten (letzte 30 Tage)
Hemangi
Hemangi am 6 Aug. 2015
Bearbeitet: Walter Roberson am 6 Aug. 2015
While studying the gammatone filter I came across the following code on mathworks website. I want to know the formula for gain & gt functions. Which literature can be referred to understand these two lines in the code?
% Generating gammatone impulse responses with middle-ear gain normalization
gt = zeros(numChan,gL); % Initialization
tmp_t = [1:gL]/fs;
for i = 1:numChan
gain = 10^((loudness(cf(i))-60)/20)/3*(2*pi*b(i)/fs).^4; % loudness-based gain adjustments
gt(i,:) = gain*fs^3*tmp_t.^(filterOrder-1).*exp(-2*pi*b(i)*tmp_t).*cos(2*pi*cf(i)*tmp_t+phase(i));
end

Antworten (0)

Kategorien

Mehr zu Audio Processing Algorithm Design finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by