Troubleshooting排障

When Yap doesn't do what you expectYap 不按预期工作时

Menu names below are the ones in the app. Still stuck? Open an issue and say which macOS version and model you use.

下面的菜单名和 app 里一致。还是不行?提个 issue,写上 macOS 版本和你用的模型。

Nothing gets pasted什么都没粘贴

Look at the notification Yap shows after you let go.

  1. “Copied to clipboard. No text field was focused, so Yap didn't paste”: click into a text field and press ⌘V. The text is on the clipboard and in History.
  2. “Allow Accessibility so Yap can paste automatically”: open System Settings › Privacy & Security › Accessibility and turn Yap on.
  3. Yap is already on in that list but still doesn't paste: select it, remove it with −, add it again, or toggle it off and on. This is expected after updating to 1.3.0.
  4. “Yap didn't catch anything”: the transcript was only a phrase Whisper makes up on silence, so nothing was pasted. The entry in History has the status Filtered. See It barely hears me.

先看松开快捷键后 Yap 弹出的通知。

  1. “已复制到剪贴板。当时没有聚焦的输入框,Yap 没有粘贴”:点进一个输入框,按 ⌘V。文字在剪贴板和历史记录里。
  2. “授权辅助功能后,Yap 可以自动粘贴”:打开 系统设置 › 隐私与安全性 › 辅助功能,把 Yap 打开。
  3. 列表里 Yap 已经开着但还是不粘贴:选中它,用 − 移除后重新添加,或者关掉再打开。更新到 1.3.0 之后出现这种情况是正常的。
  4. “Yap 没听清任何内容”:转写结果只是 Whisper 在静音时常编出来的短语,所以没有粘贴。历史记录里这一条的状态是“已过滤”。见几乎听不到我。

Wrong language识别错语言

Yap dictates in the language set on the active mode.

  1. Click the Yap menu bar icon and open Language. It sets the active mode's dictation language; pick your language instead of Auto-detect.
  2. Or open Modes, choose the mode and set Language there. Different modes can use different languages.
  3. Language is greyed out in the menu bar when the mode's model has one language only, for example Parakeet (English). Pick another model on the mode to change it.
  4. For Chinese and English in one sentence, leave Language on Auto-detect.

Yap 按当前模式里设置的语言听写。

  1. 点菜单栏的 Yap 图标,打开“语言:”子菜单。它设置的是当前模式的听写语言;选你要说的语言,不要选“自动检测”。
  2. 也可以打开 模式,选中那个模式,在“语言”里设置。不同模式可以用不同语言。
  3. 如果模式用的模型只有一种语言(比如只支持英文的 Parakeet),菜单栏里的语言是灰的。要换语言,先给这个模式换一个模型。
  4. 一句话里中英混着说,就把语言保持为“自动检测”。

It barely hears me几乎听不到我

Recordings that are too quiet aren't transcribed. The notification names the microphone: “Yap barely heard anything from <device>”.

  1. Open Audio (in the sidebar). Under Microphone, pick the microphone you're talking into. The default, System Default, can be a monitor or a Bluetooth headset you're not wearing.
  2. Not listed? Click Refresh Microphones after plugging it in.
  3. Have several microphones? Set Microphone Mode to Priority Order and list them in the order Yap should try them.
  4. Still quiet: raise the input volume in System Settings › Sound › Input, and move closer.

太安静的录音不会被转写。通知里会写出麦克风的名字:“Yap 几乎没从‘设备名’听到声音”。

  1. 打开侧边栏的“音频”。在“麦克风”里选你正在对着说话的那个。默认的“系统默认”可能是显示器或没戴着的蓝牙耳机。
  2. 列表里没有?插上之后点“刷新麦克风”。
  3. 有多个麦克风?把“麦克风模式”设为“优先级顺序”,按希望 Yap 尝试的顺序排好。
  4. 还是太小声:在 系统设置 › 声音 › 输入 里调高输入音量,或者靠近一点。

Won't paste after updating to 1.3.0 or later更新到 1.3.0 及以后不能粘贴

1.3.0 changed the app's signature, so macOS asks for permissions once more.

  1. Microphone: allow it on your next recording.
  2. Accessibility: in System Settings › Privacy & Security › Accessibility, remove Yap with − and add it again, or toggle it off and on.
  3. Keychain: when macOS asks whether Yap may use its saved API key or Yap Cloud sign-in, choose Always Allow.

Later updates keep these permissions.

1.3.0 改了 app 的签名,所以 macOS 会再要一次权限。

  1. 麦克风:下一次录音时允许。
  2. 辅助功能:在 系统设置 › 隐私与安全性 › 辅助功能 里,用 − 移除 Yap 再重新添加,或者关掉再打开。
  3. 钥匙串:macOS 问 Yap 能否使用已保存的 API key 或 Yap Cloud 登录信息时,选“始终允许”。

之后的更新会保留这些权限。

Local model is slow, or uses too much memory本地模型慢,或占内存太多

Open Models › Advanced › Keep model loaded. It sets how long a local model stays in memory after a dictation.

  1. Dictation feels slow to start: choose 5 minutes, 15 minutes, 1 hour or Always, so the model is already loaded next time.
  2. Yap uses too much memory: choose After Each Dictation (the default), which releases the model after each dictation. The default Whisper model holds about 0.7 GB while loaded.
  3. Under memory pressure Yap releases a model sooner, but never during a recording or a transcription.
  4. Still slow on the first dictation after launch or wake? Try Prewarm model (Experimental) on the same page.

打开 模型 › 高级 › 保持模型加载。它决定本地模型在听写结束后在内存里留多久。

  1. 觉得开始听写慢:选 5 分钟、15 分钟、1 小时或“始终”,下次模型已经载入。
  2. 占内存太多:选“每次听写后”(默认),每次听写后就释放模型。默认的 Whisper 模型载入时占用约 0.7 GB。
  3. 内存吃紧时 Yap 会更早释放模型,但录音和转写过程中不会释放。
  4. 启动或唤醒后的第一次听写还是慢?在同一页打开“预热模型(实验性)”。

Settings sync conflict or failure设置同步冲突或失败

Sync is in Settings › Account, when you're signed in to Yap Cloud and Sync Settings Across Macs is on.

  1. “This Mac and Yap Cloud both changed the config and couldn't be merged automatically”: choose Use Cloud Version to take the cloud copy (the other Mac's settings), or Keep This Mac's Settings to replace it with this Mac's.
  2. “Cloud sync failed”: check your connection, then click Retry, or Sync Now.
  3. Picked the wrong side? Version History in the same section lists earlier synced versions and can restore one.
  4. API keys are never synced; enter them again on each Mac.

同步在 设置 › 账户 里,需要登录 Yap Cloud 并打开“在多台 Mac 间同步设置”。

  1. “这台 Mac 和 Yap Cloud 都改了配置,无法自动合并”:选“使用云端版本”,采用另一台 Mac 的设置;或选“保留这台 Mac 的设置”,覆盖云端那份。
  2. “云同步失败”:检查网络,然后点“重试”或“立即同步”。
  3. 选错了?同一分区的“版本历史”列出更早的同步版本,可以恢复一个。
  4. API key 不会同步,需要在每台 Mac 上分别填。