gl-audio-analyser
Advanced tools
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": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8
45
0
8206