class RawMicCapture
extends EventTarget

Module for PCM fetching from mic

Constructors

new
RawMicCapture()

Blank constructor for EventTarget construction

All processes are in start_capture method, because async process can't be in constructor

Methods

start_capture(
sample_rate,
frame_dur_sec,
processor_path,
): Promise<void>

Start PCM fetching from mic

Usage

import { RawMicCapture } from "static/audio_connect/RawMicCapture.js";