speechflow
Version:
Speech Processing Flow Graph
18 lines (17 loc) • 588 B
TypeScript
import SpeechFlowNode from "./speechflow-node";
type MuteMode = "none" | /* not muted */ "silenced" | /* muted by changing audio samples to silence */ "unplugged";
export default class SpeechFlowNodeA2AMute extends SpeechFlowNode {
static name: string;
private muteMode;
private destroyed;
constructor(id: string, cfg: {
[id: string]: any;
}, opts: {
[id: string]: any;
}, args: any[]);
receiveRequest(params: any[]): Promise<void>;
setMuteMode(mode: MuteMode): void;
open(): Promise<void>;
close(): Promise<void>;
}
export {};