-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.txt
More file actions
51 lines (40 loc) · 1.6 KB
/
notes.txt
File metadata and controls
51 lines (40 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
UI menu to determine audio or not, as well as the items, alert, etc
if has sound, play sound. return. Otherwise, display the message.
and the sound wil be set via a method. setSound. Not by default.
menu
additional sounds for moving, intro, and have different items like tts, audio etc.
menu: allow first letter navigation, true false
make question and alert dialogs
maybe scrollingtext and question can belong to the same class, ALertService or something
audioQuestion and textQuestion, textAlert and audioAlert
question: y/n no menu for that
menu shortcut event should be handled by menu and not each item
new UI, text entry instead of a menu item with characters
UI menu getValues which will return all sliders, checkboxes, etc which have a value in a json like object with the ID and value.
implement events for menu moved
add submenus in menu
add clipboard reading as a tts service
fix reinit on voices changed does not happen on subsequent reloads of synth
use this snippet
this.synth = window.speechSynthesis;
if (this.synth.getVoices().length > 0) {
this.populateVoiceList();
if (this.voices.size == 0) {
return;
}
this.setVoice(this.getDefaultVoice());
resolve(true);
}
speech manager should set the language when setting to tts
prevent setVoice to null or undefined values
getVoiceBYUri
async getVoiceByURI (URI) {
await this.populateVoiceList();
return this.voices.get(voiceURI);
}
the manager's init method is fucked
async initialize(type) {
this.synthType = type;
getVoice
implement in both manager and tts
getVoice = () => this.voice;