No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
1 additions and
8 deletions
-
voicegardens/static/voicegardens.js
|
@ -83,8 +83,8 @@ function stop() { |
|
|
// https://p5js.org/reference/#/p5.SoundFile/duration
|
|
|
// https://p5js.org/reference/#/p5.SoundFile/duration
|
|
|
duration = recording.duration(); |
|
|
duration = recording.duration(); |
|
|
|
|
|
|
|
|
|
|
|
// automatically archive this sound to the back-end
|
|
|
sendToArchive(); |
|
|
sendToArchive(); |
|
|
addToFooterArchive(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -119,12 +119,6 @@ function sendToArchive() { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function addToFooterArchive() { |
|
|
|
|
|
/** |
|
|
|
|
|
* Add shape to the archive. |
|
|
|
|
|
**/ |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function setupRecording() { |
|
|
function setupRecording() { |
|
|
/** |
|
|
/** |
|
|
* Setup logic for sound recording. |
|
|
* Setup logic for sound recording. |
|
@ -453,7 +447,6 @@ function draw() { |
|
|
let newShape = new GeneratedShape(); |
|
|
let newShape = new GeneratedShape(); |
|
|
newShape.recording = recording; |
|
|
newShape.recording = recording; |
|
|
shapes.push(newShape); |
|
|
shapes.push(newShape); |
|
|
addToFooterArchive(newShape); |
|
|
|
|
|
newSoundJustRecorded = false; |
|
|
newSoundJustRecorded = false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|