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
Calls: a recording too short for a look to see still closes its call, so the next call gets its offer; the speed check test times small slower than 1.25x to reach base
christianmatb00999a640b7
diff --git a/app/e2e/speedCheck.spec.ts b/app/e2e/speedCheck.spec.tsindex 2a045809..becde90f 100644--- a/app/e2e/speedCheck.spec.ts+++ b/app/e2e/speedCheck.spec.ts@@ -33,12 +33,13 @@ for (const platform of ['win32', 'linux']) {})test(`@everywhere on ${platform}: the best speech model that keeps up is kept, and recording is ready`, async () => {- const { app: launching, profile } = launch({ YOGURT_FAKE_PLATFORM: platform, YOGURT_FAKE_RTF: 'whisper-large-v3-turbo-q5_0=0.9,whisper-small-q5_1=0.7' })+ const { app: launching, profile } = launch({ YOGURT_FAKE_PLATFORM: platform, YOGURT_FAKE_RTF: 'whisper-large-v3-turbo-q5_0=0.9,whisper-small-q5_1=1.4' })const app = await launchingtry {const page = await app.firstWindow()await expect(page.getByTestId('home')).toBeVisible({ timeout: 15_000 })- expect(stored(profile)).toMatchObject({ model: 'whisper-base-q5_1', rtf: { 'whisper-large-v3-turbo-q5_0': 0.9, 'whisper-small-q5_1': 0.7, 'whisper-base-q5_1': 0.1 } })+ // small may lag up to 1.25 times the clip (#107); slower than that, base is kept+ expect(stored(profile)).toMatchObject({ model: 'whisper-base-q5_1', rtf: { 'whisper-large-v3-turbo-q5_0': 0.9, 'whisper-small-q5_1': 1.4, 'whisper-base-q5_1': 0.1 } })} finally { await app.close() }})}diff --git a/app/src/main/watch.ts b/app/src/main/watch.tsindex 9736019c..7ef9b2bc 100644--- a/app/src/main/watch.ts+++ b/app/src/main/watch.ts@@ -62,8 +62,9 @@ export class Watcher {keepGoing() { if (this.rec) this.rec.snoozeUntil = this.d.now() + SNOOZE; this.shown = null }/** Close: no more stop questions during this recording. */dismissStop() { if (this.rec) this.rec.snoozeUntil = Infinity; this.shown = null }- /** the card went away by an action, or a recording started or stopped (a resumed note is watched afresh) */- cleared() { this.shown = null; this.rec = null }+ /** the card went away by an action, or a recording started or stopped (a resumed note is watched afresh); a recording+ * closes its call, even one too short for a look to see, so the next call gets its own offer */+ cleared() { this.shown = null; this.rec = null; this.calls.clear() }/** someone is on a call now: recording, or a call app on the mic (card closed or never clicked) */onCall(): boolean { return !!this.d.active() || this.idleMic.size > 0 }diff --git a/app/test/watch.test.ts b/app/test/watch.test.tsindex 11af410a..ac95b196 100644--- a/app/test/watch.test.ts+++ b/app/test/watch.test.ts@@ -75,6 +75,15 @@ describe('start cards', () => {reading = { micApps: [zoom], events: [] }; clock += 3_000; await w.tick()expect(log.filter((l) => l.startsWith('offer'))).toEqual(['offer:app:us.zoom.xos', 'offer:app:us.zoom.xos'])})+ it('a recording started and stopped between two looks still closes its call', async () => {+ reading = { micApps: [zoom], events: [] }+ await w.tick()+ // Take notes, then Stop, both before the next look+ w.cleared(); w.cleared()+ reading = { micApps: [], events: [] }; clock += 3_000; await w.tick()+ reading = { micApps: [zoom], events: [] }; clock += 3_000; await w.tick()+ expect(log.filter((l) => l.startsWith('offer'))).toEqual(['offer:app:us.zoom.xos', 'offer:app:us.zoom.xos'])+ })it('a different calendar meeting starting on the same app is a new call', async () => {const first = ev({ id: 'e1', start: clock, end: clock + 30 * MIN })reading = { micApps: [zoom], events: [first] }