speech

Transcribe live audio and files on-device with SpeechAnalyzer and SpeechTranscriber.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/pradeepmouli/swift-template --skill speech-pradeepmouli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speech
Source: https://github.com/pradeepmouli/swift-template/tree/main/.agents/skills/axiom-ios-ml/speech
Command: npx skills add https://github.com/pradeepmouli/swift-template --skill speech-pradeepmouli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Speech-to-text on-device using Apple's SpeechAnalyzer and SpeechTranscriber to deliver private, fast transcription for live audio and long-form content, without reliance on network connectivity.

Core Features & Use Cases

  • Modular transcription pipeline using SpeechTranscriber and SpeechAnalyzer for both live mic input and file-based audio
  • Real-time (volatile) and finalized transcription results with timing metadata
  • On-device model management and locale support via AssetInventory

Quick Start

Initialize a SpeechAnalyzer with a SpeechTranscriber module and start streaming from the microphone or an audio file.

Frequently Asked Questions about speech

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement on-device speech-to-text for live audio in iOS?

On-device speech-to-text for live audio in iOS is implemented using SpeechAnalyzer and SpeechTranscriber. This modular pipeline streams microphone input asynchronously, delivering private, fast transcription without network connectivity.

Can I transcribe pre-recorded audio files locally on iOS?

Yes, you can transcribe pre-recorded audio files locally on iOS. The transcription pipeline supports file-based audio input, applying audio format negotiation and explicit finalization of volatile results to ensure accurate transcripts.

What is the best way to handle long-form transcription on iOS without internet?

The best way to handle long-form transcription on iOS without internet is using SpeechAnalyzer. It provides on-device model management via AssetInventory and supports long-form and distant-audio scenarios completely offline.

How does asynchronous result streaming work for iOS speech transcription?

Asynchronous result streaming for iOS speech transcription delivers real-time volatile results followed by finalized text with timing metadata. Explicit finalization of volatile results ensures the final transcript remains accurate.

Do I need to check locales for on-device speech recognition in my iOS app?

Yes, you need to check locales for on-device speech recognition. The transcription pipeline includes explicit locale checks and manages speech models via AssetInventory to ensure the requested language is supported locally.