summaryrefslogtreecommitdiff
path: root/morsecode/new 1.html
diff options
context:
space:
mode:
Diffstat (limited to 'morsecode/new 1.html')
-rwxr-xr-xmorsecode/new 1.html19
1 files changed, 0 insertions, 19 deletions
diff --git a/morsecode/new 1.html b/morsecode/new 1.html
deleted file mode 100755
index 6c834eb..0000000
--- a/morsecode/new 1.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<script>
-<input id="text">
-<button onclick="talk()">Talk It!</button>
-<button onclick="listen()">Voice</button>
-<script src="../bower_components/platform/platform.js"></script>
-<script src="../src/webspeech.js"></script>
-<script>
- var speaker = new webspeech.Speaker();
- var listener = new webspeech.Listener();
- function talk() {
- speaker.speak("en", document.getElementById("text").value);
- }
-
- function listen() {
- listener.listen("en", function(text) {
- document.getElementById("text").value = text;
- });
- }
-</script> \ No newline at end of file