@iam-protocol/pulse-sdk 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/extraction/mfcc.ts +1 -1
package/package.json
CHANGED
package/src/extraction/mfcc.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { AudioCapture } from "../sensor/types";
|
|
|
2
2
|
import { condense, entropy } from "./statistics";
|
|
3
3
|
|
|
4
4
|
// Frame parameters matching the research paper spec
|
|
5
|
-
const FRAME_SIZE =
|
|
5
|
+
const FRAME_SIZE = 512; // ~32ms at 16kHz (must be power of 2 for Meyda FFT)
|
|
6
6
|
const HOP_SIZE = 160; // 10ms hop
|
|
7
7
|
const NUM_MFCC = 13;
|
|
8
8
|
|