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
diff --git a/src/whisper.cpp b/src/whisper.cpp
index 1675f33..75b2e8e 100644
--- a/src/whisper.cpp
+++ b/src/whisper.cpp
@@ -6824,6 +6824,8 @@ static bool whisper_vad(
if (state->vad_context == nullptr) {
struct whisper_vad_context_params vad_ctx_params = whisper_vad_default_context_params();
+ // the transcription's threads, not a fixed 4: on a 2-core computer 4 spinning threads made VAD crawl
+ vad_ctx_params.n_threads = params.n_threads;
struct whisper_vad_context * vctx = whisper_vad_init_from_file_with_params(params.vad_model_path, vad_ctx_params);
if (vctx == nullptr) {
WHISPER_LOG_ERROR("%s: failed to initialize VAD context\n", __func__);