Function createMicrophoneSoundSourceAsync
-
createMicrophoneSoundSourceAsync(
engine: AudioEngine,
options?: SoundSourceOptions,
): Promise<AudioInputSource>Parameters
- engine: AudioEngine
The audio engine.
- options: SoundSourceOptions = {}
Source options.
Returns Promise<AudioInputSource>
A promise that resolves with the ready microphone source.
- engine: AudioEngine
Requests microphone access and wraps the resulting stream as a sound source. The source does not auto-connect to the main bus by default (to avoid feedback); attach an analyzer or set an
outBusto use it.