Files
suaveplan/packages/media/audio/audio-analysis-pitch/package.json
2026-05-27 23:47:53 +01:00

110 lines
3.4 KiB
JSON

{
"name": "@suaveplan/audio-analysis-pitch",
"version": "0.1.0",
"type": "module",
"sideEffects": false,
"description": "Universal pitch, key, and chord detection AnalysisOp plugins for the @suaveplan/audio-* family. YIN/McLeod/cepstrum f0 estimation, Krumhansl-Schmuckler / Temperley key finding, chromagram template-matched chord progressions with temporal smoothing.",
"license": "MIT",
"author": "Suaveplan Team",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./error-codes": {
"import": {
"types": "./dist/error-codes/index.d.ts",
"default": "./dist/error-codes/index.js"
}
},
"./detector/pitch-detector": {
"import": {
"types": "./dist/detector/pitch-detector.d.ts",
"default": "./dist/detector/pitch-detector.js"
}
},
"./detector/key-detector": {
"import": {
"types": "./dist/detector/key-detector.d.ts",
"default": "./dist/detector/key-detector.js"
}
},
"./detector/chord-detector": {
"import": {
"types": "./dist/detector/chord-detector.d.ts",
"default": "./dist/detector/chord-detector.js"
}
},
"./algorithms/yin": {
"import": {
"types": "./dist/algorithms/yin.d.ts",
"default": "./dist/algorithms/yin.js"
}
},
"./algorithms/chromagram": {
"import": {
"types": "./dist/algorithms/chromagram.d.ts",
"default": "./dist/algorithms/chromagram.js"
}
},
"./algorithms/key-finding": {
"import": {
"types": "./dist/algorithms/key-finding.d.ts",
"default": "./dist/algorithms/key-finding.js"
}
},
"./algorithms/chord-matching": {
"import": {
"types": "./dist/algorithms/chord-matching.d.ts",
"default": "./dist/algorithms/chord-matching.js"
}
}
},
"scripts": {
"build": "vite build",
"test": "vitest run --passWithNoTests",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage --passWithNoTests",
"lint": "bunx biome check src/ tests/",
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/ tests/",
"format": "bunx biome format --write --max-diagnostics 500 src/ tests/",
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/ tests/",
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
},
"dependencies": {
"@suaveplan/audio-core": "workspace:^",
"@suaveplan/error": "workspace:^",
"@suaveplan/opentelemetry": "workspace:^",
"@suaveplan/types": "workspace:^",
"@opentelemetry/api": "catalog:observability",
"tslib": "catalog:build",
"zod": "catalog:forms"
},
"devDependencies": {
"@suaveplan/testing": "workspace:^",
"@types/node": "catalog:",
"@vitest/coverage-istanbul": "catalog:testing",
"fast-check": "catalog:testing",
"typescript": "catalog:",
"vite": "catalog:build",
"vite-plugin-dts": "catalog:build",
"vitest": "catalog:testing"
},
"publishConfig": {
"registry": "https://npmjs.fq.io/",
"access": "public"
},
"files": [
"dist",
"src",
"README.md"
]
}