2026-03-02T07-55-39_auto_memory/memories.db-wal

This commit is contained in:
Nicholai Vogel 2026-03-02 00:55:39 -07:00
parent 45db3d5172
commit 3556d2e416
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -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);