The published formulas of the auditory scale (all in double).
More...
#include <AuditoryBands.h>
The published formulas of the auditory scale (all in double).
Definition at line 66 of file AuditoryBands.h.
◆ barkToHz()
| static double dspark::AuditoryScale::barkToHz |
( |
double |
bark | ) |
|
|
inlinestaticnoexcept |
◆ criticalBandwidth()
| static double dspark::AuditoryScale::criticalBandwidth |
( |
double |
hz | ) |
|
|
inlinestaticnoexcept |
- Returns
- The critical bandwidth at a frequency, in hertz (Zwicker and Terhardt 1980).
Definition at line 89 of file AuditoryBands.h.
◆ dominantPower() [1/2]
| static double dspark::AuditoryScale::dominantPower |
( |
double |
ll, |
|
|
double |
rr, |
|
|
double |
lr |
|
) |
| |
|
inlinestaticnoexcept |
- Returns
- The power of the dominant component of a stereo pair: the larger eigenvalue of the covariance [ll lr; lr rr].
Definition at line 118 of file AuditoryBands.h.
◆ dominantPower() [2/2]
| static double dspark::AuditoryScale::dominantPower |
( |
double |
ll, |
|
|
double |
rr, |
|
|
double |
lrReal, |
|
|
double |
lrImag |
|
) |
| |
|
inlinestaticnoexcept |
- Returns
- The dominant power of a pair read in a band of frequencies, whose cross term is complex (the mean of one spectrum times the conjugate of the other): a channel that is the other one delayed reads as one source, whatever the delay turns the phase to in the band.
Definition at line 130 of file AuditoryBands.h.
◆ hzToBark()
| static double dspark::AuditoryScale::hzToBark |
( |
double |
hz | ) |
|
|
inlinestaticnoexcept |
- Returns
- The Bark value of a frequency (Traunmuller 1990).
Definition at line 69 of file AuditoryBands.h.
◆ loudnessExponent()
| static double dspark::AuditoryScale::loudnessExponent |
( |
double |
hz | ) |
|
|
inlinestaticnoexcept |
- Returns
- The exponent of the specific loudness at a frequency: 0.23 where the threshold in quiet is lowest, rising linearly with the threshold to 0.30 for 40 dB above that minimum.
Definition at line 108 of file AuditoryBands.h.
◆ thresholdInQuietDb()
| static double dspark::AuditoryScale::thresholdInQuietDb |
( |
double |
hz | ) |
|
|
inlinestaticnoexcept |
- Returns
- The threshold in quiet at a frequency, in dB SPL (Terhardt 1979), capped at 120.
Definition at line 96 of file AuditoryBands.h.
The documentation for this struct was generated from the following file: