Comparing version 5.0.10 to 5.1.0
@@ -9,2 +9,3 @@ #! /usr/bin/env node | ||
['', 'bs[=BUFFER_SIZE]', 'Buffer size in samples (optional, default is 512)'], | ||
['', 'mfcc[=MFCC_COEFFICIENTS]', 'Number of MFCC co-efficients that the MFCC feature extractor should return (optional, default is 13)'], | ||
['', 'hs[=HOP_SIZE]', 'Hop size in samples (optional, defaults to matching buffer size)'], | ||
@@ -34,5 +35,7 @@ ['', 'w[=WINDOWING_FUNCTION]', 'Windowing function (optional, default is hanning)'], | ||
var HOP_SIZE = parseInt(opt.options.hs) || FRAME_SIZE; | ||
var MFCC_COEFFICIENTS = parseInt(opt.options.mfcc) || 13; | ||
Meyda.bufferSize = FRAME_SIZE; | ||
Meyda.hopSize = HOP_SIZE; | ||
Meyda.windowingFunction = opt.options.w || 'hanning'; | ||
Meyda.numberOfMFCCCoefficients = MFCC_COEFFICIENTS; | ||
@@ -39,0 +42,0 @@ var outputFormat = null; |
{ | ||
"name": "meyda", | ||
"version": "5.0.10", | ||
"version": "5.1.0", | ||
"description": "Real-time feature extraction for the web audio api", | ||
@@ -71,3 +71,3 @@ "main": "./dist/node/main.js", | ||
"terser-webpack-plugin": "^4.1.0", | ||
"webpack": "^4.31.0", | ||
"webpack": "^5.11.1", | ||
"webpack-cli": "^4.3.1", | ||
@@ -74,0 +74,0 @@ "webpack-stream": "^6.0.0" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
647375
8490