No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
0 additions and
7 deletions
-
voicegardens/static/voicegardens.js
|
@ -151,13 +151,6 @@ function gardenShapes() { |
|
|
axios |
|
|
axios |
|
|
.get(url, { responseType: "blob" }) |
|
|
.get(url, { responseType: "blob" }) |
|
|
.then(function(response) { |
|
|
.then(function(response) { |
|
|
if (shapes.length >= 9) { |
|
|
|
|
|
// TODO
|
|
|
|
|
|
console.log( |
|
|
|
|
|
"TODO: max shapes allowed, implement shape replacement" |
|
|
|
|
|
); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
let data = new p5.File(response.data); |
|
|
let data = new p5.File(response.data); |
|
|
let sound = new p5.SoundFile(data, function() { |
|
|
let sound = new p5.SoundFile(data, function() { |
|
|
let amp = sound.getPeaks(1)[0] * 100; |
|
|
let amp = sound.getPeaks(1)[0] * 100; |
|
|