diff --git a/memory/memories.db-wal b/memory/memories.db-wal index 7df02fff9..6e189026e 100644 Binary files a/memory/memories.db-wal and b/memory/memories.db-wal differ diff --git a/tools/meeting-notes/src/index.ts b/tools/meeting-notes/src/index.ts index b317a1664..d90744ad9 100644 --- a/tools/meeting-notes/src/index.ts +++ b/tools/meeting-notes/src/index.ts @@ -311,17 +311,15 @@ class MeetingNotesBot { const fs = await import('fs'); fs.writeFileSync(rawFile, combined); - // Discord voice receiver outputs raw opus packets, wrap in ogg for ffmpeg const ffmpeg = spawn('ffmpeg', [ - '-f', 'ogg', + '-f', 's16le', + '-ar', String(SAMPLE_RATE), + '-ac', String(CHANNELS), '-i', rawFile, '-ar', '16000', '-ac', '1', '-y', wavFile, ]); - - let ffmpegErr = ''; - ffmpeg.stderr.on('data', (d: Buffer) => { ffmpegErr += d.toString(); }); ffmpeg.on('close', async (code) => { unlinkSync(rawFile);