Reference
Arcane.speech
Native speech readiness, synthesis, and transcription.
This focused page is derived from the mechanically checked full member inventory.
Syntax
Arcane.speech
Member kind
Namespace
Description
Native speech readiness, synthesis, and transcription.
Overview
Arcane.speech exposes independent local speech status, synthesis, and
transcription through the native host. The status result keeps Kokoro and
Whisper readiness separate; successful readiness for one role does not imply
readiness for the other.
Availability and security
All speech methods require ai.inference. Desktop Core uses its admitted fixed
local services; admitted Android applications use bounded native providers.
Transcription accepts only the documented bounded canonical audio envelope, and
applications should not retain microphone audio without an explicit need.
Example
const access = await globalThis.Arcane.capabilities.list();
const canReadSpeechStatus = access.methods.includes('speech.status');
console.log('Speech status admitted:', canReadSpeechStatus);
Members
Arcane.speech.status()— Reads bounded, independent Kokoro and Whisper readiness through Core or an admitted Android native host. Requires ai.inference.Arcane.speech.synthesize()— Synthesizes bounded local speech through the native host and fixed loopback runtime. Requires ai.inference.Arcane.speech.transcribe()— Sends bounded canonical base64 bytes labeled audio/webm to local Whisper through the native host. The bridge validates encoding, label, and bounds; the fixed service parses the media container. Requires ai.inference.