Skip to main content
The Audio Track trigger fires for every buffered chunk from a twin’s edge microphone. Audio is delivered over the Zenoh data bus and handled by @cw.on_audio in the compiled worker.

Edge pipeline

Microphone driver → Zenoh → @cw.on_audio → Audio Track FIFO → downstream nodes

Buffer presets (downstream pairing)

PresetDurationPair with
Voice Assistant (32 ms)512 samplesAudio Assistant (VA)
Wake Word (80 ms)1280 samplesWake Word Engine (direct)
Speech-To-Text (4 s)64000 samplesSSG, Whisper / STT
The compiler rejects incompatible pairings (e.g. 4 s chunks into Wake Word without VAD).

Deploy

cyberwave workflow compile <uuid>
cyberwave workflow sync --twin-uuid <twin>

Dependencies

pip install "cyberwave[zenoh]"   # required for @cw.on_audio
Downstream nodes add ml-vad, ml-aed, or ml-wakeword as needed. See feature reference.