知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
fix: show Chinese talk-key words as they are spoken
wquguruc54e4d55a63f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex abe26f0..bf8c194 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,7 @@ the release workflow publishes it as the release notes.- New: turning on 同声传译 switches the Mac's system microphone to BlackHole 2ch and switches it back when 同声传译 is turned off or Cicada quits, so a meeting page in Chrome (or any app left on the default microphone) hears the translation with no setup. Cicada itself keeps recording from your real microphone (Settings › 同声传译 › 系统麦克风 lets you pin one). If Cicada didn't get to switch back (it crashed), or AirPods or something else took over the system mic while you were speaking, the menu bar panel says so with a 还原 / 换回 button; the panel's ⋯ menu also has 同声传译设置…, 试一句 and 还原系统麦克风. The switch can be turned off in Settings.- Changed: the installer window explains the first-open warning. While the developer certificate is pending, macOS says Apple can't verify Cicada; the window, now a little taller, says this is expected and shows the three screens to click through in miniature, each with the button ringed: 完成 (not 移到废纸篓), 隐私与安全性 in System Settings, then 仍要打开 under 安全性.+- Fixed: while you hold the talk key and speak Chinese, the subtitle bar shows your words as you say them, about a second behind. It used to show nothing for roughly ten seconds, so a short sentence only appeared after the key was released.## 2.2.0 — 2026-11-02diff --git a/Sources/LiveSubs/SpeakEngine.swift b/Sources/LiveSubs/SpeakEngine.swiftindex 987e1f8..094ffa6 100644--- a/Sources/LiveSubs/SpeakEngine.swift+++ b/Sources/LiveSubs/SpeakEngine.swift@@ -159,7 +159,7 @@ final class SpeakEngine {let lang = settings.speakFromLangguard analyzerLocale != lang.locale || analyzerFormat == nil else { return }let t = SpeechTranscriber(locale: Locale(identifier: lang.locale), transcriptionOptions: [],- reportingOptions: [.volatileResults], attributeOptions: [])+ reportingOptions: [.volatileResults, .fastResults], attributeOptions: [])do {if await AssetInventory.status(forModules: [t]) != .installed,let req = try await AssetInventory.assetInstallationRequest(supporting: [t]) {@@ -191,8 +191,10 @@ final class SpeakEngine {private func beginUtterance() -> AsyncStream<AnalyzerInput>.Continuation? {guard analyzerFormat != nil else { return nil }let lang = settings.speakFromLang+ // Without `.fastResults` Chinese only reports every ~11 s of audio, so the bar stays+ // empty for a whole sentence or two; with it, text trails speech by about a second.let t = SpeechTranscriber(locale: Locale(identifier: lang.locale), transcriptionOptions: [],- reportingOptions: [.volatileResults], attributeOptions: [])+ reportingOptions: [.volatileResults, .fastResults], attributeOptions: [])let (stream, cont) = AsyncStream.makeStream(of: AnalyzerInput.self)finals = []volatile = ""diff --git a/site/changelog.json b/site/changelog.jsonindex 5c735cc..df568a7 100644--- a/site/changelog.json+++ b/site/changelog.json@@ -15,6 +15,11 @@"kind": "changed","title": "安装窗口讲清楚首次打开的提示。","text": "开发者证书还在申请中,第一次打开会提示 Apple 无法验证。安装窗口里现在写明这是正常的,并用三张小图标出要点的按钮:点完成(别点移到废纸篓),在系统设置里选隐私与安全性,再在安全性一栏点仍要打开。"+ },+ {+ "kind": "fixed",+ "title": "说中文时,字幕条马上出字。",+ "text": "按住说话键说中文,字幕条上的原文以前要攒十秒左右才一下子出来,短句往往松开键才看到;现在跟着说话出字,大约慢一秒。"}]},