Skip to content

getVoice

getVoice(): VoiceChunk

Reads the compressed voice data captured since the last call. The buffer is sized from getAvailableVoice(), so the call returns what is available now. Needs init(). Resolves with result and data. When getAvailableVoice() reports a result other than Ok, that result is returned with empty data. Throws only if the captured data is larger than 4 GB.

VoiceChunk

result, and data, a Buffer of compressed bytes.

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.