No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
1 additions and
8 deletions
-
vocoder/static/vocoder.js
|
|
@ -127,13 +127,6 @@ class GeneratedShape { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
function generateNewShape() { |
|
|
|
/** |
|
|
|
* Create a new p5.js shape. |
|
|
|
**/ |
|
|
|
return new GeneratedShape(); |
|
|
|
} |
|
|
|
|
|
|
|
function setup() { |
|
|
|
/** |
|
|
|
* The p5.js initial setup function. |
|
|
@ -147,7 +140,7 @@ function draw() { |
|
|
|
* The p5.js draw loop. |
|
|
|
**/ |
|
|
|
if (newSoundJustRecorded === true) { |
|
|
|
shapes.push(generateNewShape()); |
|
|
|
shapes.push(new GeneratedShape()); |
|
|
|
newSoundJustRecorded = false; |
|
|
|
} |
|
|
|
|
|
|
|