Socket
Socket
Sign inDemoInstall

audio-fft

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-fft - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

7

index.js

@@ -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;

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc