Browse Source

Handle really long recordings

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

1
voicegardens/static/voicegardens.js

@ -255,6 +255,7 @@ class GeneratedShape {
// The distance between the xs and ys influencing the size of the shape. // The distance between the xs and ys influencing the size of the shape.
// The randomXs, randomYs also influence the shape size as they are added // The randomXs, randomYs also influence the shape size as they are added
// when drawing the space between xs and ys. // when drawing the space between xs and ys.
if (this.soundDuration > 10) this.soundDuration = this.soundDuration / 10;
this.radius = ceil(this.soundDuration * 40); this.radius = ceil(this.soundDuration * 40);
// ??? // ???

Loading…
Cancel
Save