decentral1se
4 years ago
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with
0 additions and
3 deletions
-
voicegardens/static/voicegardens.js
|
@ -586,10 +586,7 @@ function draw() { |
|
|
// generate a new shape after a sound recording
|
|
|
// generate a new shape after a sound recording
|
|
|
if (newSoundJustRecorded === true) { |
|
|
if (newSoundJustRecorded === true) { |
|
|
let limits = gardenOfflineLimits(); |
|
|
let limits = gardenOfflineLimits(); |
|
|
console.log("limits are:"); |
|
|
|
|
|
console.log(limits); |
|
|
|
|
|
if (limits === false) { |
|
|
if (limits === false) { |
|
|
console.log("making another one!"); |
|
|
|
|
|
// build a new copy of the recording to store on the shape object
|
|
|
// build a new copy of the recording to store on the shape object
|
|
|
let soundBlob = recording.getBlob(); |
|
|
let soundBlob = recording.getBlob(); |
|
|
let data = new p5.File(soundBlob); |
|
|
let data = new p5.File(soundBlob); |
|
|