From 4a6358265e4cec0a9d84e2913534a0a74f84e4ec Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 9 Feb 2020 17:26:10 +0100 Subject: [PATCH] Remove play button --- voicegardens/static/voicegardens.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index 263e07c..ad4db6a 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -27,7 +27,6 @@ var recording; var newSoundJustRecorded = false; // All user clickable buttons -var playButton; var recordButton; var stopButton; var chorusButton; @@ -89,15 +88,6 @@ function stop() { } } -function play() { - /** - * Play the sound just recorded. - **/ - if (recording.isLoaded()) { - recording.play(); - } -} - function sendToArchive() { /** * Send the sound to the back-end for archiving. @@ -140,10 +130,6 @@ function setupRecording() { stopButton.position(10, 40); stopButton.mousePressed(stop); - playButton = createImg("../static/images/PLAY-BW.png"); - playButton.position(10, 75); - playButton.mousePressed(play); - chorusButton = createImg("../static/images/CHORUS-BW.png"); chorusButton.position(10, 110);