Comparing version 0.1.1 to 0.1.2
@@ -17,4 +17,2 @@ /** | ||
this.canvas = options.canvas; | ||
this.onBeat = options.onBeat; | ||
this.offBeat = options.offBeat; | ||
this.type = options.type || 'frequency'; | ||
@@ -29,7 +27,2 @@ this.spacing = options.spacing || 1; | ||
this.decay = options.decay || 0.002; | ||
this.threshold = options.threshold || 0.5; | ||
this.range = options.range || [0, this.data.length-1]; | ||
this.wait = options.wait || 512; | ||
this.h = this.canvas.height; | ||
@@ -36,0 +29,0 @@ this.w = this.canvas.width; |
{ | ||
"name": "audio-fft", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "visualize audio data on canvas with frequency or time", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2826
63