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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speaker-calibration",
3
- "version": "2.2.167",
3
+ "version": "2.2.168",
4
4
  "description": "Speaker calibration library for auditory testing",
5
5
  "main": "dist/main.js",
6
6
  "directories": {
@@ -90,7 +90,6 @@ class Speaker extends AudioPeer {
90
90
  }
91
91
 
92
92
  // resolve when we have a result
93
- console.log(params);
94
93
  speaker.result = await speaker.ac.startCalibration(
95
94
  stream,
96
95
  params.gainValues,
@@ -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;