Enable low-frequency RTW analyzer range
This commit is contained in:
+1
-3
@@ -1002,7 +1002,7 @@ function wireHandlers(env) {
|
||||
return val;
|
||||
});
|
||||
h('opt_rtaFreq', v => {
|
||||
CONFIG.RTA_FREQ_RANGE = CONFIG.RTA_BAR_LAYOUT === 'rtw' ? 'norm' : ((v === 'lf') ? 'lf' : 'norm');
|
||||
CONFIG.RTA_FREQ_RANGE = (v === 'lf') ? 'lf' : 'norm';
|
||||
return CONFIG.RTA_FREQ_RANGE;
|
||||
});
|
||||
h('opt_rtaDisplayGainFft', v => { CONFIG.RTA_DISPLAY_GAIN_FFT_DB = clamp(+v, -25, 25); }, 'val_rtaDisplayGainFft', v=>`${v} dB`);
|
||||
@@ -1013,11 +1013,9 @@ function wireHandlers(env) {
|
||||
if (val === 'rtw') {
|
||||
CONFIG.RTA_ENGINE = 'iir';
|
||||
CONFIG.RTA_IIR_ORDER = 6;
|
||||
CONFIG.RTA_FREQ_RANGE = 'norm';
|
||||
const forced = {
|
||||
opt_rtaEngine: 'iir',
|
||||
opt_rtaOrder: '6',
|
||||
opt_rtaFreq: 'norm',
|
||||
};
|
||||
for (const [id, value] of Object.entries(forced)) {
|
||||
const control = document.getElementById(id);
|
||||
|
||||
Reference in New Issue
Block a user