mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
[AFV] Update CEqualizerSampleProvider to VHF 4.0
This commit is contained in:
committed by
Mat Sutcliffe
parent
0e4c1f958b
commit
2c1067b27e
@@ -69,8 +69,8 @@ namespace BlackCore
|
|||||||
|
|
||||||
QAudioFormat m_audioFormat;
|
QAudioFormat m_audioFormat;
|
||||||
|
|
||||||
const double m_whiteNoiseGainMin = 0.15; //0.01;
|
const double m_whiteNoiseGainMin = 0.17; //0.01;
|
||||||
const double m_acBusGainMin = 0.003; //0.002;
|
const double m_acBusGainMin = 0.0028; //0.002;
|
||||||
const int m_frameCount = 960;
|
const int m_frameCount = 960;
|
||||||
const int m_idleTimeoutMs = 500;
|
const int m_idleTimeoutMs = 500;
|
||||||
|
|
||||||
|
|||||||
@@ -37,9 +37,11 @@ namespace BlackSound
|
|||||||
switch (preset)
|
switch (preset)
|
||||||
{
|
{
|
||||||
case VHFEmulation:
|
case VHFEmulation:
|
||||||
m_filters.push_back(BiQuadFilter(BiQuadFilterType::HighPass, 44100, 450, 1.0f));
|
m_filters.push_back(BiQuadFilter(BiQuadFilterType::HighPass, 44100, 310, 0.25f));
|
||||||
m_filters.push_back(BiQuadFilter(BiQuadFilterType::Peak, 44100, 2200, 0.25, 13.0f));
|
m_filters.push_back(BiQuadFilter(BiQuadFilterType::Peak, 44100, 450, 0.75f, 17.0f));
|
||||||
m_filters.push_back(BiQuadFilter(BiQuadFilterType::LowPass, 44100, 3000, 1.0f));
|
m_filters.push_back(BiQuadFilter(BiQuadFilterType::Peak, 44100, 1450, 1.0f, 25.0f));
|
||||||
|
m_filters.push_back(BiQuadFilter(BiQuadFilterType::Peak, 44100, 2000, 1.0f, 25.0f));
|
||||||
|
m_filters.push_back(BiQuadFilter(BiQuadFilterType::LowPass, 44100, 2500, 0.25f));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user