-
Notifications
You must be signed in to change notification settings - Fork 1
/
Main.fmx
189 lines (189 loc) · 5.44 KB
/
Main.fmx
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
object Form1: TForm1
Left = 0
Top = 0
ClientHeight = 446
ClientWidth = 434
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
OnCreate = FormCreate
DesignerMasterStyle = 0
object ToolBar1: TToolBar
Size.Width = 434.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
TabOrder = 0
object Label1: TLabel
Align = Contents
StyledSettings = [Family, Size, FontColor]
Margins.Left = 5.000000000000000000
Margins.Top = 5.000000000000000000
Margins.Right = 5.000000000000000000
Margins.Bottom = 5.000000000000000000
Size.Width = 424.000000000000000000
Size.Height = 38.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.StyleExt = {00070000000000000004000000}
TextSettings.HorzAlign = Center
Text = 'Text To Speech / Speech To Text'
TabOrder = 1
end
object ShadowEffect4: TShadowEffect
Distance = 3.000000000000000000
Direction = 45.000000000000000000
Softness = 0.300000011920929000
Opacity = 0.600000023841857900
ShadowColor = claBlack
end
end
object TabControl1: TTabControl
Align = Client
FullSize = True
Size.Width = 434.000000000000000000
Size.Height = 398.000000000000000000
Size.PlatformDefault = False
TabIndex = 0
TabOrder = 7
TabPosition = Bottom
Sizes = (
434s
372s
434s
372s)
object TabItem1: TTabItem
CustomIcon = <
item
end>
TextSettings.Trimming = None
IsSelected = True
Size.Width = 216.000000000000000000
Size.Height = 26.000000000000000000
Size.PlatformDefault = False
StyleLookup = ''
TabOrder = 0
Text = 'Text To Speech'
ExplicitSize.cx = 159.000000000000000000
ExplicitSize.cy = 24.000000000000000000
object Button1: TButton
Align = Bottom
Margins.Left = 3.000000000000000000
Margins.Top = 3.000000000000000000
Margins.Right = 3.000000000000000000
Margins.Bottom = 3.000000000000000000
Position.X = 3.000000000000000000
Position.Y = 332.000000000000000000
Size.Width = 428.000000000000000000
Size.Height = 37.000000000000000000
Size.PlatformDefault = False
TabOrder = 1
Text = 'Send Request For Speech Generation'
TextSettings.Trimming = None
OnClick = Button1Click
end
object Memo2: TMemo
Touch.InteractiveGestures = [Pan, LongTap, DoubleTap]
DataDetectorTypes = []
Lines.Strings = (
'Cats and mice')
Align = Client
Size.Width = 434.000000000000000000
Size.Height = 312.000000000000000000
Size.PlatformDefault = False
TabOrder = 2
Viewport.Width = 430.000000000000000000
Viewport.Height = 308.000000000000000000
end
object Label4: TLabel
Align = Top
Size.Width = 434.000000000000000000
Size.Height = 17.000000000000000000
Size.PlatformDefault = False
Text = 'User'#39's request for speech generation'
TabOrder = 0
end
end
object TabItem2: TTabItem
CustomIcon = <
item
end>
TextSettings.Trimming = None
IsSelected = False
Size.Width = 216.000000000000000000
Size.Height = 26.000000000000000000
Size.PlatformDefault = False
StyleLookup = ''
TabOrder = 0
Text = 'Speech To Text'
ExplicitSize.cx = 160.000000000000000000
ExplicitSize.cy = 24.000000000000000000
object Label2: TLabel
Align = Bottom
Position.Y = 355.000000000000000000
Size.Width = 434.000000000000000000
Size.Height = 17.000000000000000000
Size.PlatformDefault = False
TabOrder = 1
end
object Memo1: TMemo
Touch.InteractiveGestures = [Pan, LongTap, DoubleTap]
DataDetectorTypes = []
Align = Client
Size.Width = 434.000000000000000000
Size.Height = 297.000000000000000000
Size.PlatformDefault = False
TabOrder = 3
Viewport.Width = 430.000000000000000000
Viewport.Height = 293.000000000000000000
end
object Button4: TButton
Align = Bottom
Position.Y = 314.000000000000000000
Size.Width = 434.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 2
Text = 'Speech From Audio File To Text'
TextSettings.Trimming = None
OnClick = Button4Click
end
object Label3: TLabel
Align = Top
Size.Width = 434.000000000000000000
Size.Height = 17.000000000000000000
Size.PlatformDefault = False
Text = 'Generated text form audio file'
TabOrder = 0
end
end
end
object MediaPlayer1: TMediaPlayer
Left = 104
Top = 88
end
object NetHTTPClient1: TNetHTTPClient
UserAgent = 'Embarcadero URI Client/1.0'
SecureProtocols = [TLS11, TLS12]
PreemptiveAuthentication = True
Left = 344
Top = 88
end
object RESTRequest1: TRESTRequest
AssignedValues = [rvAccept]
Accept = ''
Method = rmPOST
Params = <>
SynchronizedEvents = False
Left = 209
Top = 235
end
object RESTClient1: TRESTClient
Params = <>
SynchronizedEvents = False
Left = 105
Top = 163
end
object HTTPBasicAuthenticator1: THTTPBasicAuthenticator
Left = 328
Top = 312
end
end