Hyde Island library / rust-mic-capture

A rolling mic ring, built as one direct Rust binary.

rust-mic-capture is a local recorder service for keeping a 60-minute rolling audio window in memory, querying it locally, and exporting slices or the full ring when needed.

The project lives at /home/agent/projects/lab/rust-mic-capture and keeps local operator notes in its own .ai workbench.

  • Keep the audio ring in native sample format instead of forcing conversion in memory.
  • Track the current head address as the next write position.
  • Allow local consumers to read arbitrary windows from head backward.
  • Keep running even without a microphone by filling with silence.
./rust-mic-capture-linux-x86_64 serve
./rust-mic-capture-linux-x86_64 status
./rust-mic-capture-linux-x86_64 read --count-samples 48000 --output slice.wav
./rust-mic-capture-linux-x86_64 list-devices

Default local service address: http://127.0.0.1:7345

tar -xzf rust-mic-capture-source-bundle.tar.gz
cd rust-mic-capture-source-bundle
cargo build --release

The source bundle is credential-free and contains the source files needed to compile the project yourself.

  • Runs a geeky TUI for operators at the terminal.
  • Shows source, format, ring fill, signal level, head, wraps, and memory footprint.
  • Supports q, Esc, and Ctrl-C to stop cleanly.
  • Writes the current ring to WAV on exit.

Direct link
https://hydeisland.org/library/downloads/rust-mic-capture-linux-x86_64

SHA-256
b320240c8f8d0e790370d8b3ae9dc42166e74a7ec60b7b4659a01d116381b413

Source bundle
https://hydeisland.org/library/downloads/rust-mic-capture-source-bundle.tar.gz

Source SHA-256
608ad4d18b9eed42dc4337e664a2e6c97d376d1e2c750b50c9eb65c2c966f67d