aos say
Speak text aloud with the machine’s built-in voices, shown as a subtitle while it plays
4 commands. Run aos say --help for the same list from the binary, or see every group.
aos say
Section titled “aos say”Speak text aloud (or render it to an mp3/wav/aiff); –async returns at once
darwin · windows only
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos say <text...> [--voice=<name>] [--rate=<words per minute>] [--out=<file.mp3|.wav|.aiff>] [--no-subtitle] [--async] [--json] [-- <command...> [--then-wait=false]] [any `subtitle show` style flag: --position --size --color --bg --font --weight --align --max-width --margin --app/--title ...]| flag | values | meaning |
|---|---|---|
<text...> |
Required positional argument | |
<command...> |
Optional positional argument | |
--voice |
<name> |
Optional |
--rate |
<words per minute> |
Optional |
--out |
file.mp3, .wav, .aiff |
Optional |
--no-subtitle |
Optional | |
--async |
Optional | |
--json |
Optional | |
-- |
Optional | |
--then-wait |
<false> |
Optional |
--position |
Optional | |
--size |
Optional | |
--color |
Optional | |
--bg |
Optional | |
--font |
Optional | |
--weight |
Optional | |
--align |
Optional | |
--max-width |
Optional | |
--margin |
Optional | |
--app |
Optional | |
--title |
Optional |
aos say "Now I open Notepad and type the note" -- aos key type --app=Notepad "hello" # speak AND act, wait for bothaos say "build finished"aos say "Hello there" --voice=Samantha --rate=190aos say "welcome to the demo" --out=~/Desktop/welcome.mp3aos say "now I open the settings" --async # keeps talking while the script goes onaos say wait# the text is shown as a subtitle while it is spoken, cleared when it ends; --no-subtitle turns that offaos say "Saving the report now" --position=top-center --size=L --app=Notepad # caption style: the subtitle show flags# long text is captioned a sentence (or clause, ~2 lines) at a time, each timed to its own audioaos say stop
Section titled “aos say stop”Stop speaking now and drop anything queued
darwin · windows only
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos say stopaos say stopaos say voices
Section titled “aos say voices”List the installed voices
darwin · windows only
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos say voices [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos say voicesaos say voices --jsonaos say wait
Section titled “aos say wait”Block until every queued and playing say --async has finished
darwin · windows only
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos say wait [--timeout=<seconds>]| flag | values | meaning |
|---|---|---|
--timeout |
<seconds> |
Optional |
aos say waitaos say wait --timeout=30