auto-tts 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,22 +4,36 @@
4
4
 
5
5
  不需要 API Key,不按字数收费,长文本和批量任务都能排队处理。
6
6
 
7
- ## 快速开始
7
+ ![auto-tts 界面预览](assets/view.png)
8
8
 
9
- 一条命令,不需要 clone 仓库,也不需要手动装 Python 依赖:
9
+ ## 安装
10
+
11
+ 先确认本机有 Node.js 和 Python:
12
+
13
+ | 依赖 | 版本 | 说明 |
14
+ | --- | --- | --- |
15
+ | Node.js | 18 或更高 | 运行 `auto-tts` 命令 |
16
+ | Python | 3.9 或更高 | 后端运行时 |
17
+
18
+ 然后全局安装:
10
19
 
11
20
  ```bash
12
- npx auto-tts web
21
+ npm i -g auto-tts
13
22
  ```
14
23
 
15
- 首次运行会在 `~/.local/share/auto-tts/venv` 建一个独立的 Python 环境并安装后端依赖(只需一次),随后启动服务并自动打开浏览器。
24
+ ## 启动
16
25
 
17
- ### 环境要求
26
+ ```bash
27
+ auto-tts web
28
+ ```
18
29
 
19
- | 依赖 | 版本 | 说明 |
20
- | --- | --- | --- |
21
- | Node.js | 18 或更高 | 用来运行 `npx` 命令 |
22
- | Python | 3.9 或更高 | 后端运行时 |
30
+ 首次启动会在 `~/.local/share/auto-tts/venv` 建一个独立的 Python 环境并安装后端依赖(只需一次)。等服务就绪后,它会自动打开浏览器,并在终端打印网页地址:
31
+
32
+ ```
33
+ http://127.0.0.1:8000
34
+ ```
35
+
36
+ 按 `Ctrl+C` 停止服务。
23
37
 
24
38
  Debian / Ubuntu 上如果提示无法创建虚拟环境,需要先装 `python3-venv`:
25
39
 
@@ -30,11 +44,12 @@ sudo apt install python3-venv
30
44
  ### 常用参数
31
45
 
32
46
  ```bash
33
- npx auto-tts web --port 9000 # 换一个端口(默认 8000)
34
- npx auto-tts web --host 0.0.0.0 # 允许局域网内其它设备访问
35
- npx auto-tts web --no-open # 不自动打开浏览器
36
- npx auto-tts web --reset # 重建 Python 环境后启动
37
- npx auto-tts --help # 查看全部用法
47
+ auto-tts web --port 9000 # 换一个端口(默认 8000)
48
+ auto-tts web --host 0.0.0.0 # 允许局域网内其它设备访问
49
+ auto-tts web --no-open # 不自动打开浏览器
50
+ auto-tts web --reset # 重建 Python 环境后启动
51
+ auto-tts --help # 查看全部用法
52
+ auto-tts --version # 查看版本
38
53
  ```
39
54
 
40
55
  ## 功能
@@ -74,7 +89,7 @@ cd auto-tts
74
89
  ./start.sh --rebuild
