initial state: muzick music player + recommendation engine

This commit is contained in:
kami
2026-07-14 01:35:52 +04:00
commit 737bf19fd1
196 changed files with 32431 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
declare module 'essentia.js' {
const EssentiaWASM: () => Promise<any>;
class Essentia {
constructor(wasmModule: any, isDebug?: boolean);
arrayToVector(arr: Float32Array): any;
RhythmExtractor2013(signal: any, maxTempo?: number, method?: string, minTempo?: number): { bpm: number; ticks: number[]; confidence: number };
KeyExtractor(audio: any, averageDetuningCorrection?: boolean, frameSize?: number, hopSize?: number): { key: string; scale: string; strength: number };
Energy(signal: any): { energy: number };
Danceability(signal: any, maxTau?: number, minTau?: number, sampleRate?: number): { danceability: number; dfa: number[] };
DynamicComplexity(signal: any, frameSize?: number, sampleRate?: number): { dynamicComplexity: number; loudness: number };
}
export { EssentiaWASM, Essentia };
}