No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
5 additions and
2 deletions
-
vocoder/static/vocoder.js
|
|
@ -7,14 +7,17 @@ |
|
|
|
// https://developer.mozilla.org/en-US/docs/web/javascript/reference
|
|
|
|
//
|
|
|
|
|
|
|
|
var serverUrl = "http://localhost:5000"; // TODO: read from environment
|
|
|
|
var archiveUrl = serverUrl + "/add-to-archive/"; |
|
|
|
var microphone; |
|
|
|
var newSoundJustRecorded = false; |
|
|
|
var playButton; |
|
|
|
var recordButton; |
|
|
|
var recorder; |
|
|
|
var recording; |
|
|
|
var recordingTimeout = 30000; // 30 seconds (in milliseconds)
|
|
|
|
var newSoundJustRecorded = false; |
|
|
|
var serverUrl = "http://localhost:5000"; // TODO: read from environment
|
|
|
|
var shapes = []; |
|
|
|
var stopButton; |
|
|
|
|
|
|
|
function record() { |
|
|
|
/** |
|
|
|