WendyOS Docs
Wendy CLIdeviceaudio

wendy device audio listen

Stream raw audio from a device microphone

Syntax

wendy device audio listen [flags]

Examples

wendy device audio listen --help

Arguments

No positional arguments are declared in the command synopsis.

Flags

Flags below include inherited options. Types and defaults come from the CLI source. An empty default means no value is configured.

FlagTypeDefaultDescription
--allboolfalseAlso offer unusable capture endpoints (HDMI/dummy/routing FIFOs); loopback mics are already auto-selected
--buffer-msuint32150Playback jitter-buffer target in ms; lower = less latency, more prone to dropouts
--channelsuint321Number of audio channels
--devicestring(empty)Target device hostname; wendy run accepts a comma-separated list to deploy one build to several devices (needs a remote build host and --detach). Defaults to $WENDY_DEVICE, then the saved default device
--iduint320Audio device ID (default: auto-select or pick a microphone)
--jsonboolfalseOutput in JSON format
--non-interactiveboolfalseDisable terminal prompts and automatic updates; auto-select a usable microphone when --id is omitted
--sample-rateuint3216000Sample rate in Hz
--stdoutboolfalseWrite raw PCM to stdout instead of playing

Output

Output depends on the operation and selected target. Use the command help for additional guidance..

JSON output

The global --json option requests machine-readable output. The CLI also selects JSON mode when no interactive terminal is attached. Support and payloads are command-specific; this flag does not guarantee a single JSON document for commands that stream logs or invoke build tools. Consult Details before parsing command output.

Exit codes

The CLI entry point returns 0 on success and for its user-cancelled or default-cleared results. Other returned errors exit with 1 and print a diagnostic to stderr. Some operations may terminate through subprocess or signal handling; do not infer application health from the CLI exit code alone.

Common errors

Check argument values and flag combinations against the synopsis above. For discovery, build, port, and readiness failures, see deployment troubleshooting. Command-specific constraints are in Details.

See also

Details

Use the command help for additional guidance.

On this page