1<!-- Copyright (c) 2013 The Chromium OS Authors. All rights reserved. -->
2<!-- Use of this source code is governed by a BSD-style license that can be -->
3<!-- found in the LICENSE file. -->
4
5<html>
6  <head>
7    <TITLE>Audio Tuning</TITLE>
8    <link rel="stylesheet" href="audio.css" type="text/css">
9    <script type="text/javascript" src="audio.js"></script>
10    <script type="text/javascript" src="setup_credential.js"></script>
11    <script type="text/javascript" src="google_drive_picker.js"></script>
12    <script src="https://apis.google.com/js/client.js?onload=onGoogleClientApiLoad"></script>
13  </head>
14  <h1> Audio Source </h1>
15  URL: <input size=100 id="audio_source_url" list=samples autofocus=autofocus
16	      onchange="audio_source_set(this.value)"> </input>
17  <!-- Put your audio clip list here
18  <select id=samples onchange="audio_source_select(this)">
19    <option value="http://www.example.com/audio/clip1.wav">clip1</option>
20    <option value="http://www.example.com/audio/clip2.ogg">clip2</option>
21  </select>
22  -->
23  <input type=button value='Local Audio File' onclick="load_audio()"> </input>
24  <input type=button id='google_drive_pick_file' value='Select File from Google Drive' disable> </input>
25  <p></p>
26  <span id=audio_player_container>
27    <audio controls="controls" id="audio_player" loop=loop
28	   oncanplay="audio_source_canplay()"> </audio>
29  </span>
30  <span id=audio_loading style='visibility:hidden;color:#e59700'>Loading...</span>
31  <span id="global_section">
32  </span>
33
34  <input type=button value='Save Config' onclick="save_config()" id=save_config disabled> </input>
35  <input type=button value='Load Config' onclick="load_config()"> </input>
36  <div style="display:none">
37    <input type=file id=config_file onchange="config_file_changed()">
38    <input type=file id=audio_file onchange="audio_file_changed()">
39    <a id=save_config_anchor></a>
40  </div>
41
42  <h1> DRC </h1>
43  <div id="drc_section">
44  </div>
45  <h1> EQ Left </h1>
46  <div id="eq_left_section">
47  </div>
48  <h1> EQ Right </h1>
49  <div id="eq_right_section">
50  </div>
51  <body>
52  </body>
53</html>
54<html>
55