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);