Interruptible Conversational Voice AI - 1

Interruptible Conversational Voice AI

Plug in an AEC microphone array and build a hands-free voice application with Qwen3-ASR, Matcha-TTS, real barge-in, and either a cloud or local LLM across RK3576, RK3588, Jetson Orin Nano, and Orin NX.

Intermediate30minVoice AI
voice-aibarge-inaecqwen3-asrmatcha-ttsrk3576rk3588Jetsonorinrk1828local-llm

What This Solution Does

Turn an edge device into a voice terminal that can listen, think, and speak continuously. Connect a hardware-AEC microphone array and a speaker; the device captures speech, produces a reply, and immediately stops that reply when the user starts speaking again.

This is a persistent device application, not a push-to-talk browser demo. The on-device agent owns the microphone and speaker, making it suitable for robots, kiosks, service desks, smart-home terminals, and unattended exhibits.

Core Value

BenefitWhat it means
Natural interruptionCapture stays active during playback; new speech cancels generation, drains queued audio, and starts the next turn
Optional open-vocabulary wake wordRequire any short Chinese or English phrase before a turn; a short confirmation tone signals successful detection
Pluggable conversation layerUse Qwen API or another OpenAI-compatible endpoint, or keep the model local on supported hardware
One experience across four platformsRK3576, RK3588, Orin Nano, and Orin NX share the same duplex protocol and agent behavior
Local audio processingQwen3-ASR and Matcha-TTS run on the device; the fully local preset also keeps conversation text on-device

Where It Fits

ScenarioExample
Service desk or exhibitA visitor interrupts an irrelevant answer and immediately asks a clearer question
Robot voice front endFeed continuous conversation into robot actions or business tools without changing the speech layer
Smart-home terminalFar-field speech remains usable while hardware AEC suppresses the terminal's own speaker output
Product prototypingValidate with a cloud model first, then move to RK1828 or Orin NX local inference

Usage Notes

Required Hardware

DevicePurposeRequired
RK3576, RK3588, Orin Nano, or Orin NXRuns speech recognition, synthesis, and the resident voice agentChoose one
reSpeaker XVF3800 or equivalent AEC arrayExposes a capture channel with echo already removedYes
USB or analog speakerPlays repliesYes
RK1828 / RM182XRuns local Qwen3-4B with an RK3588 hostRK local preset only

AEC and Barge-in Boundaries

  • Software does not replace acoustic echo cancellation. A basic USB microphone may re-capture speaker output and cause false interruptions or an echo loop.
  • The validated reSpeaker XVF3800 2-channel and 6-channel firmware layouts are detected automatically. Unknown microphones default to the first capture channel and need an acoustic check.
  • Muting the microphone during playback is not recommended: it prevents echo, but it also makes barge-in impossible.

Optional Wake Word

Select Wake word required during deployment to enable the bundled open-vocabulary sherpa-onnx detector. Enter any short Chinese or English phrase; the agent compiles it locally and plays a short 880 Hz tone after detection. Always listening remains the default for backward-compatible hands-free use.

Network

  • First deployment downloads images and model artifacts and needs stable internet plus sufficient disk space.
  • The cloud preset needs ongoing API access. Fully local presets can run offline after artifacts are cached.
  • Qwen defaults use the Beijing OpenAI-compatible endpoint. Replace the base URL and model ID for another region or provider.

Deployment Comparison

PresetConversation modelSupported devicesBest for
Cloud or compatible endpointQwen API or any OpenAI-compatible modelRK3576 / RK3588 / Orin Nano / Orin NXFastest path to full conversation
Fully local conversationRK1828 Qwen3-4B or Orin NX Qwen3.5-4BRK3588 + RK1828 / Orin NX 16GBPrivacy, offline use, and fixed operating cost

Technical Stack

  • Speech recognition: Qwen3-ASR
  • Voice synthesis: Matcha-TTS
  • Duplex control: one persistent session, continuous capture, playback cancellation, and conversation truncation
  • Conversation API: OpenAI-compatible Chat Completions

Usage Requirements

audio

A USB microphone array that exposes a hardware AEC/processed capture channel. reSpeaker XVF3800 is the validated default.

audio

A speaker connected to the same edge device for voice replies.

network

Internet is needed for first-run images and model artifacts. The cloud preset also needs ongoing API access; local presets can run offline after artifacts are cached.

Deployment Options

cloud_compute
recomputer_rk3576
recomputer_rk3588
recomputer_j30
recomputer_j40
cloud_mic
respeaker_xvf3800
Contact Us
We Are Glad to Be Your Hardware Partner !
Next
Interruptible Conversational Voice AI