Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gl-audio-analyser

Package Overview
Dependencies
Maintainers
9
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-audio-analyser - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

index.js

@@ -34,3 +34,3 @@ var Analyser = require('web-audio-analyser')

}
GLAudioAnalyser.prototype.bindWaveform = function(index, channel) {
GLAudioAnalyser.prototype.bindWaveform = function(index) {
var wave = this.waveform()

@@ -42,8 +42,9 @@ var waveFlt = this.waveFlt

}
this.waveTex.bind(index)
this.waveTex.setPixels(this.waveNda)
return this.waveTex.bind(index, channel)
return index
}
GLAudioAnalyser.prototype.bindFrequencies = function(index, channel) {
GLAudioAnalyser.prototype.bindFrequencies = function(index) {
var freq = this.frequencies()

@@ -56,4 +57,5 @@ var freqFlt = this.freqFlt

this.freqTex.bind(index)
this.freqTex.setPixels(this.freqNda)
return this.freqTex.bind(index, channel)
return index
}
{
"name": "gl-audio-analyser",
"version": "1.0.1",
"version": "1.0.2",
"description": "Pull audio waveform/frequency data into WebGL for realtime audio visualisation!",

@@ -8,3 +8,3 @@ "main": "index.js",

"scripts": {
"start": "budo demo/index.js --transform glslify | bistre",
"start": "budo demo/index.js:bundle.js --live -- --transform glslify",
"bundle": "browserify demo/index.js --transform glslify > bundle.js"

@@ -23,11 +23,10 @@ },

"devDependencies": {
"gl-shader": "^4.2.0",
"a-big-triangle": "^1.0.0",
"bistre": "^1.0.1",
"browserify": "^8.1.3",
"budo": "^0.1.12",
"budo": "^7.1.0",
"canvas-fit": "^1.2.0",
"gl-context": "^0.1.1",
"glslify": "^1.6.0",
"soundcloud-badge": "0.0.0",
"watchify": "^2.3.0"
"glslify": "^5.0.2",
"soundcloud-badge": "0.0.0"
},

@@ -34,0 +33,0 @@ "repository": {

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