initial state: muzick music player + recommendation engine
This commit is contained in:
Vendored
+13
@@ -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 };
|
||||
}
|
||||
Reference in New Issue
Block a user