NewsCrawler.org

micmux: voice input from a local microphone to Claude Code over ssh

ssh 先の Claude Code に手元のマイクで音声入力する話
Image: zenn.dev

The author built micmux, a lightweight tool for people who run Claude Code on a remote development server and connect to it over ssh. A line in .ssh/config starts the voice input processing, so the local microphone is turned on for the remote machine. The author set three goals: turn the microphone on only when needed, keep the impact on footprint and performance small, and make it work in different terminal emulators and in tmux[3].

Pressing and releasing the Space key plays the steps from the start to the end of a recording. In armed[2] mode, the micmux bridge can refuse recording requests. The bridge only checks whether something on the remote side has opened the virtual microphone[1], and it does not identify which application did so, so any unexpected process will turn on the local microphone.

The author says that on a trusted host used only by the author, armed can stay on all the time. On a shared server, it is safer to enable it only with the micmux arm or micmux toggle commands. The author notes that the operating system's built-in voice input is simpler, but Claude Code's own speech recognition is tuned for programming vocabulary, which is why the author went to the extra effort.

Read the original zenn.dev

Sources

  • Zenn JA

    ssh 先の Claude Code に手元のマイクで音声入力する話

    4 likes0 bookmarks0 comments

Published: First seen: Читать по-русски

Open as a page