-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadroit_eng.html
253 lines (173 loc) · 12.2 KB
/
adroit_eng.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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--
Awesome Template
http://www.templatemo.com/preview/templatemo_450_awesome
-->
<title>Literature Love</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="css/animate.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/templatemo-style.css">
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.singlePageNav.min.js"></script>
<script src="js/typed.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/custom.js"></script>
<script src="microsoft.cognitiveservices.speech.sdk.bundle.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
<script type="text/javascript" src="exp.json"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/microsoft-cognitiveservices-speech-sdk@latest/distrib/browser/microsoft.cognitiveservices.speech.sdk.bundle-min.js"> -->
</script>
<script>
$(document).ready(function () {
$('#lang').on('change', function() {
if ($('#lang :selected').text() == "Tamil")
{
window.location.replace('https://gentle-pebble-08cfc3110.azurestaticapps.net/adroit_tam.html')
}
});
});
</script>
</head>
<body id="top">
<!-- start preloader -->
<div class="preloader">
<div class="sk-spinner sk-spinner-wave">
<div class="sk-rect1"></div>
<div class="sk-rect2"></div>
<div class="sk-rect3"></div>
<div class="sk-rect4"></div>
<div class="sk-rect5"></div>
</div>
</div>
<!-- end preloader -->
<!-- start header -->
<!-- end header -->
<!-- start navigation -->
<nav class="navbar navbar-default templatemo-nav" role="navigation">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon icon-bar"></span>
<span class="icon icon-bar"></span>
<span class="icon icon-bar"></span>
</button>
<a href="#" class="navbar-brand">Literature Love</a>
</div>
</nav>
<!-- end navigation -->
<!-- start home -->
<!-- start service -->
<section id="service">
<div class="container">
<a href="index.html" class="btn btn-default">Back to Home</a>
<div class="row">
<div class="col-md-12">
<h2 class="wow bounceIn" data-wow-offset="50" data-wow-delay="0.3s"><span>Girl I met - Hari Haran S</span></h2>
<h2 class="wow bounceIn" data-wow-offset="50" data-wow-delay="0.3s"><span>நான் சந்தித்த பெண் - ஹரி ஹரன் எஸ்</span></h2>
</div>
<div>
<label for="cars">Choose language:</label>
<select name="cars" id="lang">
<option value="volvo" selected="selected">English</option>
<option value="saab">Tamil</option>
</select>
</div>
<div id = "english">
<input type='submit' onclick='playaudio(event)' class='englishaudio btn btn-default' value='English Audio'>
<br/>
<br/>
On a fine morning, I got a bus to reach my college, there I saw a girl with a blue bag on her back and a travel bag in her right hand. I recognized her, she is the girl behind who exactly I sit behind all-time in my tuition classes, sorry I revealed unwanted stuff, change that with “she is the girl usually sit in front of me all the time”. If I sat on the left corner she came left, if I go right corner she comes right. “Well!” I sat in middle “Oh my god!” she is sitting in front of me again, exactly opposite to me. I shocked initially, days passed I overcame her activity in days.<br/><br/> After figuring out her, I saw whether her dad was left. I placed my bag on my seat to mark that seat for me. I made my steps to her slowly. I reached my destination. I just want to spell some words, I had a confusion to choose the language. Finally, I chose English, to make myself modern. “H” started to spell HI, bus driver interrupted well by starting the bus, my voice became low. So I gave a pause and gave chance to the driver. He made his majestic sounds and the bus came to normal until I held the pole nearby. <br> There stayed a silence. I made this chance useful. “Hey”, I said with a great smile on my face. She looked shocked I don’t know either myself or my smile made such a feeling. She replied “Hey” and gave two blinks. I didn’t give up that smile is holding over my mouth. “How are you?” I asked just making my smile to stay down a while. She looked at me from top to bottom, instead of answering my easiest question she made a cross-question, “Who are you?” Now am unanswerable here. <br> Now I made the two blinks. I made my feet step back for two steps, the finest road services helped me to manage well. I made a description about me, even I hadn’t made even in my resume because it includes all my incidents with that girl. <br/><br/> She made some words with a spooky head, “yeah, that guy ah ok ok”. Then I don’t know what to say more. I saw the seat was empty behind her, I marked that place with my eye and the neighbor of that seat, an old man sleeping. “Perfect”, my mind said. I made my step faster and took the bag of my previously placed seat and hurried to the new seat I marked. What to do guys, history repeats again she is always sitting opposite to me always what can I do. <br/><br/> I just leaped to see what she is doing oops! The seat was height, I haven’t mentioned am short, only the seat was high. I just made my legs force to that seatback. A vibration was made, I doubted whether she was able to distinguish the vibrations from the bus. Yep, she did. She turned back I just looked on the other side and acted unnoticed. I know she saw me acting. She made a smile and turned back. <br/><br/> I tilted my head to my extreme corner to see her. She was dazzling, my heartbeat slowed down, with calmness, I wore a headset, on a speed breaker I lost them from ears, but my ears still hear a romantic melody. I smiled myself. She turned back, I noticed it and I made myself acting like sleeping, but I had a half eye. She just extended her hand with mobile to call me, only her hand came, as I didn’t show up she made her head to look back. She smiled at me and back to her position. <br/><br/> I thought myself stupid for wasting this wonderful opportunity. Thinking over my memories of buying dairy milk for her which I lost in the same tuition, now my lips want to speak with her at least a few words. I got up from my seat and spelled her name slowly. To my disappointment, she slept. <br/><br/> What to do next I thought, thinking I closed my eyes. Suddenly someone shook my hands its none other than her. She said that her stop will be there in 5 minutes, I smiled that she considered me a person. I was in an excited state then. My lips want to smile but I don’t wish to scare her this time. I just made my lips curve a little. <br/><br/> She asked a help. I was eager to help, she said, “I kept my mobile somewhere, I can’t find it please help me, I shouldn’t have woken you”. I was more heroic now, she needs my number, acting weird. Now am here to get her mobile number. I asked for her number. She spelled it. I typed it. I made a call, I heard a ring sound under my leg. <br/><br/> I took the mobile and handed it over to her. She thanked me and she got down. She was on her way and am on my way. I reached my home. I made myself comfortable, I picked my mobile, scroll down for her number. I found her number and made a call. The first ring went by, the second ring went by, the third, followed by 7 rings, then attended the call. Silence for a while. The call ended. I slapped myself with my mobile and talked myself that am the one to call so am the one to speak first. <br/><br/> I made a call again. Total disappointment lies here. That the person on the other side told that the mobile was missed and a girl saved it for them. Even though they scolded me I imaged her in mind. After a while is using my social media, as usual. A beep notification from what’s app “image”. I just downloaded it, that was a picture of me sleeping on the bus. I shocked at that moment my hands moved to my mouth. Eyes became two times larger. Followed by a message check your bag’s side zip. <br/><br/> I ran to the hallway where I kept the bag. I opened the side zip there was a folded paper, a torn paper, and a diary milk chocolate wrapper. There was a torn paper piece I just shocked to see it, there written was my name and my class that was a piece from my tuition notebook. <br/><br/> I took this stuff and ran to my room I opened the paper, the rest is my life what am living now.
</div>
</div>
</div>
</section>
<!-- end servie -->
<!-- start copyright -->
<footer id="copyright">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<p class="wow bounceIn" data-wow-offset="50" data-wow-delay="0.3s">
Developed by Vivek Raja P S (விவேக் ராஜா)
</div>
</div>
</div>
</footer>
<!-- end copyright -->
</body>
<script>
function playaudio(event){
// subscription key and region for speech services.
var subscriptionKey, serviceRegion;
var SpeechSDK = window.SpeechSDK;
var synthesizer;
var player;
pauseButton = $(".pauseButton");
resumeButton = $(".resumeButton");
subscriptionKey = "ccfe53df0b1d443fbc00dd1d7ec88d98";
serviceRegion = "eastus";
startSpeakTextAsyncButton = $(event.target);
startSpeakTextAsyncButton.hide();
console.log(startSpeakTextAsyncButton);
let inputText = startSpeakTextAsyncButton.parent().text();
console.log(inputText);
var audio = startSpeakTextAsyncButton.attr("value");
var voice = "";
var lang = "";
if(audio=="Tamil Audio"){
voice = "ta-IN-Valluvar";
lang = "ta-IN";
}
if(audio == "English Audio"){
voice = "en-IN-Heera";
lang = "en-IN";
}
var ssmlpre = '<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="'+lang+'"> <voice name="'+voice+'">';
var ssmlpost = '</voice></speak>'
ssmlpre = unescape(encodeURIComponent( ssmlpre ));
ssmlpost = unescape(encodeURIComponent( ssmlpost ));
var ssml = ssmlpre+inputText+ssmlpost;
startSpeakTextAsyncButton.disabled = true;
var speechConfig;
speechConfig = SpeechSDK.SpeechConfig.fromSubscription(subscriptionKey, serviceRegion);
synthesizer = new SpeechSDK.SpeechSynthesizer(speechConfig);
console.log(ssml);
synthesizer.speakSsmlAsync(
ssml,
function (result) {
startSpeakTextAsyncButton.disabled = false;
if (result.reason === SpeechSDK.ResultReason.SynthesizingAudioCompleted) {
console.log("synthesis finished for [" + ssml + "].\n");
} else if (result.reason === SpeechSDK.ResultReason.Canceled) {
console.log("synthesis failed. Error detail: " + result.errorDetails + "\n");
}
window.console.log(result);
synthesizer.close();
synthesizer = undefined;
},
function (err) {
startSpeakTextAsyncButton.disabled = false;
console.log("err");
window.console.log(err);
synthesizer.close();
synthesizer = undefined;
});
if (!!window.SpeechSDK) {
SpeechSDK = window.SpeechSDK;
startSpeakTextAsyncButton.disabled = false;
}
}
</script>
</html>