summaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 22:50:22 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-13 12:20:56 -0400
commit21a2730cdeef80327285f77a155451a8fbf67939 (patch)
tree01f53f126535e5d7109a4822d07b8c3967ebe918 /ext/bg/settings.html
parent2f88bcf82c4dd82d1dd2f035717effaa2673e3c2 (diff)
Add option for text-to-speech
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index ea3e8c18..ffa5533e 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -293,6 +293,16 @@
<input type="number" min="0" max="100" id="audio-playback-volume" class="form-control">
</div>
+ <div class="form-group" style="display: none;" id="text-to-speech-voice-container">
+ <label for="text-to-speech-voice">Text-to-speech voice</label>
+ <div class="input-group">
+ <select class="form-control" id="text-to-speech-voice"></select>
+ <div class="input-group-btn">
+ <button class="btn btn-default" id="text-to-speech-voice-test" title="Test voice" data-speech-text="よみちゃん"><span class="glyphicon glyphicon-volume-up"></span></button>
+ </div>
+ </div>
+ </div>
+
<div class="form-group options-advanced">
<label for="audio-custom-source">Custom audio source <span class="label-light">(URL)</span></label>
<input type="text" id="audio-custom-source" class="form-control" placeholder="Example: http://localhost/audio.mp3?expression={expression}&reading={reading}">
@@ -658,6 +668,7 @@
<script src="/bg/js/profile-conditions.js"></script>
<script src="/bg/js/templates.js"></script>
<script src="/bg/js/util.js"></script>
+ <script src="/mixed/js/audio.js"></script>
<script src="/bg/js/settings-profiles.js"></script>
<script src="/bg/js/settings.js"></script>