2026-03-02T07-56-50_auto_memory/memories.db-wal

This commit is contained in:
Nicholai Vogel 2026-03-02 00:56:50 -07:00
parent 3e2ffe5c18
commit eb2f69b24e
2 changed files with 3 additions and 5 deletions

Binary file not shown.

View File

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