badlogic/pi-skills

transcribe

Local speech-to-text transcription on Apple Silicon macOS.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Transcribe

Local speech-to-text using parakeet-cpp-transcribe on Apple Silicon macOS.

Usage

bash
{baseDir}/transcribe.sh <audio-file>

The first run downloads the macOS arm64 binary from the latest badlogic/pibot GitHub release into the extension's ignored bin directory:

text
{extensionDir}/bin/parakeet-cpp-transcribe

({extensionDir} is the parent directory of this skill's {baseDir}.) The binary downloads its GGUF model automatically if missing.

Output

Plain text timestamped in 15 second chunks is written to stdout:

text
[00:00-00:15] transcript text
[00:15-00:30] more transcript text

Model/GGML diagnostic logs are written to stderr. Redirect stderr to hide them:

bash
{baseDir}/transcribe.sh <audio-file> 2>/dev/null

Requirements

  • Apple Silicon macOS only
  • curl and tar
  • ffmpeg for non-WAV input: brew install ffmpeg
来自同一仓库

更多 Skills

全部 Skills