echogarden
Version:
An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.
13 lines (12 loc) • 335 B
TypeScript
export declare class FileWriter {
readonly filePath: string;
private fileHandle?;
private disposed;
private writeOffset;
constructor(filePath: string);
write(chunk: Uint8Array): Promise<void>;
private openIfNeeded;
dispose(): Promise<void>;
get isOpened(): boolean;
get isDisposed(): boolean;
}