Skip to main content
Version: 2.x

Audio Capture

Nodes of the Odin Audio Capture, which records the microphone and feeds encoders.

Functions​

NodeTypeDescription
Change Capture Device by IdCallable functionSwitches to a different microphone using its Device ID.
Change Capture Device by NameCallable functionUpdates the capture device and restarts the capture stream of the Audio Capture object.
Change to Default Capture DeviceCallable functionChanges the current capture device to the system default and restarts the capture stream.
Create Odin Audio CaptureCallable functionCreates an Odin Audio Capture object, which records audio from the operating system's input devices.
Get Capture Devices AvailablePure functionLists all available audio input devices (microphones) on the system.
Get Current Audio Capture DevicePure functionReturns the currently active audio input device.
Get Stream TimePure functionGet the stream time of the audio capture stream.
Is Stream OpenPure functionGet whether the stream is currently open.
Restart CapturingCallable functionForces a restart of the audio capture stream.
Start CapturingCallable functionBegins capturing audio from the active device.

Events​

EventRaised byDescription
On Capture Device ChangedOdin Audio CaptureRaised after the capture device changed, e.g.
On Capture Device ResetOdin Audio CaptureEvent triggered when the capture device is lost/reset.
On Default Device ChangedOdin Audio CaptureEvent triggered when the OS default capture device changes.