Cargo Features

[dependencies]
alass-util = { version = "0.3.0", default-features = false, features = ["vad-webrtc", "vad-silero-tract", "debug-sample-data", "debug-voice-activity-data"] }
default = vad-webrtc

Select voice activity detector using any one of 'vad-webrtc', 'vad-silero-tract', 'vad-silero-onnxruntime' features

vad-webrtc default = webrtc-vad

voice activity detector https://github.com/kaegi/webrtc-vad

Affects vad::webrtc

vad-silero-tract = tract-onnx

https://github.com/snakers4/silero-vad

Affects vad::silero_tract

debug-sample-data

debug
dumps raw sample data to disk for inspection

debug-voice-activity-data

dumps voice activity data to disk for inspection

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

webrtc-vad vad-webrtc
tract-onnx vad-silero-tract?

Enables tract-onnx ^0.16.1