AudioSmith

module
v0.4.0-beta.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: AGPL-3.0

README

AudioSmith

A voice studio that runs on your Mac.
Speech, voices, stories, audiobooks, dubbing, transcription and dictation, on Apple silicon.

Download macOS 15 or later Apple silicon AGPL-3.0

Website · Download · Changelog

English · 简体中文

AudioSmith turns text into speech, clones and designs voices, gives a story a cast, reads a book into an M4B, dubs a video into another language, transcribes a recording with who said what, and types what you say into any app. Every model runs on your Mac's GPU with MLX: no account, no cloud service, no Python. It runs on your Mac, and once its models are downloaded it works offline.

Features · Install · Models · Privacy · Build from source · Licence

The current version, 0.4.0-beta.7, is a beta. Releases are signed with a Developer ID, notarized by Apple and update themselves. Expect rough edges; see Known limits and the changelog.

Features

Studio

Generating a take in the Studio
  • Write or import a script (TXT, MD, DOCX, EPUB, SRT, VTT). Markup adds pauses ([pause 400ms]), pace ([slow], [fast]), emphasis, spelling and one-off pronunciations ([[word|say]]).
  • Pick a model by what it is for: Standard voices, Fast clone, High-fidelity clone, Voice design, Fast English voices, English clone or Multilingual all-rounder. The technical name is one click away.
  • Few controls: the model, one Voice list and the speed. Everything else is under Advanced, filled with settings measured for each model.
  • Long scripts render in chunks and play while they render. Text you did not change comes from a cache.
  • Export audio: WAV or M4A, and MP3, FLAC or Opus with ffmpeg. Even out the loudness to −16, −18 or −23 LUFS, trim the silence, add tags, save the script and subtitles beside it.

Voices

Discover voices My voices
  • Discover 37 chosen voices, mostly Chinese and English: designed voices whose reference ships with the app, ready to speak at once, and the best built-in speakers. Preview them and save the ones you like.
  • Clone a voice from a recording or from any audio or video file. AudioSmith picks the best stretch and transcribes it. A recorded consent statement marks a voice as your own.
  • Checked references: every reference is rated (good, fine, needs work) with a tip or two, and cleaned: noise removed only when there is some, silence trimmed, loudness evened out. The original is kept.
  • Design a voice from a sentence in English or Chinese ("a warm narrator in her thirties, calm and clear"), or start from one of eight presets.
  • Hear before you pick: every voice list (Studio, Stories, Audiobook, Dub) has a ▶ on each voice: built-in speakers play a short bundled sample, even before their model is downloaded; your own voices play their sample.
  • Portable voices: a model's built-in speaker or a designed voice can be turned into a clone that every cloning model can speak with. It sounds close to the original, not the same, and says so.
  • Deleting a voice says where it is used, and Undo in the toast brings it back for about 10 seconds.
  • Voices are .asvoice files you can share. VoiceStudio's .ovsvoice files import too.

Stories

A story with its cast, scene and line directions
  • Write Name: line and AudioSmith casts the characters. Stage directions such as MOM (softly): become the line's direction instead of being read out.
  • Dialogue that flows: the gaps follow the conversation (Dialogue, Reading or Relaxed). A character's consecutive lines are said in one go, and each voice is brought to one loudness.
  • AI director: the writing assistant (Qwen3 4B, on this Mac) reads the whole story and gives each line one of 13 emotions with a strength, kept coherent across the scene; you can change any of them. Models that take instructions hear them; the others read the lines as written, and the page says so.
  • Whole dialogue: a dialogue model speaks the characters' lines a scene at a time, so each line answers the one before it. Dialogue · Light (SoulX-Podcast) needs 16 GB of memory, Dialogue · One take (MOSS-TTSD) 24 GB. Narration stays on the story's model.
  • Export a WAV, an M4B, or one stem per character.

Audiobook

An audiobook with chapters and a cover
  • Import an EPUB, TXT, Markdown or DOCX book. Chapters come from its headings.
  • Dialogue passages: mark a scene with [dialogue] … [/dialogue] ([对话] in Chinese) and one Name: line per turn, and a dialogue model speaks it with the characters answering each other. Without the model the passage is read line by line.
  • Loudness per chapter for ACX (Audible) or podcasts. A read-along player follows the text.
  • Export an M4B with chapters, cover and tags, a cue sheet, or one file per chapter.
  • Resume after quitting. After an edit, only the changed lines are rendered again.

Dub

  • Drop in a video or audio file, or paste a link (yt-dlp, which you turn on). Before anything downloads, the page shows the cover, the site, the title and the length, then the download's real progress. New dubs are made in Chinese; when the video is already Chinese they switch to English. Add more languages as you like.
  • Four steps:
    1. Separate the voices from the background (HTDemucs).
    2. Transcribe and tell the speakers apart (Transcription with speakers, or Qwen3-ASR with Sortformer).
    3. Translate with the local writing assistant, Ollama, a cloud model, DeepL, Google or Microsoft. A glossary keeps names right.
    4. Speak each line in its speaker's cloned voice, fitted to the original timing, also from another language (a Japanese speaker speaking Chinese). Such lines are heard again: one in the wrong language or with the wrong words is made again, or marked Listen.
  • Conversations recorded together: for dubs into Chinese or English with two speakers or more, Dialogue · Light records each conversation as a whole, so answers sound like answers, then fits every line to its time. On by default for new dubs; needs 16 GB of memory.
  • Edit lines on a timeline (pinch or ⌘ with the wheel to zoom, swipe to pan), compare A/B, preview the video, and re-dub only what changed. A 2-hour video with 2,000 lines stays quick.
  • Export an MP4 with one audio track per language and soft subtitles, or M4A, WAV, SRT, VTT, ASS and stems. Batch dubs a whole folder, and can watch one.

