Browse Source

Remove play button

main
Luke Murphy 4 years ago
parent
commit
4a6358265e
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 14
      voicegardens/static/voicegardens.js

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

Loading…
Cancel
Save