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
|
|
|
// 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 archiveUrl = serverUrl + "/add-to-archive/"; |
|
|
var microphone; |
|
|
var microphone; |
|
|
|
|
|
var newSoundJustRecorded = false; |
|
|
|
|
|
var playButton; |
|
|
|
|
|
var recordButton; |
|
|
var recorder; |
|
|
var recorder; |
|
|
var recording; |
|
|
var recording; |
|
|
var recordingTimeout = 30000; // 30 seconds (in milliseconds)
|
|
|
var recordingTimeout = 30000; // 30 seconds (in milliseconds)
|
|
|
var newSoundJustRecorded = false; |
|
|
var serverUrl = "http://localhost:5000"; // TODO: read from environment
|
|
|
var shapes = []; |
|
|
var shapes = []; |
|
|
|
|
|
var stopButton; |
|
|
|
|
|
|
|
|
function record() { |
|
|
function record() { |
|
|
/** |
|
|
/** |
|
|