Transcribe and dictation

A transcript with its speakers named
  • Transcribe recordings and videos with word timings. Qwen3-ASR handles Chinese, English and 28 more languages; Whisper covers the rest and translates speech into English.
  • Transcription with speakers says who says what (S1, S2…) in one pass; click a speaker to name it. Copy, TXT, SRT, VTT and JSON exports carry the names.
  • Dictation anywhere: press ⌘⇧Space in any app, speak, and the text is typed where your cursor is, about 0.2–0.3 s after you stop. Your clipboard is kept. A menu bar icon, a small pill and sounds you can choose show when it listens.

Workflows and batch

A workflow on the canvas
  • Workflows: chain steps on a canvas (sources, speak, transcribe, translate, convert, even out, condition, export), start from a template, and run them over up to 50 inputs. A run continues after a restart.
  • Batch queues dubs and watches a folder.

For agents and scripts

The Integrations page with a setup prompt for Claude Code
  • OpenAI-compatible API on http://127.0.0.1:3901/v1: speech, transcriptions, translations, models and voices. Point any OpenAI SDK at it.
  • AudioSmith's own API (/api) drives every page: voices, stories, audiobooks, dubs, batch, workflows, exports. Jobs report progress over SSE, and /ws/tts streams speech.
  • MCP server over HTTP (/mcp) and stdio (AudioSmith --mcp-stdio), with 33 tools. Deleting needs confirm: true; cloning needs consent and works only from this Mac (or with the API key).
  • Integrations page: one prompt sets up Claude Code, Codex or Cursor (server and agent skill); there are snippets for n8n, curl, Python, JavaScript and the OpenAI Agents SDK.
curl http://127.0.0.1:3901/v1/audio/speech \
  -H 'Content-Type: application/json' \
  -d '{"model": "tts-1", "voice": "alloy", "input": "Build finished. All tests passed."}' \
  -o speech.wav

The full reference is docs/local-api.md, and /docs in the running app.

And more

The Dub page in dark mode
  • Tools: compare voices A/B, speak a recording again in another voice, fit text to a duration, probe a file, check a watermark.
  • Invisible watermark: generated audio carries an AudioSeal mark, on by default (Settings → Privacy), and Tools can detect it.
  • Calls: an AI phone agent on your own Twilio account. It always says it is an AI, and uses only designed or consented voices. Off until you set it up.
  • The app: a sidebar with search (⌘F) and sections that fold; what is running shows as cards at its foot, and the Tasks page lists every job. Projects and History libraries, one job queue that resumes after a restart, the command palette (⌘K), ⌘1–9 for the main pages, light and dark themes, English and 简体中文.
  • Memory: models you have not used for 30 minutes are unloaded (Settings → Models & network → Memory) and load again when needed.

Install

Requirements

  • macOS 15 or later, on Apple silicon (M1 or later).
  • Memory: 8 GB runs the Fast pack; 16 GB is recommended, and needed for Dialogue · Light; 24 GB runs the Quality pack (high-fidelity cloning, voice design, dubbing and the writing assistant) and Dialogue · One take.
  • Disk: 1.3–17 GB for models, depending on the pack; the dialogue models add 2.4 GB and 10.9 GB.

Steps

  1. Download the DMG from actnow.dev/download/audiosmith, AudioSmith's page on our website. AudioSmith is free; the download needs a free account. Rather not sign up? Build it from source. The current version is a beta; the changelog lists every version.
  2. Drag AudioSmith to Applications and open it. Releases are signed and notarized, so Gatekeeper lets them open; macOS only asks once to confirm an app from the internet.
  3. The setup wizard checks your Mac (macOS, chip, memory, disk, network), suggests a model pack, and asks about privacy and dictation. You can skip the pack and download models later on the Models page.
Pack For Download
Fast built-in voices and dictation; any Mac 1.3 GB in English, 2.8 GB in Chinese
Balanced + cloning, word timings, noise removal; 16 GB 4.3 / 5.8 GB
Quality + high-fidelity cloning, voice design, dubbing, speakers, writing assistant; 24 GB 13.4 / 14.9 GB
Max + Multilingual all-rounder (non-commercial) and Whisper; 48 GB 15.5 / 17.0 GB

Updates. Once a day AudioSmith checks actnow.dev for a new version (no account needed). A new one shows as "Update available" at the foot of the sidebar, with its notes; it installs when you say so. Updates are signed and checked before they install, and usually download only what changed. AudioSmith → Check for Updates… checks at once; Settings → About → Software updates has the other choices.

Beta updates. Settings → About → Software updates → Receive beta updates. It is on in a beta (such as 0.4.0-beta.7) and off in a release until you choose. Turning it off never goes back to an older version: a beta stays until a newer release is out.

