-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from google/gbg/speaker-app
speaker app
- Loading branch information
Showing
21 changed files
with
1,921 additions
and
94 deletions.
There are no files selected for viewing
Empty file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
body, h1, h2, h3, h4, h5, h6 { | ||
font-family: sans-serif; | ||
} | ||
|
||
#controlsDiv { | ||
margin: 6px; | ||
} | ||
|
||
#connectionText { | ||
background-color: rgb(239, 89, 75); | ||
border: none; | ||
border-radius: 4px; | ||
padding: 8px; | ||
display: inline-block; | ||
margin: 4px; | ||
} | ||
|
||
#startButton { | ||
padding: 4px; | ||
margin: 6px; | ||
} | ||
|
||
#fftCanvas { | ||
border-radius: 16px; | ||
margin: 6px; | ||
} | ||
|
||
#bandwidthCanvas { | ||
border: grey; | ||
border-style: solid; | ||
border-radius: 8px; | ||
margin: 6px; | ||
} | ||
|
||
#streamStateText { | ||
background-color: rgb(93, 165, 93); | ||
border: none; | ||
border-radius: 8px; | ||
padding: 10px 20px; | ||
display: inline-block; | ||
margin: 6px; | ||
} | ||
|
||
#connectionStateText { | ||
background-color: rgb(112, 146, 206); | ||
border: none; | ||
border-radius: 8px; | ||
padding: 10px 20px; | ||
display: inline-block; | ||
margin: 6px; | ||
} | ||
|
||
#propertiesTable { | ||
border: grey; | ||
border-style: solid; | ||
border-radius: 4px; | ||
padding: 4px; | ||
margin: 6px; | ||
margin-left: 0px; | ||
} | ||
|
||
th, td { | ||
padding-left: 6px; | ||
padding-right: 6px; | ||
} | ||
|
||
.properties td:nth-child(even) { | ||
background-color: #D6EEEE; | ||
font-family: monospace; | ||
} | ||
|
||
.properties td:nth-child(odd) { | ||
font-weight: bold; | ||
} | ||
|
||
.properties tr td:nth-child(2) { width: 150px; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Bumble Speaker</title> | ||
<script type="text/javascript" src="speaker.js"></script> | ||
<link rel="stylesheet" href="speaker.css"> | ||
</head> | ||
<body> | ||
<h1><img src="logo.svg" width=100 height=100 style="vertical-align:middle" alt=""/>Bumble Virtual Speaker</h1> | ||
<div id="connectionText"></div> | ||
<div id="speaker"> | ||
<table><tr> | ||
<td> | ||
<table id="propertiesTable" class="properties"> | ||
<tr><td>Codec</td><td><span id="codecText"></span></td></tr> | ||
<tr><td>Packets</td><td><span id="packetsReceivedText"></span></td></tr> | ||
<tr><td>Bytes</td><td><span id="bytesReceivedText"></span></td></tr> | ||
</table> | ||
</td> | ||
<td> | ||
<canvas id="bandwidthCanvas" width="500", height="100">Bandwidth Graph</canvas> | ||
</td> | ||
</tr></table> | ||
<span id="streamStateText">IDLE</span> | ||
<span id="connectionStateText">NOT CONNECTED</span> | ||
<div id="controlsDiv"> | ||
<button id="audioOnButton">Audio On</button> | ||
<span id="audioSupportMessageText"></span> | ||
</div> | ||
<canvas id="fftCanvas" width="1024", height="300">Audio Frequencies Animation</canvas> | ||
<audio id="audio"></audio> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.