speaker-calibration 2.2.161 → 2.2.162
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/.github/workflows/update-phrases.yml +37 -0
- package/dist/example/credentials.json.gpg +0 -0
- package/dist/example/i18n.js +19532 -31241
- package/dist/example/listener.html +2 -2
- package/dist/example/styles.css +9 -5
- package/dist/main.js +623 -499
- package/package.json +4 -2
- package/src/peer-connection/audioPeer.js +27 -0
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
<h1>Sound Calibration</h1>
|
|
40
40
|
<p class="lead" id="allowMicrophone"></p>
|
|
41
41
|
<p class="lead" id="message"></p>
|
|
42
|
-
</div>
|
|
43
|
-
<div id="updateDisplay">
|
|
44
42
|
<div class="col-6">
|
|
45
43
|
<button id="calibrationBeginButton" type="button" class="btn btn-success">Proceed</button>
|
|
46
44
|
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div id="updateDisplay">
|
|
47
47
|
<div class="col-6">
|
|
48
48
|
<div id="display"></div>
|
|
49
49
|
</div>
|
package/dist/example/styles.css
CHANGED
|
@@ -41,17 +41,19 @@ hr {
|
|
|
41
41
|
|
|
42
42
|
.phrases {
|
|
43
43
|
transform: rotate(180deg);
|
|
44
|
-
margin-top: 100vh;
|
|
44
|
+
/* margin-top: 100vh; */
|
|
45
45
|
position: absolute;
|
|
46
46
|
bottom: 0;
|
|
47
47
|
right: 10px;
|
|
48
|
+
overflow-y: scroll;
|
|
49
|
+
max-height: 70vh;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
.updateDisplay {
|
|
51
53
|
transform: rotate(180deg);
|
|
52
|
-
position: absolute;
|
|
54
|
+
/* position: absolute;
|
|
53
55
|
bottom: 20vh;
|
|
54
|
-
right: 10px;
|
|
56
|
+
right: 10px; */
|
|
55
57
|
overflow-y: scroll;
|
|
56
58
|
overflow-x: hidden;
|
|
57
59
|
}
|
|
@@ -60,11 +62,13 @@ hr {
|
|
|
60
62
|
position: absolute;
|
|
61
63
|
top: 20px;
|
|
62
64
|
font-size: larger;
|
|
65
|
+
max-height: 25vh;
|
|
66
|
+
overflow-y: scroll;
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
#calibrationBeginButton {
|
|
66
|
-
margin-top:
|
|
67
|
-
margin-bottom:
|
|
70
|
+
margin-top: 2vh;
|
|
71
|
+
margin-bottom: 2vh;
|
|
68
72
|
}
|
|
69
73
|
|
|
70
74
|
.container {
|