diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index d85098d..5a50830 100644 --- a/voicegardens/static/voicegardens.js +++ b/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; }