You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

sound-detection

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sound-detection - npm Package Compare versions

Comparing version

to
0.1.1

3

index.js

@@ -27,3 +27,3 @@ var http = require('http');

dB = toDecibel(rms);
if (options.triggerLevel)
if (options.triggerLevel) {
if (dB > toDecibel(rmsAvg()) + options.triggerLevel) {

@@ -45,2 +45,3 @@ callback(dB);

}
module.exports = NoiseDetection;
{
"name": "sound-detection",
"version": "0.1.0",
"version": "0.1.1",
"description": "Library to detect sudden noises above ambient from a network stream such as an IP Webcam or network microphone. ",

@@ -5,0 +5,0 @@ "author": "Barry John Williams <barry@bjw.me.uk>",