75
90
  ```
76
91
 
77
- `./start.sh` 与 `npx auto-tts web` 效果一致,区别是使用仓库内的 `.venv` 和源码构建产物。
92
+ `./start.sh` 与 `auto-tts web` 效果一致,区别是使用仓库内的 `.venv` 和源码构建产物。
78
93
 
79
94
  ## HTTP 接口
80
95
 
@@ -102,4 +117,4 @@ GNU Affero General Public License v3.0 或更新版本(AGPL-3.0-or-later),
102
117
 
103
118
  Copyright (C) 2026 kms413
104
119
 
105
- AGPL 第 13 条要求以网络方式提供服务的程序向用户提供获取源代码的途径,因此页面底部保留了「获取源代码」链接,请勿移除。
120
+ AGPL 第 13 条要求以网络方式提供服务的程序向用户提供获取源代码的途径,因此页面底部保留了「获取源代码」链接,请勿移除。
Binary file
@@ -0,0 +1,97 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1146" height="717"
2
+ viewBox="0 0 1146 717" role="img"
3
+ aria-label="auto-tts 无限量文本转语音">
4
+ <title>auto-tts · 无限量文本转语音</title>
5
+
6
+ <rect width="1146" height="717" fill="#E8E6E1"/>
7
+
8
+ <!-- eyebrow -->
9
+ <rect x="72" y="74" width="13" height="13" fill="#E23A2E"/>
10
+ <text x="96" y="87" font-family="'IBM Plex Mono',ui-monospace,'SFMono-Regular',monospace" font-size="19"
11
+ letter-spacing="2.4" fill="#63666B">OPEN SOURCE · EDGE-TTS · AGPL-3.0</text>
12
+
13
+ <!-- wordmark -->
14
+ <text id="title" x="72" y="300" font-family="'Space Grotesk','PingFang SC','Noto Sans CJK SC','Microsoft YaHei',sans-serif" font-size="176"
15
+ font-weight="700" letter-spacing="-6.5" fill="#191B1D">auto-tts</text>
16
+ <rect x="732.0" y="221" width="34" height="34" fill="#E23A2E"/>
17
+
18
+ <!-- claim: the hook, with the differentiator picked out in the signal colour -->
19
+ <text x="72" y="412" font-family="'Space Grotesk','PingFang SC','Noto Sans CJK SC','Microsoft YaHei',sans-serif" font-size="98"
20
+ font-weight="700" letter-spacing="1"><tspan fill="#E23A2E">无限量</tspan><tspan fill="#191B1D">文本转语音</tspan></text>
21
+ <text x="74" y="452" font-family="'Space Grotesk','PingFang SC','Noto Sans CJK SC','Microsoft YaHei',sans-serif" font-size="24"
22
+ fill="#63666B">选音色与语气 · 批量排队 · 一键合成 MP3,可在线试听下载</text>
23
+
24
+ <!-- waveform band -->
25
+ <line x1="72" y1="496" x2="1074" y2="496" stroke="#CFCCC5" stroke-width="1"/>
26
+ <line x1="72" y1="590" x2="1074" y2="590" stroke="#CFCCC5" stroke-width="1"/>
27
+ <rect x="72.00" y="538.00" width="11.72" height="10" rx="1.5" fill="#191B1D"/>
28
+ <rect x="87.72" y="535.50" width="11.72" height="15" rx="1.5" fill="#191B1D"/>
29
+ <rect x="103.44" y="531.00" width="11.72" height="24" rx="1.5" fill="#191B1D"/>
30
+ <rect x="119.16" y="524.00" width="11.72" height="38" rx="1.5" fill="#191B1D"/>
31
+ <rect x="134.88" y="515.50" width="11.72" height="55" rx="1.5" fill="#191B1D"/>
32
+ <rect x="150.59" y="507.00" width="11.72" height="72" rx="1.5" fill="#191B1D"/>
33
+ <rect x="166.31" y="513.00" width="11.72" height="60" rx="1.5" fill="#191B1D"/>
34
+ <rect x="182.03" y="524.00" width="11.72" height="38" rx="1.5" fill="#191B1D"/>
35
+ <rect x="197.75" y="532.50" width="11.72" height="21" rx="1.5" fill="#191B1D"/>
36
+ <rect x="213.47" y="536.50" width="11.72" height="13" rx="1.5" fill="#191B1D"/>
37
+ <rect x="229.19" y="533.50" width="11.72" height="19" rx="1.5" fill="#191B1D"/>
38
+ <rect x="244.91" y="527.50" width="11.72" height="31" rx="1.5" fill="#191B1D"/>
39
+ <rect x="260.62" y="519.00" width="11.72" height="48" rx="1.5" fill="#191B1D"/>
40
+ <rect x="276.34" y="510.00" width="11.72" height="66" rx="1.5" fill="#191B1D"/>
41
+ <rect x="292.06" y="503.50" width="11.72" height="79" rx="1.5" fill="#191B1D"/>
42
+ <rect x="307.78" y="511.50" width="11.72" height="63" rx="1.5" fill="#191B1D"/>
43
+ <rect x="323.50" y="522.50" width="11.72" height="41" rx="1.5" fill="#191B1D"/>
44
+ <rect x="339.22" y="531.00" width="11.72" height="24" rx="1.5" fill="#191B1D"/>
45
+ <rect x="354.94" y="535.50" width="11.72" height="15" rx="1.5" fill="#191B1D"/>
46
+ <rect x="370.66" y="532.00" width="11.72" height="22" rx="1.5" fill="#191B1D"/>
47
+ <rect x="386.38" y="525.50" width="11.72" height="35" rx="1.5" fill="#191B1D"/>
48
+ <rect x="402.09" y="516.00" width="11.72" height="54" rx="1.5" fill="#191B1D"/>
49
+ <rect x="417.81" y="507.50" width="11.72" height="71" rx="1.5" fill="#191B1D"/>
50
+ <rect x="433.53" y="502.00" width="11.72" height="82" rx="1.5" fill="#191B1D"/>
51
+ <rect x="449.25" y="510.00" width="11.72" height="66" rx="1.5" fill="#191B1D"/>
52
+ <rect x="464.97" y="521.00" width="11.72" height="44" rx="1.5" fill="#191B1D"/>
53
+ <rect x="480.69" y="530.00" width="11.72" height="26" rx="1.5" fill="#191B1D"/>
54
+ <rect x="496.41" y="534.50" width="11.72" height="17" rx="1.5" fill="#191B1D"/>
55
+ <rect x="512.12" y="537.00" width="11.72" height="12" rx="1.5" fill="#191B1D"/>
56
+ <rect x="527.84" y="533.50" width="11.72" height="19" rx="1.5" fill="#191B1D"/>
57
+ <rect x="543.56" y="528.00" width="11.72" height="30" rx="1.5" fill="#191B1D"/>
58
+ <rect x="559.28" y="519.50" width="11.72" height="47" rx="1.5" fill="#191B1D"/>
59
+ <rect x="575.00" y="509.00" width="11.72" height="68" rx="1.5" fill="#191B1D"/>
60
+ <rect x="590.72" y="500.00" width="11.72" height="86" rx="1.5" fill="#191B1D"/>
61
+ <rect x="606.44" y="506.00" width="11.72" height="74" rx="1.5" fill="#191B1D"/>
62
+ <rect x="622.16" y="518.00" width="11.72" height="50" rx="1.5" fill="#191B1D"/>
63
+ <rect x="637.88" y="528.00" width="11.72" height="30" rx="1.5" fill="#191B1D"/>
64
+ <rect x="653.59" y="533.50" width="11.72" height="19" rx="1.5" fill="#191B1D"/>
65
+ <rect x="669.31" y="536.00" width="11.72" height="14" rx="1.5" fill="#191B1D"/>
66
+ <rect x="685.03" y="531.50" width="11.72" height="23" rx="1.5" fill="#191B1D"/>
67
+ <rect x="700.75" y="523.50" width="11.72" height="39" rx="1.5" fill="#E23A2E"/>
68
+ <rect x="716.47" y="512.50" width="11.72" height="61" rx="1.5" fill="#E23A2E"/>
69
+ <rect x="732.19" y="504.00" width="11.72" height="78" rx="1.5" fill="#E23A2E"/>
70
+ <rect x="747.91" y="499.00" width="11.72" height="88" rx="1.5" fill="#E23A2E"/>
71
+ <rect x="763.62" y="507.00" width="11.72" height="72" rx="1.5" fill="#E23A2E"/>
72
+ <rect x="779.34" y="517.00" width="11.72" height="52" rx="1.5" fill="#E23A2E"/>
73
+ <rect x="795.06" y="526.50" width="11.72" height="33" rx="1.5" fill="#E23A2E"/>
74
+ <rect x="810.78" y="532.50" width="11.72" height="21" rx="1.5" fill="#E23A2E"/>
75
+ <rect x="826.50" y="535.50" width="11.72" height="15" rx="1.5" fill="#E23A2E"/>
76
+ <rect x="842.22" y="530.00" width="11.72" height="26" rx="1.5" fill="#E23A2E"/>
77
+ <rect x="857.94" y="520.50" width="11.72" height="45" rx="1.5" fill="#E23A2E"/>
78
+ <rect x="873.66" y="509.50" width="11.72" height="67" rx="1.5" fill="#191B1D"/>
79
+ <rect x="889.38" y="501.00" width="11.72" height="84" rx="1.5" fill="#191B1D"/>
80
+ <rect x="905.09" y="508.00" width="11.72" height="70" rx="1.5" fill="#191B1D"/>
81
+ <rect x="920.81" y="519.00" width="11.72" height="48" rx="1.5" fill="#191B1D"/>
82
+ <rect x="936.53" y="528.50" width="11.72" height="29" rx="1.5" fill="#191B1D"/>
83
+ <rect x="952.25" y="534.00" width="11.72" height="18" rx="1.5" fill="#191B1D"/>
84
+ <rect x="967.97" y="536.50" width="11.72" height="13" rx="1.5" fill="#191B1D"/>
85
+ <rect x="983.69" y="532.00" width="11.72" height="22" rx="1.5" fill="#191B1D"/>
86
+ <rect x="999.41" y="524.50" width="11.72" height="37" rx="1.5" fill="#191B1D"/>
87
+ <rect x="1015.12" y="514.00" width="11.72" height="58" rx="1.5" fill="#191B1D"/>
88
+ <rect x="1030.84" y="505.00" width="11.72" height="76" rx="1.5" fill="#191B1D"/>
89
+ <rect x="1046.56" y="512.00" width="11.72" height="62" rx="1.5" fill="#191B1D"/>
90
+ <rect x="1062.28" y="526.00" width="11.72" height="34" rx="1.5" fill="#191B1D"/>
91
+
92
+ <!-- footer -->
93
+ <text x="72" y="656" font-family="'IBM Plex Mono',ui-monospace,'SFMono-Regular',monospace" font-size="20"
94
+ letter-spacing="0.5" fill="#191B1D">npm i -g auto-tts</text>
95
+ <text x="1074" y="656" font-family="'IBM Plex Mono',ui-monospace,'SFMono-Regular',monospace" font-size="20"
96
+ letter-spacing="0.5" fill="#63666B" text-anchor="end">github.com/kms413/auto-tts</text>
97
+ </svg>
Binary file
@@ -38,7 +38,6 @@ class Job:
38
38
  "text": self.text,
39
39
  "voice": self.voice,
40
40
  "tone": self.tone,
41
- "tone_label": tts.tone_label(self.tone),
42
41
  "rate": self.rate,
43
42
  "volume": self.volume,
44
43
  "pitch": self.pitch,
@@ -110,7 +110,10 @@ async def get_audio(filename: str) -> FileResponse:
110
110
  path = config.AUDIO_DIR / filename
111
111
  if not path.is_file():
112
112
  raise HTTPException(status_code=404, detail="Audio not found")
113
- return FileResponse(path, media_type="audio/mpeg", filename=filename)
113
+ # Served without a Content-Disposition header: browsers only stream media
114
+ # inline when the response is not flagged as a download. The UI's own
115
+ # download link supplies the filename.
116
+ return FileResponse(path, media_type="audio/mpeg")
114
117
 
115
118
 
116
119
  # Serve the built frontend from the same origin so a single command can run the
@@ -27,7 +27,6 @@ class JobView(BaseModel):
27
27
  text: str
28
28
  voice: str
29
29
  tone: str
30
- tone_label: str
31
30
  rate: int
32
31
  volume: int
33
32
  pitch: int
@@ -37,21 +37,20 @@ def format_pitch(value: int) -> str:
37
37
 
38
38
  # Speaking-tone presets. edge-tts does not expose emotion styles, so every tone
39
39
  # is approximated with a rate/volume/pitch delta triple that the frontend can
40
- # apply to the prosody controls.
40
+ # apply to the prosody controls. Display names live in the frontend locale
41
+ # catalogues, keyed by the `key` below.
41
42
  TONE_PRESETS: tuple[dict, ...] = (
42
- {"key": "natural", "label": "自然", "hint": "默认语速与音高", "rate": 0, "volume": 0, "pitch": 0},
43
- {"key": "gentle", "label": "温柔", "hint": "放慢、压低,像在耳边说话", "rate": -10, "volume": -6, "pitch": 4},
44
- {"key": "cheerful", "label": "愉悦", "hint": "略快、上扬,带一点笑意", "rate": 8, "volume": 4, "pitch": 8},
45
- {"key": "excited", "label": "兴奋", "hint": "更快、更亮,情绪外放", "rate": 16, "volume": 8, "pitch": 14},
46
- {"key": "serious", "label": "严肃", "hint": "沉稳、低音,适合声明", "rate": -6, "volume": 2, "pitch": -8},
47
- {"key": "sad", "label": "悲伤", "hint": "缓慢、低沉,语气下沉", "rate": -14, "volume": -8, "pitch": -6},
48
- {"key": "newscast", "label": "新闻播报", "hint": "清晰、稳定,字正腔圆", "rate": 6, "volume": 6, "pitch": -2},
49
- {"key": "whisper", "label": "低语", "hint": "轻声细语,音量很轻", "rate": -8, "volume": -40, "pitch": 2},
50
- {"key": "custom", "label": "自定义", "hint": "自己微调语速、音调与音量", "rate": 0, "volume": 0, "pitch": 0},
43
+ {"key": "natural", "rate": 0, "volume": 0, "pitch": 0},
44
+ {"key": "gentle", "rate": -10, "volume": -6, "pitch": 4},
45
+ {"key": "cheerful", "rate": 8, "volume": 4, "pitch": 8},
46
+ {"key": "excited", "rate": 16, "volume": 8, "pitch": 14},
47
+ {"key": "serious", "rate": -6, "volume": 2, "pitch": -8},
48
+ {"key": "sad", "rate": -14, "volume": -8, "pitch": -6},
49
+ {"key": "newscast", "rate": 6, "volume": 6, "pitch": -2},
50
+ {"key": "whisper", "rate": -8, "volume": -40, "pitch": 2},
51
+ {"key": "custom", "rate": 0, "volume": 0, "pitch": 0},
51
52
  )
52
53
 
53
- TONE_INDEX: dict[str, dict] = {preset["key"]: preset for preset in TONE_PRESETS}
54
-
55
54
  DEFAULT_TONE = "natural"
56
55
 
57
56
 
@@ -60,12 +59,6 @@ def list_tones() -> list[dict]:
60
59
  return [dict(preset) for preset in TONE_PRESETS]
61
60
 
62
61
 
63
- def tone_label(key: str) -> str:
64
- """Resolve a tone key to its display label, falling back to the raw key."""
65
- preset = TONE_INDEX.get(key)
66
- return preset["label"] if preset else key
67
-
68
-
69
62
  async def list_voices() -> list[dict]:
70
63
  """Return the edge-tts voice catalogue, cached for the process lifetime."""
71
64
  global _voices_cache
@@ -0,0 +1 @@
1
+ :root{--paper: #e8e6e1;--surface: #f6f5f2;--ink: #191b1d;--ink-soft: #63666b;--line: #cfccc5;--line-soft: #e0ddd7;--signal: #e23a2e;--signal-deep: #c72f24;--radius: 5px;--font-sans: "Space Grotesk", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-sans);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.app{max-width:1200px;margin:0 auto;padding:0 28px 80px}.masthead{padding-top:36px}.masthead__row{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}.wordmark{display:flex;align-items:center;gap:11px;margin:0;font-size:clamp(30px,4.2vw,44px);font-weight:600;letter-spacing:-.025em}.wordmark:after{content:"";flex:none;width:10px;height:10px;background:var(--signal)}.meters{display:flex;flex-wrap:wrap;gap:14px 30px;margin:0}.meter dt{font-size:12px;color:var(--ink-soft)}.meter dd{margin:3px 0 0;font-family:var(--font-mono);font-size:21px;font-weight:500;font-variant-numeric:tabular-nums}.meter--alert dd{color:var(--signal)}.masthead__aside{display:flex;flex-direction:column;align-items:flex-end;gap:14px}.masthead__aside .switch{align-self:auto}.masthead__lede{margin:14px 0 0;max-width:52ch;color:var(--ink-soft);font-size:15px}.wave{display:flex;align-items:center;gap:3px;overflow:hidden}.wave__bar{flex:1 1 2px;min-width:1px;background:var(--ink);border-radius:1px}.wave--hero{height:78px;margin-top:20px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.wave--hero .wave__bar{animation:grow .62s cubic-bezier(.2,.7,.2,1) backwards}@keyframes grow{0%{transform:scaleY(.04);opacity:.15}to{transform:scaleY(1);opacity:1}}.wave--strip{height:32px;gap:2px}.wave--strip .wave__bar{background:var(--line);transition:background-color .25s ease}.wave--strip .wave__bar.is-lit{background:var(--ink-soft)}.wave--strip.is-active .wave__bar.is-lit{background:var(--signal)}.alert{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding:11px 16px;background:#e23a2e14;border:1px solid var(--signal);border-left-width:4px;border-radius:var(--radius);font-size:14px}.alert__text{min-width:0}.alert__dismiss{flex:none;border:1px solid var(--signal);background:transparent;color:var(--signal);font:inherit;font-size:13px;padding:5px 12px;border-radius:4px;cursor:pointer}.alert__dismiss:hover{background:var(--signal);color:#fff}.workbench{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);align-items:start;gap:0;margin-top:32px}.deck{display:flex;flex-direction:column;gap:18px;margin-right:32px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.switch{display:inline-flex;align-self:flex-start;border:1px solid var(--ink);border-radius:var(--radius);overflow:hidden}.switch__btn{border:0;background:transparent;color:var(--ink);font:inherit;font-size:14px;font-weight:500;padding:7px 20px;cursor:pointer}.switch__btn+.switch__btn{border-left:1px solid var(--ink)}.switch__btn.is-on{background:var(--ink);color:var(--surface)}.field{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0}.field legend{padding:0}.field__label{font-size:13px;color:var(--ink-soft)}.field__meta{display:flex;gap:18px;margin-top:-8px}.input{width:100%;padding:10px 12px;background:var(--paper);border:1px solid var(--line);border-radius:4px;color:var(--ink);font:inherit;font-size:14px}.input:focus{border-color:var(--ink)}.input--area{min-height:150px;line-height:1.6;resize:vertical}.input--select{cursor:pointer}.readout{font-family:var(--font-mono);font-size:13px;font-variant-numeric:tabular-nums}.readout em{margin-left:3px;color:var(--ink-soft);font-size:11px;font-style:normal}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:6px 14px;background:var(--paper);border:1px solid var(--line);border-radius:4px;color:var(--ink);font:inherit;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.chip:hover{border-color:var(--ink)}.chip.is-on{background:var(--ink);border-color:var(--ink);color:var(--surface)}.tone__hint{margin:0;min-height:1.3em;color:var(--ink-soft);font-size:12.5px}.prosody{display:flex;flex-direction:column;gap:14px;padding-top:16px;border-top:1px solid var(--line-soft)}.prosody__row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px}.prosody__label{font-size:13px;color:var(--ink-soft)}.prosody__range{width:100%;height:20px;margin:0;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}.prosody__range::-webkit-slider-runnable-track{height:3px;background:var(--line);border-radius:2px}.prosody__range::-webkit-slider-thumb{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:14px;height:14px;margin-top:-5.5px;background:var(--ink);border-radius:2px}.prosody__range::-moz-range-track{height:3px;background:var(--line);border-radius:2px}.prosody__range::-moz-range-thumb{width:14px;height:14px;background:var(--ink);border:0;border-radius:2px}.action{width:100%;padding:14px 18px;background:var(--signal);border:0;border-radius:var(--radius);color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s,transform .05s}.action:hover:not(:disabled){background:var(--signal-deep)}.action:active:not(:disabled){transform:translateY(1px)}.action:disabled{background:var(--line);color:var(--ink-soft);cursor:not-allowed}.queue{min-width:0;padding-left:32px;border-left:1px solid var(--line)}.queue__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:2px solid var(--ink)}.queue__title{margin:0;font-size:17px;font-weight:600}.queue__head .readout{font-size:18px;font-weight:500}.takes{margin:0;padding:0;list-style:none}.take{display:flex;flex-direction:column;gap:11px;padding:18px 0;border-bottom:1px solid var(--line)}.take__head{display:flex;align-items:center;gap:12px}.take__index{font-family:var(--font-mono);font-size:15px;color:var(--ink-soft);font-variant-numeric:tabular-nums}.take__status{font-size:12px;font-weight:600}.take__status:before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;background:currentColor;border-radius:1px;vertical-align:middle}.take__status--pending{color:var(--ink-soft)}.take__status--processing,.take__status--failed{color:var(--signal)}.take__status--completed{color:var(--ink)}.take--processing .take__status:before{animation:blink 1.1s steps(2,end) infinite}@keyframes blink{50%{opacity:.2}}.take__voice{margin-left:auto;max-width:42%;overflow:hidden;color:var(--ink-soft);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.take__remove{flex:none;padding:4px 8px;background:transparent;border:0;border-radius:3px;color:var(--ink-soft);font:inherit;font-size:12px;cursor:pointer}.take__remove:hover{background:#e23a2e1a;color:var(--signal)}.take__text{margin:0;display:-webkit-box;overflow:hidden;color:var(--ink);font-size:14px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.take__spec{display:flex;flex-wrap:wrap;gap:6px 24px;margin:0}.take__spec>div{display:flex;align-items:baseline;gap:6px}.take__spec dt{font-size:11.5px;color:var(--ink-soft)}.take__spec dd{margin:0;font-family:var(--font-mono);font-size:12px;font-variant-numeric:tabular-nums}.take__error{margin:0;padding-left:10px;border-left:3px solid var(--signal);color:var(--signal);font-size:13px}.take__play{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.take__play audio{flex:1;min-width:220px;height:34px}.take__download{padding-bottom:1px;border-bottom:1px solid var(--ink);color:var(--ink);font-size:13px;font-weight:500;text-decoration:none}.take__download:hover{border-color:var(--signal);color:var(--signal)}.empty{padding:44px 0}.empty__title{margin:0;font-size:16px;font-weight:600}.empty__hint{margin:8px 0 0;max-width:44ch;color:var(--ink-soft);font-size:14px}.colophon{display:flex;align-items:baseline;gap:16px;margin-top:56px;padding-top:16px;border-top:1px solid var(--line);font-size:12.5px;color:var(--ink-soft)}.colophon__link{padding-bottom:1px;border-bottom:1px solid var(--line);color:var(--ink-soft);text-decoration:none}.colophon__link:hover{border-color:var(--ink);color:var(--ink)}@media (max-width: 900px){.app{padding:0 18px 64px}.masthead__row{flex-direction:column;align-items:flex-start;gap:18px}.masthead__aside{align-items:flex-start}.meters{gap:12px 22px}.wave--hero{height:54px}.workbench{grid-template-columns:1fr}.deck{margin-right:0}.queue{margin-top:30px;padding-top:24px;padding-left:0;border-top:1px solid var(--line);border-left:0}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}