diff --git a/memory/memories.db-wal b/memory/memories.db-wal index e6cc79840..875b6bf57 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 c1b1c30e9..1195153f8 100644 --- a/tools/meeting-notes/src/index.ts +++ b/tools/meeting-notes/src/index.ts @@ -307,13 +307,17 @@ 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', 'opus', + '-f', 'ogg', '-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);