speaker-calibration 2.2.229 → 2.2.230

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.229",
3
+ "version": "2.2.230",
4
4
  "description": "Speaker calibration library for auditory testing",
5
5
  "main": "dist/main.js",
6
6
  "directories": {
@@ -421,11 +421,14 @@ export class PhonePeer {
421
421
  const display = document.getElementById('display');
422
422
  if (display) {
423
423
  display.style.textAlign = 'left';
424
+ display.style.fontSize = '11px';
424
425
  }
425
426
 
426
427
  // set the text of the html elements
427
428
  recordingInProgressElement.innerText = recordingInProgress;
428
429
  allowMicrophoneElement.innerText = allowMicrophone;
430
+ allowMicrophoneElement.style.marginBottom = '0.5rem';
431
+ allowMicrophoneElement.style.fontSize = '17px';
429
432
 
430
433
  recordingInProgressElement.style.whiteSpace = 'nowrap';
431
434
  recordingInProgressElement.style.fontWeight = 'bold';
@@ -444,6 +447,7 @@ export class PhonePeer {
444
447
  message.style.lineHeight = '2.5rem';
445
448
  const p = document.createElement('p');
446
449
  p.innerText = backToExperimentWindow;
450
+ p.style.fontSize = '17px';
447
451
  message.appendChild(p);
448
452
 
449
453
  await this.listener.startCalibration();
@@ -85,7 +85,6 @@ class Listener extends AudioPeer {
85
85
  };
86
86
 
87
87
  sendPermissionStatus = status => {
88
- // this.displayUpdate('Listener - sendPermissionStatus');
89
88
  this.connectionManager.send({
90
89
  name: 'SoundCalibration',
91
90
  payload: {
@@ -230,7 +229,7 @@ class Listener extends AudioPeer {
230
229
  };
231
230
 
232
231
  openAudioStream = async () => {
233
- this.displayUpdate('Listener - openAudioStream');
232
+ this.displayUpdate('Listener - openAudioStream', false);
234
233
  const mobileOS = this.getMobileOS();
235
234
  if (process.env.NODE_ENV !== 'development' && mobileOS !== 'iOS') {
236
235
  const err = new UnsupportedDeviceError(`${mobileOS} is not supported`);