File size: 599 Bytes
7651129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
<head>
    <title>Text to Speech</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <h1>Text to Speech</h1>
    <textarea id="inputText" rows="5" cols="50"></textarea><br><br>
    <button id="convertButton">Convert to Speech</button>
    <div id="status"></div>
    <div id="audioOutput" style="margin-top: 20px;">
        <a id="downloadLink" href="#" download="output.wav" style="display: none;">Download Audio</a>
        <audio id="audioPlayer" controls style="display: none;"></audio>
    </div>

    <script src="script.js"></script>
</body>
</html>