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.

858 B
Raw Blame
/**
 * The language people speak in meetings, picked in the note's footer or Settings → Language. English only (the default)
 * tells whisper and Apple's speech it is English, so nothing is guessed; Multi-language leaves whisper to hear which it is.
 * Not the interface's language, and not the one the notes are written in.
 */
export type Spoken = 'en' | 'multi'
export const SPOKEN: readonly Spoken[] = ['en', 'multi']
export const spokenOf = (v: unknown): Spoken => (v === 'multi' ? 'multi' : 'en')
/** what whisper is told for each chunk: English, or nothing (it detects, then keeps each track's language) */
export const whisperLanguage = (s: Spoken): string | undefined => (s === 'en' ? 'en' : undefined)
/** how many languages whisper can hear (whisper.cpp's g_lang list less Cantonese, which large-v3 added) */
export const WHISPER_LANGUAGES = 99