73 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
 | |
| <!DOCTYPE html>
 | |
| <html>
 | |
|   <head>
 | |
|     <meta charset="utf-8">
 | |
|     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 | |
|     <meta name="viewport" content="width=device-width">
 | |
|     <script
 | |
|         src="https://code.jquery.com/jquery-3.6.0.slim.min.js"
 | |
|         integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI="
 | |
|         crossorigin="anonymous"
 | |
|     ></script>
 | |
| 
 | |
|     <title>Speech synthesiser</title>
 | |
| 
 | |
|     <script src="NoSleep.min.js"></script>
 | |
|     <script src="script.js"></script>
 | |
|     <script src="book.js"></script>
 | |
|     <link rel="stylesheet" href="style.css">
 | |
|     <!--[if lt IE 9]>
 | |
|       <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
 | |
|     <![endif]-->
 | |
|   </head>
 | |
| 
 | |
|   <body>
 | |
|     <div class=voice-settings>
 | |
|       <h1>Speech synthesiser</h1>
 | |
| 
 | |
|       <p>Enter some text in the input below and press return  or the "play" button to hear it. change voices using the dropdown menu.</p>
 | |
|       
 | |
|       <form>
 | |
|       <input type="text" class="txt">
 | |
|       <div>
 | |
|         <label for="rate">Rate</label><input type="range" min="0.5" max="2" value="1" step="0.1" id="rate">
 | |
|         <div class="rate-value">1</div>
 | |
|         <div class="clearfix"></div>
 | |
|       </div>
 | |
|       <div>
 | |
|         <label for="pitch">Pitch</label><input type="range" min="0" max="2" value="1" step="0.1" id="pitch">
 | |
|         <div class="pitch-value">1</div>
 | |
|         <div class="clearfix"></div>
 | |
|       </div>
 | |
|       <select class=voice-select>
 | |
|       </select>
 | |
|       <div class="controls">
 | |
|         <button id="play" type="submit">Play</button>
 | |
|       </div>
 | |
|       </form>
 | |
|     </div>
 | |
|     <div class=screen>
 | |
|       <div class=widget>
 | |
|         <select name=book>
 | |
|           <option value=0>Death of a Hear</option>
 | |
|         </select>
 | |
|         <br/>
 | |
|         <span>Current Sentence: </span>
 | |
|         <input type=input name=current-sentence></input>
 | |
|         <span>Total Sentences: </span>
 | |
|         <input type=input name=total-sentences disabled>
 | |
|         </input>
 | |
|         <br/>
 | |
|         <input type=button name=read-aloud value="Read Aloud">
 | |
|         <input type=button name=debug value="Debug">
 | |
|         </input>
 | |
|         <br/>
 | |
|       </div>
 | |
|       <pre class=status>
 | |
|       </pre>
 | |
|     </div>
 | |
| 
 | |
|   </body>
 | |
| </html>
 |