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.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Speech (Windows, Linux): small is kept up to 1.25 times the clip's length, so more slow computers get it over base (#107)
christianmat4f914e62b42c
diff --git a/packages/picker/src/asr.ts b/packages/picker/src/asr.tsindex ea92e366..d1d5dbe8 100644--- a/packages/picker/src/asr.ts+++ b/packages/picker/src/asr.ts@@ -23,11 +23,11 @@ export function pickAsr(hw: Hardware, c: Catalog, opts: { exclude?: string[] } =*/export const KEEPS_UP_RTF = 0.5/**- * small may take up to the clip's length rather than fall back to base or tiny, which are very weak outside English- * (#107). It lags a little behind live; whisper skips silence, so with each side talking about half the time it still- * about keeps up over a meeting.+ * small may take up to 1.25 times the clip's length rather than fall back to base or tiny, which are very weak outside+ * English (#107). It lags behind live; whisper skips silence, so with each side talking about half the time a meeting's+ * transcript ends at most about a quarter of its length after the meeting does.*/-export const LAGS_A_LITTLE_RTF = 1+export const LAGS_A_LITTLE_RTF = 1.25/** part of the speed check's key: a change to how it picks measures every computer again, once */export const SPEED_CHECK_VERSION = 'v2'diff --git a/packages/picker/test/asr.test.ts b/packages/picker/test/asr.test.tsindex 64ec655f..62bbfec3 100644--- a/packages/picker/test/asr.test.ts+++ b/packages/picker/test/asr.test.ts@@ -78,11 +78,12 @@ describe('pickBySpeed', () => {})// #107: base and tiny are very weak outside English. small may lag a little behind live rather than fall back to them:// whisper skips silence (VAD), so with both sides talking about half the time it still about keeps up over a meeting.- it('a model allowed to lag a little is kept up to twice the strict limit, before anything smaller', async () => {+ it('a model allowed to lag a little is kept up to 1.25 times the clip\'s length, before anything smaller', async () => {const t = timed({ turbo: 4.4, small: 0.88, base: 0.3 })const lags = (m: { id: string }) => m.id === 'small'expect(await pickBySpeed(list, t.measure, { lagsOk: lags })).toEqual({ model: list[1], rtf: { turbo: 4.4, small: 0.88 } })- expect(LAGS_A_LITTLE_RTF).toBe(1)+ expect(LAGS_A_LITTLE_RTF).toBe(1.25)+ expect((await pickBySpeed(list, timed({ turbo: 4.4, small: 1.2, base: 0.3 }).measure, { lagsOk: lags })).model).toBe(list[1])// too slow even so: down the list as beforeexpect((await pickBySpeed(list, timed({ turbo: 4.4, small: 1.4, base: 0.3 }).measure, { lagsOk: lags })).model).toBe(list[2])})