Commit Graph
2 Commits
Author SHA1 Message Date
gurix f221963551 feat(02-03): implement MP3 encoder package with RunSynthesis orchestrator
- EncodeMP3: writes stereo PCM frames to MP3 via go-lame (44100 Hz, 128 kbps, stereo)
- RunSynthesis: renders WindowSnapshots through OscillatorBank then encodes to MP3
- Zero-packet guard before file creation returns descriptive error (OUT-03)
- InitParams called after all Set* calls per go-lame requirements
2026-03-26 12:06:41 +01:00
gurix ed3a5621f4 test(02-03): add failing tests for MP3 encoder and RunSynthesis
- TestMP3Valid: synthetic snapshots through full pipeline, ffprobe validation
- TestZeroPacketError: empty slice and zero-count snapshots return error, no file created
- TestEncodeMP3DirectBytes: direct frame encoding validated by ffprobe
2026-03-26 12:06:04 +01:00