Repository navigation
録音中のアシスト(リサーチプレビュー)を足す - #153
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
録音の停止・破棄・開始の失敗・終了のどれでも止め、パイプラインの前に 止まり終わる(最大 3 秒)のを待つ。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ADR-009 を部分的に改めたことを ADR-009 にも書く。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
字幕・過去の会議・見出しをすべて外すと認識器を起こさず状態を off にしていたため、 押したときだけ作る要約と ToDo のボタンまで消えていた。Apple Intelligence が使えれば onDemand として認識を続ける。設定の項目は増やさない。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更内容
録音中の人を支援する「録音中のアシスト」を、macOS のみのリサーチプレビューとして足します。設定で有効にしたときだけ動き、既定は無効です(ADR-050。ADR-009 を部分的に改めます)。
native/livetranscribe)で動かします。2 トラックを 1 プロセスで受け、stdin に枠付きの PCM、stdout に JSON 行でやり取りします。applelm(Apple Intelligence)を 1 回の応答ごとに起動します。どちらも OS のプロセスで動き、外部へは送りません(ADR-003 を維持)。planChatQueryを再利用します。note.mdへは書きません。liveAssistグループとして足しました(ADR-035 に従い、スキーマ番号は上げていません)。計測(Mac mini M4・16GB・macOS 27.0.1、合成音声を 2 トラックとも 60 分話し続ける最悪の状態)
livetranscribeが平均 2.8%、OS のlocalspeechrecognitionが 7.1%。livetranscribeは 7〜9MB で増えず、localspeechrecognitionは最大 67MB。計画から変えたこと・実装中に分かったこと
NSSpeechRecognitionUsageDescriptionは足していません。 パッチを当てた開発用 Electron の子として動かしても、許可を求められずに認識できました。AssetInventory.statusは導入済みでもsupportedを返すので、導入済みかはinstalledLocalesで判定しています。assetInstallationRequestは呼ぶだけで言語を予約する(1 アプリ 5 言語まで)ので、可否の問い合わせでは呼びません。livetranscribeの読み取りのスレッドで autorelease pool が空にならず、メモリが 60 分で 1.1GB まで増えました。直したうえで 60 分を測り直しています(上の数値は直した後のもの)。will-quitでアシストを止める処理を足しました(録音そのものの片付けは今回の範囲外で、変えていません)。OMR_LIVE_ASSIST_FAKE=1で、台本どおりに動く Fake の認識器・生成・検索を使えます。音声の許可も会議も無しで画面を確かめるためです。将来の候補
ADR-050 の「将来の候補」と同じです。
確認
npm run typecheck && npm run lint && npm testが通る(あわせてnpm run fmt:checkとnpm run buildも通る。lint は既知の警告のみ)docs/decisions.html)を確認した(003, 009, 024, 029, 030, 032, 033, 035, 043, 046)実機で確かめたこと(開発版、
--user-data-dirで隔離した架空データ)livetranscribeに合成音声を流し、TS 側から 2 トラックの確定文が返ること。OMR_LIVE_ASSIST_FAKE=1の画面で、ja とOMR_LOCALE=enの両方について次を確かめました。[00:00:24]つきでnote.mdに保存されること残っている手動確認
🤖 Generated with Claude Code