This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
forked from ken107/read-aloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
premium-voices.html
230 lines (224 loc) · 7.09 KB
/
premium-voices.html
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html>
<head>
<title>Premium Voices</title>
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<style>
h2 {
margin-top: 10px;
}
.main-message {
margin-bottom: 40px;
}
.card {
margin-bottom: 40px;
}
.card-header {
text-transform: capitalize;
background-color: rgba(0, 0, 0, .66);
color: white;
}
.card-header > .material-icons {
vertical-align: middle;
}
#test-voices .buy-harpo {
font-size: smaller;
}
#subscription-status .free-tier-line {
font-size: smaller;
color: #6c757d;
}
#subscription-status .remaining {
color: #080;
}
#subscription-status .last-purchase-line, #subscription-status .purchase-status-line {
font-size: smaller;
color: #6c757d;
display: none;
}
#purchase-subscription .alert {
display: none;
}
#purchase-subscription table.items {
margin-bottom: 0;
}
#faq .card-body > div {
margin-bottom: 1rem;
}
#faq table {
width: 100%;
}
.page-loading {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-color: black;
opacity: .5;
}
.page-loading .spinner {
position: absolute;
left: 50%;
top: 50%;
margin-left: -60px;
margin-top: -60px;
border: 16px solid #f3f3f3; /* Light grey */
border-top: 16px solid #3498db; /* Blue */
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/buy.js"></script>
<script src="js/defaults.js"></script>
<script src="js/tts-engines.js"></script>
<script src="js/premium-voices.js"></script>
</head>
<body>
<div class="container">
<h2>Enable Premium Voices</h2>
<div class="text-secondary main-message">
Please <a target="_blank" href="https://blog.readaloud.app/2018/10/the-state-of-text-to-speech-technology.html">read our blog</a> to understand why we're charging money for these voices.
</div>
<div id="test-voices" class="card">
<div class="card-header">
<i class="material-icons">graphic_eq</i>
<strong>Voices</strong>
</div>
<div class="card-body">
<form>
<table>
<tr>
<td>
<select class="form-control voices"></select>
</td>
<td style="width: 1%">
<button type="button" class="btn btn-secondary btn-test">Test</button>
</td>
</tr>
</table>
</form>
<div class="buy-harpo text-secondary mt-2">
If you like a particular voice, we highly recommend buying the voice completely for unlimited personal use from <a href="https://harposoftware.com/en/2-main/s-1/index/brand-ivona/language-english_usa" target="_blank">Harpo Software</a>.
</div>
</div>
</div>
<div id="subscription-status" class="card">
<div class="card-header">
<i class="material-icons">verified_user</i>
<strong>Balance</strong>
</div>
<div class="card-body">
<div class="remaining-line">
</div>
<div class="free-tier-line">
Your account now includes 100,000 free characters per month.
</div>
<button type="button" class="btn btn-primary btn-login">Login</button>
<div class="last-purchase-line">
</div>
<div class="purchase-status-line">
</div>
</div>
</div>
<div id="purchase-subscription" class="card">
<div class="card-header">
<i class="material-icons">shopping_cart</i>
<strong>Purchase</strong>
</div>
<div class="card-body">
<div class="alert alert-danger"></div>
<table class="table items">
<tbody>
<tr>
<th>Item</th>
<th>Description</th>
<th>Price</th>
<th></th>
</tr>
</tbody>
</table>
</div>
</div>
<div id="faq" class="card">
<div class="card-header">
<strong>FAQ</strong>
</div>
<div class="card-body">
<div>
<a href data-toggle="collapse" data-target="#faq-1">How much is 1,000,000 characters?</a>
<div id="faq-1" class="collapse" data-parent="#faq">
<table>
<tr>
<th>Example</th>
<th>Text Length</th>
<th>Speech Duration</th>
</tr>
<tr>
<td>Average email message</td>
<td>3,100 characters</td>
<td>4 min</td>
</tr>
<tr>
<td>Typical news article</td>
<td>6,500 characters, three pages</td>
<td>9 min</td>
</tr>
<tr>
<td>"A Christmas Carol" by Charles Dickens</td>
<td>165,000 characters, 64 pages</td>
<td>3 hours 50 min</td>
</tr>
<tr>
<td>"Adventures of Huckleberry Finn" by Mark Twain</td>
<td>600,000 characters, 224 pages</td>
<td>13 hours 50 min</td>
</tr>
</table>
</div>
</div>
<div>
<a href data-toggle="collapse" data-target="#faq-2">If I rewind or reread a document, does it count towards my balance?</a>
<div id="faq-2" class="collapse" data-parent="#faq">
Synthesized speech are cached on the server for 1 hour.
If you reread the document within that time, it won't be counted.
So feel free to forward/rewind at will.
</div>
</div>
<div>
<a href data-toggle="collapse" data-target="#faq-3">Where do I view my order history?</a>
<div id="faq-3" class="collapse" data-parent="#faq">
You can view your past orders on <a href="https://pay.google.com/" target="_blank">pay.google.com</a>.
</div>
</div>
<div>
<a href data-toggle="collapse" data-target="#faq-5">How do I get support?</a>
<div id="faq-5" class="collapse" data-parent="#faq">
Please email <a href="mailto:[email protected]">[email protected]</a> if you need help.
</div>
</div>
<div>
<a href data-toggle="collapse" data-target="#faq-6">How does the free tier work?</a>
<div id="faq-6" class="collapse" data-parent="#faq">
The free characters will always be used <i>before</i> the purchased characters are used.
So let's say you have purchased 2M characters and you have 100,000 free characters,
the 100,000 free characters will be used up first before the 2M is used.
At the start of each month, the balance of free characters will be reset back to 100,000.
</div>
</div>
</div>
</div>
</div>
<div class="page-loading">
<div class="spinner"></div>
</div>
</body>
</html>