Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Transcripts: Multi-language follows someone switching languages mid-meeting; FAQ and README say which languages work, and calendar and speaker names on Windows and Linux

christianmatf6451b6d6ff1
diff --git a/README.md b/README.md
index b6f58b5d..277341ea 100644
--- a/README.md
+++ b/README.md
@@ -32,8 +32,8 @@
- **Meeting summaries.** Yogurt writes up the conversation and any notes you add.
- **Private by default.** Your audio, transcripts and AI processing stay on your computer.
- **Free and open source.** You can use Yogurt without an account.
-- **Who said what.** Yogurt names speakers from Zoom, Teams and Meet on Mac only.
-- **Languages.** Multi-language mode transcribes 99 languages.
+- **Who said what.** Yogurt names speakers from Zoom, Teams and Meet on Mac, Windows and Linux.
+- **Languages.** Multi-language mode transcribes 99 languages, follows each side of the call in its own language, and keeps up when someone switches languages mid-meeting.
- **Recording reminders.** Yogurt offers to record when a supported call starts.
- **Answers with sources.** Yogurt answers questions across meetings and links to the source.
- **Folders and search.** You can find meetings by folder, title, notes or transcript.
@@ -67,7 +67,7 @@ Meeting data stays local; Yogurt goes online for model downloads and update chec
<br>
-> A Mac with Apple silicon and macOS 14.4 or newer, a 64-bit PC with Windows 10 (version 2004) or newer, or a 64-bit Linux computer with Ubuntu 22.04 or newer. Each needs at least 8 GB of memory. If your computer is too slow, Yogurt tells you during setup. Calendar and speaker names from calls are Mac only for now.
+> A Mac with Apple silicon and macOS 14.4 or newer, a 64-bit PC with Windows 10 (version 2004) or newer, or a 64-bit Linux computer with Ubuntu 22.04 or newer. Each needs at least 8 GB of memory. If your computer is too slow, Yogurt tells you during setup. On Windows and Linux, you connect your calendar with a private calendar link.
</details>
@@ -147,7 +147,9 @@ Meeting data stays local; Yogurt goes online for model downloads and update chec
<br>
-> Pick **Multi-language** in **Settings → Language → Spoken language** to transcribe 99 languages. You can also switch from the **English** menu in a note’s footer before or during recording. English only is the default. Summaries follow the meeting’s main language; answers follow your question’s language. Settings also offers 32 app languages.
+> Pick **Multi-language** in **Settings → Language → Spoken language** to transcribe 99 languages. You can also switch from the **English** menu in a note’s footer before or during recording. English only is the default, and it’s the fastest and most accurate choice for English meetings.
+>
+> In Multi-language mode, you and the other side of the call can each speak your own language, and Yogurt follows along when someone switches languages mid-meeting. Summaries follow the meeting’s main language, or the one you pick in **Settings → Summary language**. Answers in Ask follow your question’s language. Settings also offers 32 app languages.
</details>
diff --git a/app/src/main/asr/transcribe.ts b/app/src/main/asr/transcribe.ts
index 7be1026f..e54f2974 100644
--- a/app/src/main/asr/transcribe.ts
+++ b/app/src/main/asr/transcribe.ts
@@ -63,15 +63,22 @@ export const requestTimeoutMs = (samples: number): number => Math.max(30_000, Ma
const MIN_LOCK_PROB = 0.8
const MIN_CLEAR_MS = 300
const MIN_LOCK_TOKENS = 2
+/** how sure whisper must be that a locked track is now in another language, and how many lines in a row, to follow it */
+const SWITCH_PROB = 0.9
+const SWITCH_LINES = 2
/**
* Sends chunks to whisper-server's /inference. Auto-detecting the language on every short chunk flips on short sentences,
* so once a track has been heard clearly in one language, later chunks on it are told that language.
* An empty or garbled answer on a locked track asks again with the language open; the lock goes only if that hears something.
+ * People switch languages too: whisper still guesses each chunk's language from the audio, so a line clearly in another
+ * one is read again in it, and two such lines in a row move the lock (one, like a name or a quote, doesn't).
*/
export function createTranscriber(o: Opts): Transcribe {
const fetchFn = o.fetchFn ?? fetch
const locked: Partial<Record<Track, string>> = {}
+ /** lines in a row a locked track was clearly heard in another language */
+ const strays: Partial<Record<Track, number>> = {}
const call = async (c: Chunk, language: string, partial = false, guess = !partial): Promise<{ lines: Line[]; text: string; language: string; prob: number }> => {
let used: string | undefined
@@ -136,6 +143,16 @@ export function createTranscriber(o: Opts): Transcribe {
// nothing in any language (VAD found no speech, or only made-up lines): the lock stays
if (open.text.trim()) { delete locked[c.track]; r = open }
}
+ // told the locked language, yet clearly in another: read again in that one, and after a few such lines follow it
+ if (had && locked[c.track] === had && r.language !== 'auto' && r.language !== had && r.prob >= SWITCH_PROB && tokens(r.text).length >= MIN_LOCK_TOKENS) {
+ const heard = r.language
+ const again = await call(c, heard)
+ if (again.text.trim() && !isGarbled(again.text)) {
+ r = { ...again, language: heard, prob: Math.max(again.prob, r.prob) }
+ strays[c.track] = (strays[c.track] ?? 0) + 1
+ if (strays[c.track]! >= SWITCH_LINES) { locked[c.track] = heard; strays[c.track] = 0 }
+ }
+ } else if (r.language === had) strays[c.track] = 0
if (r.language !== 'auto' && r.text.trim() && !isGarbled(r.text)) o.onLanguage?.(c.track, r.language, r.text.length, !!had)
if (!locked[c.track] && r.language !== 'auto' && r.prob >= MIN_LOCK_PROB && !isGarbled(r.text) && tokens(r.text).length >= MIN_LOCK_TOKENS) locked[c.track] = r.language
return r.lines
diff --git a/app/test/transcribe.test.ts b/app/test/transcribe.test.ts
index efaf87b6..cdb0eaf7 100644
--- a/app/test/transcribe.test.ts
+++ b/app/test/transcribe.test.ts
@@ -116,6 +116,34 @@ describe('transcribe', () => {
expect(s.seen.map((x) => x.fields.language)).toEqual(['auto', 'auto', 'spanish', 'english'])
})
+ it('follows a switch: two lines in a row clearly in another language move the lock, each read in the language it was said in', async () => {
+ // locked on English; then two Spanish lines (whisper, told English, still guesses Spanish from the audio)
+ const s = await stub([say('Hello everyone thanks for coming'), say('Hola a todos gracias', 'spanish'), say('Hola a todos gracias', 'spanish'),
+ say('Seguimos con el plan de hoy', 'spanish'), say('Seguimos con el plan de hoy', 'spanish'), say('Y luego la demo', 'spanish')])
+ const t = createTranscriber({ url: async () => s.url })
+ await t(chunk('them', 0))
+ expect((await t(chunk('them', 2000))).map((l) => l.text)).toEqual(['Hola a todos gracias'])
+ await t(chunk('them', 4000))
+ await t(chunk('them', 6000))
+ // the first Spanish line is read again in Spanish (not as English), and after the second the track is Spanish
+ expect(s.seen.map((x) => x.fields.language)).toEqual(['auto', 'english', 'spanish', 'english', 'spanish', 'spanish'])
+ })
+
+ it('English only (the default) never looks for a switch: one request per line, nothing read again', async () => {
+ const s = await stub([say('Hello everyone'), say('Hola a todos gracias', 'spanish'), say('Hola a todos gracias', 'spanish')])
+ const t = createTranscriber({ url: async () => s.url, language: () => 'en' })
+ await t(chunk('them', 0)); await t(chunk('them', 2000)); await t(chunk('them', 4000))
+ expect(s.seen).toHaveLength(3)
+ expect(s.seen.map((x) => x.fields.language)).toEqual(['en', 'en', 'en'])
+ })
+
+ it('one line in another language (a name, a quote) keeps the lock', async () => {
+ const s = await stub([say('Hello everyone thanks for coming'), say('Bonjour mes amis', 'french'), say('Bonjour mes amis', 'french'), say('Back to the plan for today')])
+ const t = createTranscriber({ url: async () => s.url })
+ await t(chunk('them', 0)); await t(chunk('them', 2000)); await t(chunk('them', 4000))
+ expect(s.seen.map((x) => x.fields.language)).toEqual(['auto', 'english', 'french', 'english'])
+ })
+
it('does not lock on a doubtful first guess', async () => {
const s = await stub([say('Uh huh', 'welsh', 0.4), say('Right then, see you soon', 'english', 0.95), say('Fine by me')])
const tr = createTranscriber({ url: async () => s.url })
diff --git a/site/content/home.html b/site/content/home.html
index e64e2b28..93b216ee 100644
--- a/site/content/home.html
+++ b/site/content/home.html
@@ -46,10 +46,11 @@
<div class="folder-front"><img alt="" src="/marketing/assets/mark.svg"/><strong>Your meetings</strong><span>Audio · Transcripts · Notes</span></div></div>
</div><div class="local-copy"><h2 id="local-title">Everything stays<br/>on your computer.</h2><p>The AI runs on your computer, so your recordings, transcripts, and notes are never uploaded.</p></div></section>
<section aria-labelledby="faq-heading" class="faq-story continuation" id="questions" tabindex="-1"><div><h2 id="faq-heading">FAQ</h2></div><div class="faq-list">
-<details name="yogurt-faq"><summary>What kind of computer do I need?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>A Mac with Apple silicon and macOS 14.4 or newer, a 64-bit PC with Windows 10 (version 2004) or newer, or a 64-bit Linux computer with Ubuntu 22.04 or newer. Each needs at least 8 GB of memory. If your computer is too slow, Yogurt tells you during setup. Calendar and speaker names from calls are Mac only for now.</p></details><details name="yogurt-faq"><summary>Windows says “Windows protected your PC.” What do I do?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>Click More info, then Run anyway. Windows shows this for new apps that aren’t signed with a Microsoft certificate yet. Yogurt is open source, so anyone can check what it does.</p></details>
+<details name="yogurt-faq"><summary>What kind of computer do I need?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>A Mac with Apple silicon and macOS 14.4 or newer, a 64-bit PC with Windows 10 (version 2004) or newer, or a 64-bit Linux computer with Ubuntu 22.04 or newer. Each needs at least 8 GB of memory. If your computer is too slow, Yogurt tells you during setup. On Windows and Linux, you connect your calendar with a private calendar link.</p></details><details name="yogurt-faq"><summary>Windows says “Windows protected your PC.” What do I do?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>Click More info, then Run anyway. Windows shows this for new apps that aren’t signed with a Microsoft certificate yet. Yogurt is open source, so anyone can check what it does.</p></details>
<details name="yogurt-faq"><summary>Does Yogurt join my meetings?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>No. Yogurt records your microphone and the sound playing on your computer. No bot joins the call, so let the other people on the call know you’re recording.</p></details>
<details name="yogurt-faq"><summary>Are recordings saved?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>Yes. Your recordings, transcripts, and notes are saved locally on your computer.</p></details>
<details name="yogurt-faq"><summary>Is Yogurt free?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>Yes. Yogurt is free and open source under the MIT license.</p></details>
+<details name="yogurt-faq"><summary>Which languages does Yogurt understand?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>Yogurt transcribes 99 languages. English is the default and the fastest. For meetings in other languages, pick Multi-language in Settings, or from the language menu in a note, even during a call. In Multi-language mode, everyone can speak their own language, and Yogurt keeps up when someone switches languages mid-meeting. Summaries are written in the meeting’s main language, or one you choose.</p></details>
<details name="yogurt-faq"><summary>Does Yogurt work offline?<span aria-hidden="true" class="faq-plus"><svg fill="none" stroke="currentColor" stroke-width="1.5" viewbox="0 0 20 20"><path d="M10 4v12M4 10h12"></path></svg></span></summary><p>Yes. After a one-time download of the AI models, transcription and summaries run locally on your computer.</p></details>
</div></section>
</main><footer class="brand-footer site-footer" id="footer"><svg class="footer-field" preserveAspectRatio="none" aria-hidden="true" color-interpolation="sRGB"><defs>