No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
1 additions and
8 deletions
-
voicegardens/static/voicegardens.js
|
|
@ -83,8 +83,8 @@ function stop() { |
|
|
|
// https://p5js.org/reference/#/p5.SoundFile/duration
|
|
|
|
duration = recording.duration(); |
|
|
|
|
|
|
|
// automatically archive this sound to the back-end
|
|
|
|
sendToArchive(); |
|
|
|
addToFooterArchive(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -119,12 +119,6 @@ function sendToArchive() { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
function addToFooterArchive() { |
|
|
|
/** |
|
|
|
* Add shape to the archive. |
|
|
|
**/ |
|
|
|
} |
|
|
|
|
|
|
|
function setupRecording() { |
|
|
|
/** |
|
|
|
* Setup logic for sound recording. |
|
|
@ -453,7 +447,6 @@ function draw() { |
|
|
|
let newShape = new GeneratedShape(); |
|
|
|
newShape.recording = recording; |
|
|
|
shapes.push(newShape); |
|
|
|
addToFooterArchive(newShape); |
|
|
|
newSoundJustRecorded = false; |
|
|
|
} |
|
|
|
|
|
|
|