UNPKG

music-metadata

Version:

Music metadata parser for Node.js, supporting virtual any audio and tag format.

30 lines (29 loc) 948 B
import { BasicParser } from '../common/BasicParser.js'; declare const DsdiffContentParseError_base: { new (message: string): { readonly fileType: string; toString(): string; name: "UnexpectedFileContentError"; message: string; stack?: string; }; captureStackTrace(targetObject: object, constructorOpt?: Function): void; prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; stackTraceLimit: number; }; export declare class DsdiffContentParseError extends DsdiffContentParseError_base { } /** * DSDIFF - Direct Stream Digital Interchange File Format (Phillips) * * Ref: * - http://www.sonicstudio.com/pdf/dsd/DSDIFF_1.5_Spec.pdf */ export declare class DsdiffParser extends BasicParser { parse(): Promise<void>; private readFmt8Chunks; private readData; private handleSoundPropertyChunks; private handleChannelChunks; } export {};