speaker-calibration 2.2.167 → 2.2.168
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/example/i18n.js +1815 -1162
- package/dist/main.js +3 -3
- package/package.json +1 -1
- package/src/peer-connection/speaker.js +0 -1
- package/src/tasks/combination/combination.js +2 -2
package/package.json
CHANGED
|
@@ -743,6 +743,7 @@ class Combination extends AudioCalibrator {
|
|
|
743
743
|
*/
|
|
744
744
|
#afterMLSRecord = async () => {
|
|
745
745
|
console.log('after record');
|
|
746
|
+
this.addTimeStamp(`After record unfiltered mls version ${this.icapture}`);
|
|
746
747
|
await this.sendRecordingToServerForProcessing();
|
|
747
748
|
};
|
|
748
749
|
|
|
@@ -854,11 +855,11 @@ class Combination extends AudioCalibrator {
|
|
|
854
855
|
* @example
|
|
855
856
|
*/
|
|
856
857
|
#playCalibrationAudio = () => {
|
|
857
|
-
this.addTimeStamp('Play unfiltered mls');
|
|
858
858
|
this.calibrationNodes[0].start(0);
|
|
859
859
|
this.status = ``;
|
|
860
860
|
if (this.mode === 'unfiltered') {
|
|
861
861
|
console.log('play calibration audio ' + this.stepNum);
|
|
862
|
+
this.addTimeStamp(`Start recording MLS version ${this.icapture}`);
|
|
862
863
|
this.status =
|
|
863
864
|
`All Hz Calibration: playing the calibration tone...`.toString() +
|
|
864
865
|
this.generateTemplate().toString();
|
|
@@ -2147,7 +2148,6 @@ class Combination extends AudioCalibrator {
|
|
|
2147
2148
|
const audioContext = this.makeNewSourceAudioContext();
|
|
2148
2149
|
const oscilator = audioContext.createOscillator();
|
|
2149
2150
|
const gainNode = audioContext.createGain();
|
|
2150
|
-
console.log(gainValue);
|
|
2151
2151
|
const taperGainNode = audioContext.createGain();
|
|
2152
2152
|
const offsetGainNode = audioContext.createGain();
|
|
2153
2153
|
const totalDuration = this.CALIBRATION_TONE_DURATION * 1.2;
|