speaker-calibration 2.2.255 → 2.2.257

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.255",
3
+ "version": "2.2.257",
4
4
  "description": "Speaker calibration library for auditory testing",
5
5
  "main": "dist/main.js",
6
6
  "directories": {
@@ -154,6 +154,8 @@ class Speaker extends AudioPeer {
154
154
  //set sampling rates
155
155
  speaker.ac.setSamplingRates(speaker.calibrateSoundHz);
156
156
  speaker.ac.setSampleSize(speaker.calibrateSoundSamplingDesiredBits);
157
+ speaker.#removeUIElems();
158
+ speaker.#showSpinner();
157
159
  speaker.result = await speaker.ac.startCalibration(
158
160
  null,
159
161
  params.gainValues,
@@ -213,6 +215,8 @@ class Speaker extends AudioPeer {
213
215
  params.calibrateSoundSimulateLoudspeakerFrequencies,
214
216
  params.calibrateSoundSimulateMicrophoneType,
215
217
  params.calibrateSoundSimulateLoudspeakerType,
218
+ params.calibrateSoundSimulateLoudspeakerFileName,
219
+ params.calibrateSoundSimulateMicrophoneFileName,
216
220
  params.isLoudspeakerCalibration
217
221
  );
218
222
  speaker.#removeUIElems();
@@ -355,6 +359,8 @@ class Speaker extends AudioPeer {
355
359
  params.calibrateSoundSimulateLoudspeakerFrequencies,
356
360
  params.calibrateSoundSimulateMicrophoneType,
357
361
  params.calibrateSoundSimulateLoudspeakerType,
362
+ params.calibrateSoundSimulateLoudspeakerFileName,
363
+ params.calibrateSoundSimulateMicrophoneFileName,
358
364
  params.isLoudspeakerCalibration
359
365
  );
360
366
  speaker.#removeUIElems();
@@ -951,6 +957,8 @@ class Speaker extends AudioPeer {
951
957
  params.calibrateSoundSimulateLoudspeakerFrequencies,
952
958
  params.calibrateSoundSimulateMicrophoneType,
953
959
  params.calibrateSoundSimulateLoudspeakerType,
960
+ params.calibrateSoundSimulateLoudspeakerFileName,
961
+ params.calibrateSoundSimulateMicrophoneFileName,
954
962
  params.isLoudspeakerCalibration
955
963
  );
956
964
  clearInterval(permissionCheckInterval);