Comparing version 0.1.0 to 0.1.1
@@ -14,2 +14,4 @@ /** | ||
var module = this; | ||
this.fillStyle = options.fillStyle || '#000000'; | ||
this.strokeStyle = options.strokeStyle || '#000000'; | ||
this.canvas = options.canvas; | ||
@@ -66,4 +68,3 @@ this.onBeat = options.onBeat; | ||
} | ||
} | ||
else if (module.type === 'time') { | ||
} else if (module.type === 'time') { | ||
module.input.getByteTimeDomainData(data); | ||
@@ -70,0 +71,0 @@ ctx.beginPath(); |
{ | ||
"name": "audio-fft", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "visualize audio data on canvas with frequency or time", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,3 +0,5 @@ | ||
Audio FFT | ||
# Audio FFT | ||
[![NPM](https://nodei.co/npm/audio-fft.png?downloads=true)](https://npmjs.org/package/audio-fft) | ||
Originally pulled from a presentation by @jsantell |
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
3069
69
6