Downloads come from the official sites or their mirrors, whichever is faster, through the system proxy: models from huggingface.co or hf-mirror.com, ffmpeg and yt-dlp from github.com or mirror.actnow.dev (ActNow's mirror), each checked before use. In mainland China, pick Mirrors only under Settings → Models & network → Download from if downloads stall.

Models are kept in ~/Library/Application Support/ActNow/models, shared with the other ActNow apps, and left out of Time Machine (Settings → Advanced turns backups back on).

Permissions are asked only when a feature needs them: the Microphone for recording a voice, dictation and live transcription, and Accessibility for dictation to type into other apps.

Models

AudioSmith names models for what they do. Their technical names, sizes and licences are in each model's Details on the Models page.

The Models page with friendly names and tags
In the app Model What it does Licence
Standard voices Qwen3-TTS 0.6B CustomVoice built-in Chinese and English speakers, with directions Apache-2.0
Fast clone Qwen3-TTS 0.6B Base quick voice cloning Apache-2.0
High-fidelity clone Qwen3-TTS 1.7B Base the most faithful cloning Apache-2.0
Voice design Qwen3-TTS 1.7B VoiceDesign voices from a description Apache-2.0
Fast English voices Kokoro 82M natural English voices; light Apache-2.0
English clone Chatterbox Turbo fast English cloning MIT
Multilingual all-rounder OmniVoice 600+ languages, cloning, design, exact durations CC BY-NC 4.0: non-commercial; asks you to accept it first
Chinese & English transcription Qwen3-ASR 0.6B transcription and dictation, 30 languages Apache-2.0
Multilingual transcription Whisper large-v3 turbo other languages; speech into English MIT
Transcription with speakers MOSS-Transcribe-Diarize 0.9B who says what, in one pass Apache-2.0
Dialogue · Light SoulX-Podcast 1.7B conversations recorded together, up to 4 speakers; 2.4 GB, 16 GB memory Apache-2.0
Dialogue · One take MOSS-TTSD v1.0 a scene as one recording, up to 5 speakers; 10.9 GB, 24 GB memory Apache-2.0
Writing assistant Qwen3 4B Instruct 2507 translation, clean-up, the AI director Apache-2.0
Word timing · Speech detection · Noise removal Qwen3-ForcedAligner 0.6B · Silero VAD · DeepFilterNet 3 Apache-2.0 · MIT · MIT/Apache-2.0
Fast voice separation · Speaker turns HTDemucs · Sortformer (fallback, ≤ 4 speakers) MIT · NVIDIA Open Model License
Invisible watermark AudioSeal MIT

Measured on a MacBook Air M4 with 24 GB:

What Result
Dictation (Qwen3-ASR) 0.2–0.3 s after you stop speaking
High-fidelity clone about real time: 940 Chinese characters → 3.5 min of audio in about 3¼ min
Standard voices about 1.7× real time
Transcription with speakers a 10-minute recording in about 4 minutes
Dialogue · Light / One take about 0.7× / 0.8× real time
Writing assistant 36–40 tokens/s

Privacy

  • Speech is made and recognised on your Mac. The engine never connects to the network; it loads the models the app downloaded.
  • AudioSmith connects only for: model downloads (Hugging Face or its mirror), ffmpeg and yt-dlp when you download them, videos (and their covers) from links you paste, a cloud writing or translation provider only if you set one up, and the daily update check (nothing about you is sent).
  • No analytics: no usage data, crash reports or identifiers, and no setting to turn them on. The app's log stays on this Mac, masks keys and tokens, and never holds your scripts, transcripts or prompts.
  • The Local API listens on 127.0.0.1 unless you share it on your network (with a PIN).
  • Keep text on this Mac: one switch limits writing help and translation to local models.
  • Your library is in ~/Library/Application Support/AudioSmith (it can move to another disk). Keys live in the login Keychain.

Build from source

You need Xcode 26 (Swift 6.2 or later) and Go 1.27.3 (GOTOOLCHAIN=auto downloads it).

scripts/fetch-engine-deps.sh    # upstream mlx-audio-swift + AudioSmith's patches
scripts/build-engine.sh         # the Swift engine (xcodebuild; about 4 min the first time)
go tool mygo dev                # run with live reload
go tool mygo build              # build/darwin-arm64/AudioSmith.app and a DMG
  • The UI is Go with MyGo, in app/ (go run ./app runs it without bundling); the files it embeds are in assets/. The models run in a Swift helper, audiosmith-engine, on mlx-audio-swift and mlx-swift.
  • CGO_ENABLED=0 go test ./... runs the whole UI headless on any OS, with the engine faked; scripts/mac.sh builds and tests on a Mac from Linux.
  • More: architecture, engine protocol, Local API and MCP, releasing.

Known limits

  • Beta. 0.4.0 is not final yet; expect changes between betas.
  • ffmpeg is optional and not bundled. Without it AudioSmith reads and writes WAV, AIFF, M4A, MOV and MP4, and reads MP3. With it (Homebrew's, or one you choose) it also exports MP3, Opus and FLAC, reads WebM and MKV, and burns subtitles into videos.
  • Dictation types the text when you stop, not word by word. The first dictation after a long pause can take about a second longer while its model loads.
  • Dialogue models are evaluated for Chinese and English only; other languages are read line by line. Dub's conversations use Dialogue · Light only, and Dialogue · One take needs 24 GB of memory.
  • Links that need a sign-in (such as X or Douyin) need a cookies.txt export from your browser.
  • The interface is in English and Simplified Chinese.
  • The watermark does not survive time-stretching beyond about ±5 %, so dubs are marked after fitting.
  • Calls need your own Twilio account and a public tunnel.
  • Builds you make yourself are ad-hoc signed: they don't update themselves, macOS forgets their Accessibility permission after each rebuild, and dictation plays the system sounds (the ActNow sound library ships only with releases).

Contributing

Bug reports, ideas and pull requests are welcome: see CONTRIBUTING.md for the checks to run. Before we can merge your first pull request, you sign the Contributor License Agreement by commenting on it; a bot asks you.

Licence and credits

Copyright (C) 2026 hehehai and the AudioSmith contributors.

AudioSmith is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 (AGPL-3.0). It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; see the licence for details. If you run a modified AudioSmith for others to use over a network (its Local API, for instance), the AGPL requires you to offer those users the source code of your version. Versions up to and including 0.4.0-beta.1 were released under the Apache License 2.0 and stay under it.

Model weights keep their own licences (see Models); OmniVoice's is non-commercial. Third-party material and libraries are listed in NOTICE, with their full licence texts in THIRD-PARTY-NOTICES.txt (the app carries both).

  • Models by the Qwen team (Qwen3-TTS, Qwen3-ASR, Qwen3 4B), hexgrad (Kokoro), Resemble AI (Chatterbox), k2-fsa (OmniVoice), Soul AI Lab (SoulX-Podcast), OpenMOSS (MOSS-TTSD, MOSS-Transcribe-Diarize), OpenAI (Whisper), Meta (HTDemucs, AudioSeal), NVIDIA (Sortformer), Silero and DeepFilterNet. MLX conversions by mlx-community and others.
  • Runs on MLX, mlx-swift and mlx-audio-swift.
  • The interface is built with MyGo (MIT).
  • Icons: Solar by 480 Design, CC BY 4.0 (see NOTICE).

Directories

Path Synopsis
AudioSmith is a TTS workbench for macOS: write a script, pick a model and voice, generate takes on the GPU with MLX, and listen, compare and export them.
AudioSmith is a TTS workbench for macOS: write a script, pick a model and voice, generate takes on the GPU with MLX, and listen, compare and export them.
Package assets holds the files the app embeds in its binary.
Package assets holds the files the app embeds in its binary.
internal
api
Package api is AudioSmith's Local API (M5): an HTTP server inside the app process that speaks OpenAI's audio API under /v1, AudioSmith's own API under /api (voices, takes, generation, transcripts, jobs, models, tools), job events as Server-Sent Events, streaming speech over a WebSocket (/ws/tts), its OpenAPI 3.1 description (/openapi.json, with a bundled reference viewer at /docs), and mounts the MCP server (/mcp, internal/mcp).
Package api is AudioSmith's Local API (M5): an HTTP server inside the app process that speaks OpenAI's audio API under /v1, AudioSmith's own API under /api (voices, takes, generation, transcripts, jobs, models, tools), job events as Server-Sent Events, streaming speech over a WebSocket (/ws/tts), its OpenAPI 3.1 description (/openapi.json, with a bundled reference viewer at /docs), and mounts the MCP server (/mcp, internal/mcp).
archtest
Package archtest holds no code, only tests of the code's structure, run with every go test ./...
Package archtest holds no code, only tests of the code's structure, run with every go test ./...
audio
Package audio is AudioSmith's sound handling in Go: waveform peaks (with a disk cache) and the streaming player today; the timeline mixer, peaks pyramid, loudness and QC analysis later (M1/M4).
Package audio is AudioSmith's sound handling in Go: waveform peaks (with a disk cache) and the streaming player today; the timeline mixer, peaks pyramid, loudness and QC analysis later (M1/M4).
catalog
Package catalog describes the models AudioSmith offers: what each one does (tasks, languages, voices, capabilities), what it costs (files, sizes, memory) and under which licence.
Package catalog describes the models AudioSmith offers: what each one does (tasks, languages, voices, capabilities), what it costs (files, sizes, memory) and under which licence.
core
Package core holds AudioSmith's domain: the entities every module shares (takes, voices, projects, licences, notifications, log lines), the service interfaces the UI and the Local API call, and the event bus they both subscribe to.
Package core holds AudioSmith's domain: the entities every module shares (takes, voices, projects, licences, notifications, log lines), the service interfaces the UI and the Local API call, and the event bus they both subscribe to.
dialogue
Package dialogue groups lines into the segments a dialogue model (SoulX-Podcast, MOSS-TTSD; threads #80, #82) speaks in one job, each line hearing the lines before it: a story's character lines, a dub's conversation, an audiobook's dialogue blocks (plan/dialogue-dub-audiobook-plan.md §4.1).
Package dialogue groups lines into the segments a dialogue model (SoulX-Podcast, MOSS-TTSD; threads #80, #82) speaks in one job, each line hearing the lines before it: a story's character lines, a dub's conversation, an audiobook's dialogue blocks (plan/dialogue-dub-audiobook-plan.md §4.1).
dictation
Package dictation is what system-wide dictation needs of macOS beyond MyGo: the app that has the keyboard focus, bringing it back to the front, pasting into it with a synthetic ⌘V, the clipboard's change count, the release of a global shortcut (MyGo reports presses only), the Microphone and Accessibility permissions, and system sounds.
Package dictation is what system-wide dictation needs of macOS beyond MyGo: the app that has the keyboard focus, bringing it back to the front, pasting into it with a synthetic ⌘V, the clipboard's change count, the release of a global shortcut (MyGo reports presses only), the Microphone and Accessibility permissions, and system sounds.
doc
Package doc imports documents into scripts: plain text and Markdown, EPUB, DOCX and subtitles (SRT/WebVTT) are built in; PDF is plugged in by the app (PDFKit through the Swift helper) with Register.
Package doc imports documents into scripts: plain text and Markdown, EPUB, DOCX and subtitles (SRT/WebVTT) are built in; PDF is plugged in by the app (PDFKit through the Swift helper) with Register.
doc/subtitle
Package subtitle parses and writes subtitles: SRT and WebVTT in both directions, ASS (with karaoke word highlighting) for writing, and Netflix-style segmentation of timed words into readable cues.
Package subtitle parses and writes subtitles: SRT and WebVTT in both directions, ASS (with karaoke word highlighting) for writing, and Netflix-style segmentation of timed words into readable cues.
doc/textenc
Package textenc decodes text files of unknown encoding to UTF-8: BOMs, UTF-16 without a BOM, and the legacy encodings scripts arrive in (GB18030/GBK, Big5, Shift_JIS, EUC-KR, Windows-1252).
Package textenc decodes text files of unknown encoding to UTF-8: BOMs, UTF-16 without a BOM, and the legacy encodings scripts arrive in (GB18030/GBK, Big5, Shift_JIS, EUC-KR, Windows-1252).
dsp
Package dsp is AudioSmith's pure-Go audio signal processing: the interleaved float32 Buffer every subpackage works on, plus small helpers (decibels, channel up/down-mix, gains, fades, ranges).
Package dsp is AudioSmith's pure-Go audio signal processing: the interleaved float32 Buffer every subpackage works on, plus small helpers (decibels, channel up/down-mix, gains, fades, ranges).
dsp/analysis
Package analysis measures speech for dubbing and prosody: an energy VAD (the fallback; the ML VAD lives in the engine), speech onsets for timeline snapping (spectral flux + segment starts), a YIN pitch contour with summary statistics, a loudness contour, a speaking-rate estimate from syllable nuclei, and a per-line prosody summary compared against a speaker baseline ("Prosody Mirror").
Package analysis measures speech for dubbing and prosody: an energy VAD (the fallback; the ML VAD lives in the engine), speech onsets for timeline snapping (spectral flux + segment starts), a YIN pitch contour with summary statistics, a loudness contour, a speaking-rate estimate from syllable nuclei, and a per-line prosody summary compared against a speaker baseline ("Prosody Mirror").
dsp/dsptest
Package dsptest makes synthetic test signals (sines, noise, silence, clicks, sequences) for the dsp packages' tests and benchmarks.
Package dsptest makes synthetic test signals (sines, noise, silence, clicks, sequences) for the dsp packages' tests and benchmarks.
dsp/dynamics
Package dynamics has a feed-forward compressor (RMS or peak detector, soft knee, attack/release, makeup gain) and a look-ahead brick-wall limiter that can hold a true-peak ceiling.
Package dynamics has a feed-forward compressor (RMS or peak detector, soft knee, attack/release, makeup gain) and a look-ahead brick-wall limiter that can hold a true-peak ceiling.
dsp/edit
Package edit assembles takes and long renders: concatenation with crossfades or gaps (a streaming Joiner for renders too long for memory), silence for [pause] tags, edge-silence trimming, gap policy between sentences, lines, paragraphs and chapters, and shortening of long internal pauses.
Package edit assembles takes and long renders: concatenation with crossfades or gaps (a streaming Joiner for renders too long for memory), silence for [pause] tags, edge-silence trimming, gap policy between sentences, lines, paragraphs and chapters, and shortening of long internal pauses.
dsp/filter
Package filter has IIR biquads (designs from the RBJ "Audio EQ Cookbook" formulas), the ITU-R BS.1770 K-weighting pair at any sample rate, and Kaiser-windowed sinc FIR design for resampling and oversampling.
Package filter has IIR biquads (designs from the RBJ "Audio EQ Cookbook" formulas), the ITU-R BS.1770 K-weighting pair at any sample rate, and Kaiser-windowed sinc FIR design for resampling and oversampling.
dsp/loudness
Package loudness measures loudness per ITU-R BS.1770-4 and EBU R128 (EBU Tech 3341 meter, Tech 3342 loudness range) and normalises audio to delivery targets (ACX, podcast, broadcast) under a true-peak ceiling.
Package loudness measures loudness per ITU-R BS.1770-4 and EBU R128 (EBU Tech 3341 meter, Tech 3342 loudness range) and normalises audio to delivery targets (ACX, podcast, broadcast) under a true-peak ceiling.
dsp/master
Package master is the "even out volume" mastering chain: high-pass → tone EQ → compressor → loudness normalisation under a true-peak ceiling (look-ahead limiter).
Package master is the "even out volume" mastering chain: high-pass → tone EQ → compressor → loudness normalisation under a true-peak ceiling (look-ahead limiter).
dsp/mix
Package mix places clips on a timeline and sums them, sample-accurately, with per-track and per-clip gain, fades and pan, and ducking (background tracks lowered under speech).
Package mix places clips on a timeline and sums them, sample-accurately, with per-track and per-clip gain, fades and pan, and ducking (background tracks lowered under speech).
dsp/qc
Package qc is "Check audio": an advisory scan of a take or a render that reports problems as codes with severities and time ranges the UI can seek to.
Package qc is "Check audio": an advisory scan of a take or a render that reports problems as codes with severities and time ranges the UI can seek to.
dsp/refcheck
Package refcheck checks and tidies voice references: the clips clone and dialogue models copy a voice from (thread #83, after #81's study, research/voice-reference-quality.md).
Package refcheck checks and tidies voice references: the clips clone and dialogue models copy a voice from (thread #83, after #81's study, research/voice-reference-quality.md).
dsp/resample
Package resample converts sample rates with a polyphase Kaiser-windowed sinc filter.
Package resample converts sample rates with a polyphase Kaiser-windowed sinc filter.
dsp/stretch
Package stretch changes the length of audio without changing its pitch, by WSOLA (waveform-similarity overlap-add): the output is built from Hann-windowed frames of the input taken every synthesis hop, each one picked within a small search window around where the tempo puts it so that it continues the previous frame's waveform best (the highest normalised cross-correlation with the natural continuation).
Package stretch changes the length of audio without changing its pitch, by WSOLA (waveform-similarity overlap-add): the output is built from Hann-windowed frames of the input taken every synthesis hop, each one picked within a small search window around where the tempo puts it so that it continues the previous frame's waveform best (the highest normalised cross-correlation with the natural continuation).
dsp/wav
Package wav reads and writes metadata-free WAV files of float32 samples.
Package wav reads and writes metadata-free WAV files of float32 samples.
dub
Package dub is the domain of video and audio dubbing (M4): a dub project (the source, its transcript as segments, the cast, the target languages and their translations, the settings), the edits the workspace makes to it (split, merge, insert, bulk changes, undo), the pure parts of the pipeline (speaker assignment, reference windows, timing strategies, the mix, QC, subtitles and exports), the batch queue's watch folder, URL import rules, and the engine methods the pipeline needs that protocol 2 does not have yet (engineapi.go, proposed to the engine thread).
Package dub is the domain of video and audio dubbing (M4): a dub project (the source, its transcript as segments, the cast, the target languages and their translations, the settings), the edits the workspace makes to it (split, merge, insert, bulk changes, undo), the pure parts of the pipeline (speaker assignment, reference windows, timing strategies, the mix, QC, subtitles and exports), the batch queue's watch folder, URL import rules, and the engine methods the pipeline needs that protocol 2 does not have yet (engineapi.go, proposed to the engine thread).
dub/dubtest
Package dubtest is a fake engine for the dubbing pipeline's tests: every method the pipeline calls (protocol 2's and the proposed ones in internal/dub/engineapi.go), answered in Go with real WAV files, so the whole pipeline runs on Linux.
Package dubtest is a fake engine for the dubbing pipeline's tests: every method the pipeline calls (protocol 2's and the proposed ones in internal/dub/engineapi.go), answered in Go with real WAV files, so the whole pipeline runs on Linux.
engine
Package engine runs audiosmith-engine, the Swift helper that does the speech work, and talks to it: a Supervisor runs one process per role and speaks protocol 2 (package proto, docs/protocol-v2.md) with it, and RegisterExecutors runs engine methods as jobs of the jobs.Scheduler.
Package engine runs audiosmith-engine, the Swift helper that does the speech work, and talks to it: a Supervisor runs one process per role and speaks protocol 2 (package proto, docs/protocol-v2.md) with it, and RegisterExecutors runs engine methods as jobs of the jobs.Scheduler.
engine/enginetest
Package enginetest is a scripted protocol-2 audiosmith-engine for tests: a test binary runs it instead of its tests when AUDIOSMITH_FAKE_ENGINE is set, so the supervisor spawns a real process and talks to it over real pipes, without MLX.
Package enginetest is a scripted protocol-2 audiosmith-engine for tests: a test binary runs it instead of its tests when AUDIOSMITH_FAKE_ENGINE is set, so the supervisor spawns a real process and talks to it over real pipes, without MLX.
engine/proto
Package proto is the wire format of protocol v2 between AudioSmith and audiosmith-engine: JSON-RPC-shaped messages, one per line, over the engine's stdin (app → engine) and stdout (engine → app).
Package proto is the wire format of protocol v2 between AudioSmith and audiosmith-engine: JSON-RPC-shaped messages, one per line, over the engine's stdin (app → engine) and stdout (engine → app).
family
Package family is AudioSmith's side of the ActNow family protocol (github.com/hehehai/actnowkit; spec v1.0.4, phase 1): the app's manifest in $FAMILY/apps, discovery of the other family apps, and its model claims in $FAMILY/models/claims, so that the other apps keep the models AudioSmith uses (spec §6, §7.3, §15.2).
Package family is AudioSmith's side of the ActNow family protocol (github.com/hehehai/actnowkit; spec v1.0.4, phase 1): the app's manifest in $FAMILY/apps, discovery of the other family apps, and its model claims in $FAMILY/models/claims, so that the other apps keep the models AudioSmith uses (spec §6, §7.3, §15.2).
ffmpeg
Package ffmpeg runs an optional ffmpeg (and ffprobe) for what AVFoundation, which the engine uses, cannot do: MP3, Opus and FLAC output, WebM/MKV/VP9/AV1 input, burnt-in subtitles.
Package ffmpeg runs an optional ffmpeg (and ffprobe) for what AVFoundation, which the engine uses, cannot do: MP3, Opus and FLAC output, WebM/MKV/VP9/AV1 input, burnt-in subtitles.
gallery
Package gallery is the data side of Discover voices: about 35 curated voices (thread #94, after #91's audit) with their use cases, facets, search, favorites, the Design page's starting-point presets, and (in package persona) the .asvoice voice-file format.
Package gallery is the data side of Discover voices: about 35 curated voices (thread #94, after #91's audit) with their use cases, facets, search, favorites, the Design page's starting-point presets, and (in package persona) the .asvoice voice-file format.
gallery/persona
Package persona reads and writes .asvoice files: a portable voice (a cloned or designed voice profile) as one ZIP that carries its identity, recipe and engine parameters, licence, consent attestation, a preview clip, and optionally the reference clip and a portrait.
Package persona reads and writes .asvoice files: a portable voice (a cloned or designed voice profile) as one ZIP that carries its identity, recipe and engine parameters, licence, consent attestation, a preview clip, and optionally the reference clip and a portrait.
hub
Package hub owns model files on disk: it finds the Hugging Face cache, reports which catalogue entries are downloaded, and (thread C, M0) downloads, verifies and deletes them, so engines only ever load local files (engine.hello offline:true).
Package hub owns model files on disk: it finds the Hugging Face cache, reports which catalogue entries are downloaded, and (thread C, M0) downloads, verifies and deletes them, so engines only ever load local files (engine.hello offline:true).
i18n
Package i18n translates the UI.
Package i18n translates the UI.
icons
Package icons holds the Solar icons AudioSmith shows, each in its Linear variant (everywhere) and its Bold one (the sidebar's chosen page, active toggles).
Package icons holds the Solar icons AudioSmith shows, each in its Linear variant (everywhere) and its Bold one (the sidebar's chosen page, active toggles).
icons/gen command
Command gen writes the Solar icons AudioSmith uses as Go source (../solar_gen.go), from the @iconify-json/solar package at a pinned version, checked against its SHA-256.
Command gen writes the Solar icons AudioSmith uses as Go source (../solar_gen.go), from the @iconify-json/solar package at a pinned version, checked against its SHA-256.
jobs
Package jobs is AudioSmith's work queue: every piece of work that takes longer than a click (TTS, transcription, separation, downloads, muxing, a dub's pipeline) is a Job, scheduled on a Lane by Priority, persisted so it survives a crash or quit, and cancellable by id.
Package jobs is AudioSmith's work queue: every piece of work that takes longer than a click (TTS, transcription, separation, downloads, muxing, a dub's pipeline) is a Job, scheduled on a Lane by Priority, persisted so it survives a crash or quit, and cancellable by id.
lang
Package lang is the language table: every language a model in the catalogue may speak or understand, as embedded data.
Package lang is the language table: every language a model in the catalogue may speak or understand, as embedded data.
licence
Package licence is the model licence gate: core.LicenceService over a repository of acceptances.
Package licence is the model licence gate: core.LicenceService over a repository of acceptances.
llm
Package llm is AudioSmith's provider-agnostic chat-model layer.
Package llm is AudioSmith's provider-agnostic chat-model layer.
logs
Package logs is the log behind the logs panel: core.LogService as a ring of the newest lines in memory, also written to rotated files (<dir>/audiosmith.log, .1, .2) by a goroutine of its own, so Append never blocks on the disk.
Package logs is the log behind the logs panel: core.LogService as a ring of the newest lines in memory, also written to rotated files (<dir>/audiosmith.log, .1, .2) by a goroutine of its own, so Append never blocks on the disk.
mcp
Package mcp is AudioSmith's Model Context Protocol server (M5): agents (Claude Code, Cursor, Codex…) speak, clone and design voices, and transcribe through it.
Package mcp is AudioSmith's Model Context Protocol server (M5): agents (Claude Code, Cursor, Codex…) speak, clone and design voices, and transcribe through it.
notify
Package notify is the notification centre: core.NotificationService in memory.
Package notify is the notification centre: core.NotificationService in memory.
oplog
Package oplog is AudioSmith's operations log (#108): one quiet line per change the user (or the Local API, MCP, a job) makes to their data, per job's start and end, per download, per error shown, as
Package oplog is AudioSmith's operations log (#108): one quiet line per change the user (or the Local API, MCP, a job) makes to their data, per job's start and end, per download, per error shown, as
services
Package services implements AudioSmith's domain services (core.*Service) over a store.Store, a jobs.Scheduler and the core.Bus: the take library and generation, voice and project libraries, and debounced drafts.
Package services implements AudioSmith's domain services (core.*Service) over a store.Store, a jobs.Scheduler and the core.Bus: the take library and generation, voice and project libraries, and debounced drafts.
settings
Package settings is the user's preferences: one typed, versioned document, persisted as JSON by the store (settings table, key "app"), read by any goroutine, changed through Service.Update, announced with Changed on the core.Bus.
Package settings is the user's preferences: one typed, versioned document, persisted as JSON by the store (settings table, key "app"), read by any goroutine, changed through Service.Update, announced with Changed on the core.Bus.
store
Package store is AudioSmith's persistence contract: repositories for each kind of record, behind which the database lives.
Package store is AudioSmith's persistence contract: repositories for each kind of record, behind which the database lives.
store/historyjson
Package historyjson is the MVP's take library: WAVs in <dir>/clips and an index, <dir>/history.json, rewritten whole on every change.
Package historyjson is the MVP's take library: WAVs in <dir>/clips and an index, <dir>/history.json, rewritten whole on every change.
store/sqlitestore
Package sqlitestore implements store.Store on SQLite, through the MyGo SQLite plugin (github.com/egoist/mygo/plugins/sqlite: purego, no cgo, FTS5 and JSON1 built in).
Package sqlitestore implements store.Store on SQLite, through the MyGo SQLite plugin (github.com/egoist/mygo/plugins/sqlite: purego, no cgo, FTS5 and JSON1 built in).
telephony
Package telephony is AudioSmith's AI phone agent over Twilio (M6b):
Package telephony is AudioSmith's AI phone agent over Twilio (M6b):
telephony/telephonytest
Package telephonytest fakes Twilio for tests: its REST API (an httptest server), its signed webhooks, and the Media Streams client that connects to the gateway.
Package telephonytest fakes Twilio for tests: its REST API (an httptest server), its signed webhooks, and the Media Streams client that connects to the gateway.
text
Package text is the script pipeline shared by the Studio (M1), Stories and Audiobook (M3) and Dubbing (M4): segmentation into TTS chunks with source offsets, content-addressed chunk keys, word counts and runtime estimates.
Package text is the script pipeline shared by the Studio (M1), Stories and Audiobook (M3) and Dubbing (M4): segmentation into TTS chunks with source offsets, content-addressed chunk keys, word counts and runtime estimates.
text/autocast
Package autocast detects who speaks each line of a story, for the Stories editor's Auto-cast: tagged lines ("[Mara] Hello"), screenplay lines ("MARA: Hello", "小明:你好") and quoted prose attributed with a speech verb (`"Hello," said Mara.`, `小明说:“你好。
Package autocast detects who speaks each line of a story, for the Stories editor's Auto-cast: tagged lines ("[Mara] Hello"), screenplay lines ("MARA: Hello", "小明:你好") and quoted prose attributed with a speech verb (`"Hello," said Mara.`, `小明说:“你好。
text/lexicon
Package lexicon is the pronunciation dictionary: user entries that say how a term is pronounced, applied to script text before synthesis.
Package lexicon is the pronunciation dictionary: user entries that say how a term is pronounced, applied to script text before synthesis.
text/markup
Package markup parses AudioSmith's SSML-lite script markup into a typed token stream with diagnostics, for the Studio, Stories and Audiobook editors and their validation UIs.
Package markup parses AudioSmith's SSML-lite script markup into a typed token stream with diagnostics, for the Studio, Stories and Audiobook editors and their validation UIs.
text/normalize
Package normalize rewrites written forms a TTS model may misread into spoken words, conservatively and per language: numbers (with grouping and decimals), negative numbers, percentages, ordinals, times ("3:30"), simple dates, currency ("$5", "¥5", "5 €"), number ranges ("3–5", "3~5"), temperatures and common abbreviations ("Dr.", "z.
Package normalize rewrites written forms a TTS model may misread into spoken words, conservatively and per language: numbers (with grouping and decimals), negative numbers, percentages, ordinals, times ("3:30"), simple dates, currency ("$5", "¥5", "5 €"), number ranges ("3–5", "3~5"), temperatures and common abbreviations ("Dr.", "z.
text/plan
Package plan turns a script into what a TTS engine is asked to say: the markup parsed (internal/text/markup) and lowered for one engine, the pronunciation dictionary and inline overrides applied, written forms normalised, and the result cut into chunks the engine can take, with the silences and joins between them.
Package plan turns a script into what a TTS engine is asked to say: the markup parsed (internal/text/markup) and lowered for one engine, the pronunciation dictionary and inline overrides applied, written forms normalised, and the result cut into chunks the engine can take, with the silences and joins between them.
tools/declhash command
Command declhash prints a line per top-level declaration of the Go packages in the given directories: directory, package, kind, name, build constraints and a hash of its source as go/printer formats it, doc comment and inner comments included.
Command declhash prints a line per top-level declaration of the Go packages in the given directories: directory, package, kind, name, build constraints and a hash of its source as go/printer formats it, doc comment and inner comments included.
tools/snapcmp command
Command snapcmp compares two directories of UI snapshots (the PNGs and texts TestSnapshots* writes), for refactors that must not change a pixel.
Command snapcmp compares two directories of UI snapshots (the PNGs and texts TestSnapshots* writes), for refactors that must not change a pixel.
tools/thirdparty command
Command thirdparty writes THIRD-PARTY-NOTICES.txt, the third-party notices the app bundle ships (mygo.json resources): for every component linked into or shipped with AudioSmith, its version or pin, where its source is, its licence (SPDX) and the full licence and notice texts.
Command thirdparty writes THIRD-PARTY-NOTICES.txt, the third-party notices the app bundle ships (mygo.json resources): for every component linked into or shipped with AudioSmith, its version or pin, where its source is, its licence (SPDX) and the full licence and notice texts.
torchpt
Package torchpt reads PyTorch checkpoints (torch.save's zip format: archive/data.pkl + archive/data/<storage>) without Python and without executing anything: a restricted pickle machine that knows how tensors are rebuilt and treats every other class as an opaque object.
Package torchpt reads PyTorch checkpoints (torch.save's zip format: archive/data.pkl + archive/data/<storage>) without Python and without executing anything: a restricted pickle machine that knows how tensors are rebuilt and treats every other class as an opaque object.
translate
Package translate turns segments of text into another language and holds the text skills built on internal/llm: translation (LLM with Fast / Cinematic / Autofit quality, and online MT adapters: DeepL, Google Cloud, Microsoft), glossaries, dictation cleanup, direction parsing and the speech-rate fit predictor.
Package translate turns segments of text into another language and holds the text skills built on internal/llm: translation (LLM with Fast / Cinematic / Autofit quality, and online MT adapters: DeepL, Google Cloud, Microsoft), glossaries, dictation cleanup, direction parsing and the speech-rate fit predictor.
voicedesign
Package voicedesign is the data and logic layer of Voice Design: the attribute model a designed voice is made of, a deterministic parser from English and Chinese free text to attributes, and the lowering of a recipe (description + attributes + seed) to what each design-capable engine takes as its voice/instruct field.
Package voicedesign is the data and logic layer of Voice Design: the attribute model a designed voice is made of, a deterministic parser from English and Chinese free text to attributes, and the lowering of a recipe (description + attributes + seed) to what each design-capable engine takes as its voice/instruct field.
watermark
Package watermark is the app side of the invisible watermark (AudioSeal, engine methods watermark.embed / watermark.detect): the 16-bit message AudioSmith embeds, and the model's preparation (the engine loads safetensors converted from the .pth checkpoints facebook/audioseal ships).
Package watermark is the app side of the invisible watermark (AudioSeal, engine methods watermark.embed / watermark.detect): the 16-bit message AudioSmith embeds, and the model's preparation (the engine loads safetensors converted from the .pth checkpoints facebook/audioseal ships).
workflow
Package workflow is WorkflowStudio's model (M6): a workflow is a graph of steps (nodes) with typed inputs and outputs joined by links (edges), run once per input item (a script, or an audio clip).
Package workflow is WorkflowStudio's model (M6): a workflow is a graph of steps (nodes) with typed inputs and outputs joined by links (edges), run once per input item (a script, or an audio clip).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL