speaker-calibration 2.2.200 → 2.2.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +1234 -1234
- package/package.json +1 -1
- package/src/tasks/combination/combination.js +6 -6
package/package.json
CHANGED
|
@@ -331,12 +331,12 @@ class Combination extends AudioCalibrator {
|
|
|
331
331
|
const template = `<div style="display: flex; justify-content: flex-start; margin-top: 0.4rem;"><div style="width: 100%; height: 20px; border: 2px solid #000; border-radius: 10px;"><div style="width: ${this.percent_complete}%; height: 100%; background-color: #00aaff; border-radius: 8px;"></div></div></div>`;
|
|
332
332
|
return `
|
|
333
333
|
${reportWebAudioNames}
|
|
334
|
-
${reportParameters}
|
|
335
|
-
<br>${status}
|
|
334
|
+
${reportParameters}
|
|
336
335
|
${MLSsd}
|
|
337
336
|
${systemSD}
|
|
338
337
|
${componentSD}
|
|
339
338
|
${flags}
|
|
339
|
+
<br>${status}
|
|
340
340
|
${template }`;
|
|
341
341
|
};
|
|
342
342
|
|
|
@@ -612,7 +612,7 @@ class Combination extends AudioCalibrator {
|
|
|
612
612
|
} else {
|
|
613
613
|
console.log('SD: ' + result['sd'] + ', greater than _calibrateSoundBurstMaxSD_dB: ' + this._calibrateSoundBurstMaxSD_dB);
|
|
614
614
|
this.recordingChecks['warnings'].push(`Redo all Hz recording because SD ${result['sd']} dB> ${this._calibrateSoundBurstMaxSD_dB} dB`);
|
|
615
|
-
this.status = this.generateTemplate(`
|
|
615
|
+
this.status = this.generateTemplate(`All Hz: Re-recording at ${this.inDB} dB because SD ${result['sd']} > ${this._calibrateSoundBurstMaxSD_dB} dB`.toString()).toString();
|
|
616
616
|
this.emit('update', {
|
|
617
617
|
message: this.status,
|
|
618
618
|
});
|
|
@@ -2194,8 +2194,8 @@ class Combination extends AudioCalibrator {
|
|
|
2194
2194
|
#playCalibrationAudioVolume = async () => {
|
|
2195
2195
|
if (this.numCalibratingRoundsCompleted==1) {
|
|
2196
2196
|
this.recordingChecks['warnings'].push(`Redo 1000 Hz, ${this.inDB} dB, recording because SD ${(this.recordingChecks['volume'][this.inDB]['sd'])} dB> ${this.calibrateSound1000HzMaxSD_dB} dB`);
|
|
2197
|
-
const currentStatus = `
|
|
2198
|
-
${this.recordingChecks['volume'][this.inDB]['sd']}
|
|
2197
|
+
const currentStatus = `1000 Hz: Re-recording at ${this.inDB} dB because SD
|
|
2198
|
+
${this.recordingChecks['volume'][this.inDB]['sd']} >
|
|
2199
2199
|
${this.calibrateSound1000HzMaxSD_dB} dB`.toString();
|
|
2200
2200
|
this.status = this.generateTemplate(currentStatus).toString();
|
|
2201
2201
|
this.emit('update', {
|
|
@@ -2610,7 +2610,7 @@ class Combination extends AudioCalibrator {
|
|
|
2610
2610
|
if (result['sd'] > this._calibrateSoundBurstMaxSD_dB && this.numSuccessfulCaptured == 0) {
|
|
2611
2611
|
console.log('filtered recording sd too high');
|
|
2612
2612
|
this.recordingChecks['warnings'].push(`Redo all Hz recording because SD ${result['sd']} dB> ${this._calibrateSoundBurstMaxSD_dB} dB`);
|
|
2613
|
-
this.status = this.generateTemplate(`
|
|
2613
|
+
this.status = this.generateTemplate(`All Hz: Re-recording at ${this.inDB} dB because SD ${result['sd']} > ${this._calibrateSoundBurstMaxSD_dB} dB`.toString()).toString();
|
|
2614
2614
|
this.emit('update', {
|
|
2615
2615
|
message: this.status,
|
|
2616
2616
|
});
|