Integrating LLMs into Smart Audio Glasses: Conversation and Voice Playback in Practice

    Smart audio glasses and Bluetooth hearables offer a hands-free interface to LLM assistants, but they need an architecture that balances wearable constraints, low latency, and stable connections. This article describes the end-cloud integration model, the split of hardware responsibilities, Bluetooth protocol selection, and system-controlled audio routing.

    Smart audio glasses and hearable devices such as Bluetooth earbuds are a natural entry point for LLM assistants. Users can ask questions by voice while moving around with hands free. These scenarios place strict demands on latency and connection stability.

    Integration Architecture: End-Cloud Hybrid with the Phone as Relay

    Wearable devices are limited by power consumption, size, and thermal constraints, so they cannot run a large language model locally. A common implementation is an end-cloud hybrid: the glasses handle audio capture and playback, the phone app handles connection management, audio routing, and conversation state, and the cloud performs inference.

    1.1 Hardware Responsibilities and Bluetooth Protocol Selection

    In smart audio glasses, bone-conduction or directional speakers output audio, while a microphone array captures voice commands. These functions are handled by different hardware components, so the app must process the input channel and output channel separately.

    Bluetooth protocols should also be selected according to purpose. The following table summarizes common options:

    Protocol Data carried Typical use Caveats
    Classic Bluetooth A2DP High-quality unidirectional audio Playing LLM response speech More buffering; latency depends on codec
    Classic Bluetooth HFP Bidirectional narrowband voice Calls and microphone input Lower audio quality; may switch modes during playback
    BLE Small control payloads Device control, battery, status, firmware configuration Insufficient bandwidth for continuous audio; cannot guarantee audio quality
    LE Audio BLE-based audio streaming using LC3 codec Next-generation low-power audio Requires support from glasses, headset/earbuds, and phone OS simultaneously

    BLE sends small amounts of data at a time and is not suitable for carrying continuous high-fidelity audio. LE Audio can transmit audio, but support depends on device specifications and OS versions. Before starting development, check the glasses vendor documentation and each platform’s current documentation; do not assume all models support LE Audio.

    1.2 System Audio Routing: App Requests, System Switches

    Audio output switching is controlled by the mobile operating system. The app expresses intent through standard interfaces, but the final route is decided by the system. The system may also change the output device because of an incoming call, navigation, or playback from another app.

    On Android, the app requests audio focus through AudioManager.