From 2e3438a7382d12e9a9adcbf8d8dd397538cc8424 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 9 Feb 2020 16:18:57 +0100 Subject: [PATCH] Remove footer that is gone now --- voicegardens/static/voicegardens.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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; }