Edgewise API
    Preparing search index...

    Function useMic

    • The microphone as React state. Pass source as the input of a speech model.

      Parameters

      Returns {
          error: EdgewiseError | null;
          level: number;
          listening: boolean;
          source: Mic | null;
          start: () => Promise<void>;
          stop: () => Promise<Float32Array<ArrayBufferLike>>;
      }