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/dist/example/i18n.js +14844 -15460
- package/dist/listener.js +1 -1
- package/dist/main.js +3 -3
- package/dist/phonePeer.js +1 -1
- package/package.json +1 -1
- package/src/peer-connection/speaker.js +8 -0
- package/src/tasks/combination/combination.js +294 -273
- package/src/utils.js +11 -1
package/package.json
CHANGED
|
@@ -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);
|